@font-face{
  font-family: tan-pearl;
  font-weight: bolder;
  src: url("Assets/fonts/TAN-PEARL.woff2") format("woff2"),
       url("Assets/fonts/TAN-PEARL.woff") format("woff");
}

html{
  scroll-behavior: smooth;
}

/*This is for the navbar*/

.navbar{
  display:flex;
  min-height: 150px;
  align-items: center;
}

.items{
  display: flex;
  flex: 4;
  justify-content: center;
  margin-right: 100px;
  color: white;
  font-weight: bold;
  font-family: 'tan-pearl';
  font-size: 16px;
  gap: 20px;
}

.divlogo:first-child{
  flex: 1;
}
#logo{
  height: 120px;
}

body{
  background-color: black;
}

.items > div{
  min-width: 100px;
  transition: transform 1000ms;
}

.items>div:hover{
  transform: translateY(-0.2rem);
  transition: transform 250ms;
}


/*This is for the animation*/
a:link, a:visited{
  text-decoration: none;
  color: white;
}

.navbarlink:hover{
  color: darkgoldenrod;
  transition: 0.2s;
}

.hidden{
  opacity: 0;
  transition: all 1s;
  filter: blur(10px);
  transform: translateY(20%);
}
.show{
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.stagger:nth-child(2){
  transition-delay: 100ms;
}
.stagger:nth-child(3){
  transition-delay: 200ms;
}
.stagger:nth-child(4){
  transition-delay: 300ms;
}
.stagger:nth-child(5){
  transition-delay: 400ms;
}
.stagger:nth-child(6){
  transition-delay: 500ms;
}
.stagger:nth-child(7){
  transition-delay: 600ms;
}

/*This is for the second partition*/

.header{
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-bottom: 100px;
}
.splashscreen{
  display: flex;
  height: 80vh;
}
.second{
  flex:2;
  background-image: url("Assets/images/splash.jpg");
  background-size: cover;
  border-radius: 20px;
  margin-left: -150px;
  margin-right: 30px;
  box-shadow: 0 0 10px darkgoldenrod;
}
.first{
  display: flex;
  flex:1;
  background-color: black;
  justify-content: center;
  flex-direction: column;
  margin-left: 20px;
}

.first > p{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color:antiquewhite;
  font-size: 18px;
  margin: 0;
  text-align: justify;
  padding: 10px;
}
.first > h1{
  color:antiquewhite;
  text-align: center;
  margin: 0;
  font-size: 2.5rem;
  font-family: 'tan-pearl';
}

span{
  color:darkgoldenrod;
}

/*This is for the about section*/

.About{
  display: flex;
  --view-height: 100vh;
  height: var(--view-height);
  justify-content: center;
}

.ice-logo{
  display: flex;
  align-items: center;
}

.about-second{
  display: flex;
  justify-content: center;
  margin-left: -60px;
}

.about-first{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
}

.about-paragraph{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 500px;
  font-family: 'Montserrat', sans-serif;
  margin-right: -80px;
  z-index: 9;
  font-size:18px;
  color:antiquewhite;
  text-align: center;
  margin-top: -55px;
}

.button-book{
  width: fit-content;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: antiquewhite;
  background-color: darkgoldenrod;
  border-radius: 8px;
  border: none;
  padding: 10px;
  transition: transform 1000ms;
  cursor: pointer;
}
button:hover, button:focus-visible{
  transform: translateY(-0.5rem);
  transition: transform 250ms;
}

.heading-about{
  display: flex;
  z-index: 9;
  text-align: center;
  justify-content: center;
  margin-left: 80px;
  font-size: 2em;
  font-family: 'tan-pearl';
  color: antiquewhite;
}

#ice-cream-logo{
  border-radius: 20px;
  opacity: 1;
  height: 80vh;
  box-shadow: 0 0 10px darkgoldenrod;
}


/*This is for the menu section*/

.menu-heading{
  font-family: 'tan-pearl';
  display: flex;
  justify-content: center;
  font-size: 2em;
  color: antiquewhite;
}

.menu-grid{
  display: grid;
  padding: 30px;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 50px;
  font-family:'Montserrat', sans-serif;
  color: antiquewhite;
}

