@import url('https://fonts.googleapis.com/css?family=Aclonicasplay=swap');
@import './colors.css';
@import './social.css';

body, h1, h2, h3, h4, h5, h6, p {
  margin: 0px;
  padding: 0xp;
  font-family: 'Aclonica';font-size: 27px;
}

/* Default styling for desktop */
body {
  background-image: url(./Background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: calc(100vh - 5rem);
  position: relative;
  padding-bottom: 5rem !important;
  display: inline-block;
  width: 100%;
}

/* Styling for mobile devices */
@media (max-width: 768px) {
  body {
    background-image: url(./Background.jpg); /* Optional: Different image for mobile */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* Change attachment to scroll for mobile */
    min-height: calc(100vh - 4rem); /* Adjust height for mobile */
    padding-bottom: 4rem !important; /* Adjust padding for mobile */
  }
}

nav {
  background-color: var(--light);

}

nav .title {
  padding: 0.75rem;
  padding-left: 0px;
  color: var(--orange);
  text-decoration: none;
  display: inline-block;
}

nav .logo {
  height: 1.75rem;
  margin-left: 0.75rem;
}

nav form {
  display: inline;
  float: right;
  padding-top: 0.75rem;
  padding-right: 0.75rem;
}

nav .search {
  font-family: 'Press Start 2P', cursive;
  padding: 0.25rem 0.75rem;
}

nav .search:focus {
  outline: none !important;
  border: 1px solid var(--orange);
}
input.search.but {
    cursor: pointer;
}

.heading {
  text-align: center;
  margin: 1.75rem;
}

footer {
  position: absolute;
  bottom: 0px;
  background-color: var(--light);
  width: calc(100% - 1.5rem);
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 830px) {
  footer h1 {
    display: none;
  }
  footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  body {
    min-height: calc(100vh - 10rem) !important;
    padding-bottom: 10rem !important;
  }
}

@media screen and (max-width: 750px) {
  nav {
    display: inline-block;
    width: 100%;
  }

  nav form {
    float: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.75rem;
  }
}
