/* Google fonts import */

@import url("https://fonts.googleapis.com/css2?family= Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900 &family=Oswald:wght@200..700&display=swap");

/* Asterisk wildcard selector to override default styles added automatically by the browser */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* General styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Generic project styles */
  color: black;
  font-family: "lato", sans-serif;
  overflow: auto;
}

/* For scroll bars - General */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: plum lightgray;
  min-height: 100%; /* Allow page to grow */
  overflow-y: auto; /* Enable vertical scroll */
}

/* Header */
header {
  background-color: plum;
  padding: 0 1rem;
  position: fixed;
  z-index: 99;
  width: 100%;
  box-shadow: 0 2px 2px #3a3a3a;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: fixed;
}

header a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: black;
  text-align: center;
  position: relative;
  font-size: 100%;
}

h2 {
  font-size: 110%;
  letter-spacing: 1px;
  color: black;
  background-color: white;
  padding: 10px 1rem;
  text-align: center;
}
h2:hover {
  color: blue;
  cursor: pointer;
  text-align: center;
}
h3 {
  font-size: 160%;
  letter-spacing: 2px;
  color: red;
  padding: 0 1rem;
  text-align: center;
  padding-top: 0%;
  justify-content: center;
}
h3:hover {
  color: blue;
  cursor: pointer;
  text-align: center;
}

p {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: blue;
  text-align: center;
  text-align: left;
}

#menu li {
  margin-bottom: 1em;
}

.active {
  border-bottom: 1px solid #3a3a3a;
  background-color: plum;
}

/* Navbar style with dropdown toggle */
nav {
  position: absolute;
  background-color: plum;
  width: 100%;
  left: 0;
  padding: 0 1rem;
  box-shadow: 0 2px 2px #3a3a3a;
  display: none;
  top: 100%;
}

/* Nav toggle*/
#nav-toggle:checked ~ nav {
  display: block;
}

/* Hide the checkbox */
#nav-toggle {
  display: none;
}

/* Nav toggle label */
.nav-toggle-label {
  font-size: 2rem;
}

/* Main Content */
main {
  /* Make main elemant take up any surplus space to push footer down*/
  flex: 1 0 auto;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.no-bullets {
  list-style-type: none;
}

/* Hero section */
#hero {
  width: 110%;
  height: 750px;
  background: url("./images/burger1.webp") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-left: -10%;
  margin-top: -20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-height: 10000px; /* Limit height */
  overflow-y: auto; /* Scroll inside */
}

html {
  font-family: "Lato", sans-serif;
  font-size: 18px;
}

.Container {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cover-text {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 90%;
}

/*--- form ---*/
form {
  background: linear-gradient(#f8f8f8, #e8e8e8);

  transform: translate(-50%, -50%);
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 480px;
  max-width: 90%;
  border-radius: 5px;
  text-align: left;
  padding: 25px 25px 10px 25px;
  box-shadow: 0px 5px 20px 10px rgba(0, 0, 0, 0.1);

  max-height: 10000px; /* Limit height */
  overflow-y: auto; /* Scroll inside */
}

form header {
  font-size: 30px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #3a3a3a;
}

.form form i {
  margin: 40px 0;
}

form fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

form i:hover {
  color: white;
  cursor: pointer;
}

form div {
  font-size: 165%;
  text-align: center;
  margin-bottom: 1rem;
  color: #3a3a3a;
}

form h2 {
  font-size: 80%;
  text-align: center;
  margin-bottom: 1rem;
  color: black;
}

form p {
  text-align: center;
  margin-bottom: 1rem;
  color: #3a3a3a;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #3a3a3a;
}

form .text-input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form .text-input:focus {
  outline: none;
  border-color: #3a3a3a;
}

form .join-button {
  width: 100%;
  padding: 0.75rem;
  background-color: plum;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

form .join-button:hover {
  background-color: #3a3a3a;
}

form .info {
  font-size: 80%;
  text-align: center;
  margin-top: -5rem;
  color: black;
}

form .info a {
  color: blueviolet;
  font-size: 80%;
  text-decoration: none;
}

form .info a:hover {
  text-decoration: underline;
}

form i {
  margin-left: -10px;
  color: #3a3a3a;

  top: -30px;
  left: 10px;
}

/* gallery section */
#photos {
  width: 100%;
}

/* Gallery page */
#photos img {
  width: 100%;
  line-height: 1em;
}

#photos {
  line-height: 0.01em;
}

/* Footer */
#social-networks {
  text-align: center;
  padding: 10px 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
}

#social-networks i {
  font-size: 160%;
  padding: 5%;
  color: #3a3a3a;
}

#social-networks i:hover {
  color: white;
  cursor: pointer;
}

footer {
  background-color: plum;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 100%;
  /* Push footer to bottom of page */
  flex-shrink: 2;
}

/* Media query: larger or landscape phones (576px and up) */
@media screen and (min-width: 768px) {
  #photos {
    column-count: 2;
    column-gap: 0;
  }

  /* Media query: Tablet and larger (768px and up) */
  @media screen and (min-width: 768px) {
    /* Header */
    nav {
      display: block;
      position: relative;
      box-shadow: none;
      width: fit-content;
      padding-right: 1rem;
    }

    #menu {
      display: flex;
    }

    #menu li {
      padding-left: 1rem;
    }

    .nav-toggle-label {
      display: none;
    }

    #logo {
      font-size: 280%;
      line-height: 75px;
      margin: 0 0.5rem;
    }

    /* Main content */
    main {
      /* Adjust by pushing main content down to accommodate larger header */
      margin-top: 97px;
    }

    /*-- Hero --  */
    #hero {
      height: 800px;
      width: 110%;
    }

    #info {
      width: 500px;
      margin-left: 50px;
    }
    #cover-text {
      width: 300px;
      right: 50px;
    }

    /* Hero Page */
    #hero {
      column-count: 2;
      column-gap: 0;
    }

    /* Media query: Large devices (Laptops and desktops (992px and up) */
    @media screen and (min-width: 992px) {
      #menu a:hover {
        border-bottom: 1px solid #3a3a3a;
      }
    }

    /* Hero Page: Media query: Extra large devices (1200px and up) */
    @media screen and (min-width: 1200px) {
      #Hero {
        column-count: 2;
        column-gap: 0;
      }
    }

    /* Gallery */
    #photos {
      column-count: 3;
      column-gap: 0;
    }

    /* Media query: Large devices (Laptops and desktops (992px and up) */
    @media screen and (min-width: 992px) {
      #menu a:hover {
        border-bottom: 1px solid #3a3a3a;
      }
    }

    /* Gallery: Media query: Extra large devices (1200px and up) */
    @media screen and (min-width: 1200px) {
      #photos {
        column-count: 4;
        column-gap: 0;
      }
    }

    @media (min-width: 768px) {
      .back-video {
        width: 160%;
        height: auto;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
        left: 0;
        right: auto;
      }

      @media (max-width: 1200px) {
        .back-video {
          width: auto;
          height: 160%;
          box-shadow: none;
          width: fit-content;
          padding-right: 1rem;
          left: auto;
          right: 0;
        }
      }
    }
  }
}
/*--- form ---*/

form {
  background: linear-gradient(#f8f8f8, #e8e8e8);
  position: absolute;
  top: 50%;
  left: 50%;
  /*transform: translate(-50%, -50%); */
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 480px;
  max-width: 90%;
  border-radius: 5px;
  text-align: left;
  padding: 25px 25px 10px 25px;
  box-shadow: 0px 5px 20px 10px rgba(0, 0, 0, 0.1);
}