.card_content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  justify-content: center;
  margin: 0;
}

.card{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card_content > p{
  color: antiquewhite;
  text-align: center;
  line-height: 1.5;
  font-size: 0.9em;
}

.card_content > h3{
  margin: 0;
  text-align: center;
  font-family: 'tan-pearl';
  color: antiquewhite;
}

.card_image{
  height:300px;
  width:220px;
  border-radius: 20px;
  border: 2px solid darkgoldenrod;

}

/*This is for the gallery section*/

.gallery{
  display: flex;
  justify-content: center;
  gap:30px;
}
.gallery-heading{
  font-family: tan-pearl;
  color: antiquewhite;
  font-size: 2em;
  display: flex;
  justify-content: center;
}
.gallery-1{
  display: flex;
}
.gallery-2{
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.galleryimg{
  box-shadow: 0 0 10px darkgoldenrod ;
}

.img1{
  height: 630px;
  border-radius: 20px;
}
.img2{
  height: 300px;
  border-radius: 20px;
}

/*This is for the book section*/

.contact-info{
  display: flex;
  flex-direction: column;
  color: antiquewhite;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 300px;
}

.contact-card-header{
  font-family: tan-pearl;
  color: antiquewhite;
  display: flex;
  justify-content: center;
  font-size: 2em;
}
.contact-info > p{
  font-family: 'Montserrat', sans-serif;
  color: darkgoldenrod;
  font-weight: 700;
}

.contact-info > h3{
  font-family: 'Montserrat', sans-serif;
  color: antiquewhite;
  font-weight: 900;
  padding: 10px;
  background-color: darkgoldenrod;
  border-radius: 50px;
}

.book-now{
  display: flex;
  margin-bottom: 100px;
  margin-top: 200px;
  justify-content: center;
  flex-direction: column;
}
.contact-cards{
  display: flex;
  justify-content: center;
}
.contact-form{
  display: flex;
  padding: 25px;
  box-shadow: 0 0 10px darkgoldenrod;
  border-radius: 20px;
}
.contact-input-container{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}
.contact-input{
  width: 400px;
  height: 50px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 0 10px darkgoldenrod;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  background-color:antiquewhite;
}
.contact-input:focus{
  border: 3px solid darkgoldenrod;
}
.contact-input::placeholder{
  color:darkgoldenrod;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.contact-form textarea{
  height: 140px;
  padding-top: 15px;
  border-radius: 20px;
}
.btn-submit{
  width: fit-content;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: antiquewhite;
  background-color: darkgoldenrod;
  border-radius: 8px;
  border: none;
  padding: 10px;
  align-self: center;
  transition: transform 1000ms;
  cursor: pointer;
}

/*This is for the footer section*/
.footer{
  background-color: darkgoldenrod;
  width: 100%;
  border-radius: 20px;
}
.footerlink:hover{
  color: black;
  transition: 0.2s;
}
.navfooter{
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.footer-items{
  display: flex;
  justify-content: center;
  color: antiquewhite;
  font-weight: bold;
  font-family: 'tan-pearl';
  font-size: 13px;
  gap: 40px;
}
.medialinks{
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-icon{
  color: antiquewhite;
}
.social-icon:hover{
  color: darkgoldenrod;
  transition: 0.2s;
}
.social-icon-footer{
  color: antiquewhite;
}
.social-icon-footer:hover{
  color: black;
  transition: 0.2s;
}
.footer-bottom{
  color: antiquewhite;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  font-size: 12px;
}

@media (max-width: 450px){
  .navbar{
    display:flex;
  }
  .items{
    display: none;
  }
  .divlogo{
    display: flex;
    justify-content: center;
  }
  .header{
    margin: 0;
    padding: 0;
    width: auto;
    height: fit-content;
  }
  .splashscreen{
    display: flex;
    flex-direction: column;
    margin:0;
    width: 100%;
    align-items: center;
  }
  .first{
    width:100%;
    margin:15px;
  }
  .first > h1{
    font-size: 3rem;
    margin:0;
  }
  .first > p{
    font-size: 1rem;
  }
  .second{
    width:100%;
    margin: 0;
    box-shadow: none;
    border-radius: 20px;
  }
  .About{
    width: auto;
    height: auto;
    margin-top: 20px;
    display: block;
  }
  
  .ice-logo{
    display: flex;
    align-items: center;
    margin:0;
  }
  
  .about-second{
    display: flex;
    margin: 0;
    margin-top: -70%;
    justify-content: center;
  }
  
  .about-first{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }
  
  .about-paragraph{
    margin:0;
    font-family: 'Montserrat', sans-serif;
    font-size:1em;
    width: 100%;
    color:antiquewhite;
    text-align: justify;
  }
  .about-paragraph>p{
    margin:15px;
  }
  
  .button-book{
    width: fit-content;
    font-size: 1em;
    margin:10px;
    font-family: 'Montserrat', sans-serif;
    color: antiquewhite;
    background-color: darkgoldenrod;
    border-radius: 8px;
    border: none;
    padding: 10px;
    transition: transform 1000ms;
    cursor: pointer;
  }
  button:hover, button:focus-visible{
    transform: translateY(-0.5rem);
    transition: transform 250ms;
  }
  
  .heading-about{
    display: flex;
    margin: 0;
    flex-direction: column;
    padding: 20px;
    background-color: darkgoldenrod;
    border-radius: 20px;
    z-index: 9;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-family: 'tan-pearl';
    color: antiquewhite;
  }
  .heading-about>h1{
    margin:0;
  }
  
  #ice-cream-logo{
    border-radius:20px;
    opacity: 1;
    width:100%;
    height: 100%;
    box-shadow: none;
  }

  .menu-heading{
    font-family: 'tan-pearl';
    display: flex;
    background-color: darkgoldenrod;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    justify-content: center;
    font-size: 2em;
    color: antiquewhite;
  }
  .menu-heading >h1{
    margin: 0;
  }

  .gallery{
    display: block;
    gap:30px;
  }
  .gallery-heading{
    font-family: tan-pearl;
    background-color: darkgoldenrod;
    border-radius: 20px;
    padding: 20px;
    color: antiquewhite;
    font-size: 2em;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
  }
  .gallery-heading > h1{
    margin: 0;
  }
  .gallery-1{
    display: flex;
    justify-content: center;
    margin:0;
    width: 100%;
  }
  .gallery-2{
    display: block;
    width: 100%;
  }
  
  .galleryimg{
    box-shadow: none;
    padding: 10px;
  }
  
  .img1{
    height: 500px;
    border-radius: 20px;
  }
  .img2{
    height: 300px;
    border-radius: 20px;
  }

  .contact-info{
    display: flex;
    flex-direction: column;
    color: antiquewhite;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .contact-card-header{
    font-family: tan-pearl;
    color: antiquewhite;
    display: flex;
    background-color: darkgoldenrod;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    justify-content: center;
    font-size: 2em;
  }
  .contact-card-header > h1{
    margin: 0;
  }
  .contact-info > p{
    font-family: 'Montserrat', sans-serif;
    color: darkgoldenrod;
    font-weight: 700;
  }
  
  .book-now{
    display: flex;
    margin:0;
    justify-content: center;
    flex-direction: column;
  }
  .contact-cards{
    display: flex;
    justify-content: center;
  }
  .contact-form{
    display: flex;
    flex-direction: column;
    padding: 25px;
    box-shadow: none;
    border-radius: 20px;
    width: 100%;
  }
  .contact-input-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 15px;
  }
  .contact-input{
    width: 90%;
    height: 50px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 0 10px darkgoldenrod;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
  }
  .contact-input:focus{
    border: 3px solid darkgoldenrod;
  }
  .contact-input::placeholder{
    color:darkgoldenrod;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
  }
  .contact-form textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
  }
  .btn-submit{
    width: fit-content;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    color: antiquewhite;
    background-color: darkgoldenrod;
    border-radius: 8px;
    border: none;
    padding: 10px;
    align-self: center;
    transition: transform 1000ms;
    cursor: pointer;
  }
  .footer-items{
    display: flex;
    justify-content: space-around;
    color: antiquewhite;
    font-weight: bold;
    gap:20px;
    font-family: 'tan-pearl';
    font-size: 0.7em;
  }
}