*{
    margin: 0;
    padding: 0;
}


.navbar{
    position: fixed;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    padding: 6px 10px;
    z-index: 20;
}
.navbar ul{
    display: flex;
    list-style: none;
    gap: 100px;
    font-size: 1.3rem;
    
}
.navbar ul a{
    text-decoration: none;
    color:white;
    text-shadow: 0 0 3px #000, 0 0 5px #000;
    font-weight: 800;
}
.navbar img{
    width: 100px;
    filter: drop-shadow(0 0 0.75rem #000);
}
.spinner{
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
}
.loader {
    animation: rotate 1s infinite;
    height: 100px;
    width: 50px;
  }

  .loader:before,
  .loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
  }
  .loader:before {
    animation: ball1 1s infinite;
    background-color: #F9E3E3;
    box-shadow: 30px 0 0 #ff3d00;
    margin-bottom: 10px;
  }
  .loader:after {
    animation: ball2 1s infinite;
    background-color: #ff3d00;
    box-shadow: 30px 0 0 #F9E3E3;
  }

  @keyframes rotate {
    0% { transform: rotate(0deg) scale(0.8) }
    50% { transform: rotate(360deg) scale(1.2) }
    100% { transform: rotate(720deg) scale(0.8) }
  }

  @keyframes ball1 {
    0% {
      box-shadow: 30px 0 0 #ff3d00;
    }
    50% {
      box-shadow: 0 0 0 #ff3d00;
      margin-bottom: 0;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #ff3d00;
      margin-bottom: 10px;
    }
  }

  @keyframes ball2 {
    0% {
      box-shadow: 30px 0 0 #F9E3E3;
    }
    50% {
      box-shadow: 0 0 0 #F9E3E3;
      margin-top: -20px;
      transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #F9E3E3;
      margin-top: 0;
    }
  }
  .body{
    display: none;
  }
        
.hero{
    background: url("https://firebasestorage.googleapis.com/v0/b/princemarriagepalace.appspot.com/o/princemarriagepalace%2Fhome.JPG?alt=media&token=0c799d25-d843-430a-8a3e-9a1ac4e9d7d6");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 100%;
    height: 100vh; 
    font-family: "Montez", cursive;
    font-weight: 400;
    font-size: 45px;
    
}
.events{
    padding-top: 30px;
    font-family: "Playfair Display", serif;
    position: relative;
    margin-bottom: 100px;
}

.events-header{
    padding-top: 20px;
    font-size: 50px;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-align: center;
}
.events .events-details{
    font-size: 25px;
}
.events .events-details .detail1{
    display: flex;
    justify-content: space-between ;
    padding: 10px
}
.events .events-details .detail1 .detail1-image img{
    width: 38vw;
}

.events .events-details .detail2{
    display: flex;
    justify-content: space-between ;
    padding: 10px
}
.events .events-details .detail2 .detail2-image img{
    width: 38vw;
}

.events .event-detail-card{
    background: #F9E3E3;
    width: 25vw;
    height: 18vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 22px;
    position: absolute;
}

.card1{
    top: 45vh;
    left: 40%
}
.card2{
    top: 95vh;
    left:32%;
}
.card3{
    top: 145vh;
    left: 40%
}
.card4{
    top: 200vh;
    left:32%;
}

.gallery{
    padding: 40px 0;
}
.gallery h1{
    font-size: 50px;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-align: center;
    padding: 40px 0;
}
.gallery .gallery-row .gallery-col img{
    width: 30vw;
}
.gallery .gallery-row .gallery-col-1 img{
    width: 30vw;
}

.gallery .gallery-row .gallery-col video{
    width: 30vw;
}
.gallery .gallery-row .gallery-col-1 video{
    width: 30vw;
}
.gallery .gallery-row{
    display: flex;
    gap: 10px;
    justify-content: center;
}
.gallery .gallery-row .gallery-col{
    display: flex;
    flex-direction: column;
}
.gallery .gallery-row .gallery-col-1{
    display: flex;
    flex-direction: column;
    gap:30px;
}

.location {
    display: flex;
    gap: 4px
}
.location i{
    font-size: 30px;
    color: black;
}
.location p{
    width: 200px;
}



.footer{
    background-color: #F9E3E3;
    display: flex;
    justify-content: space-around;
    padding: 20px;
}
.footer .footer-column ul{
    list-style: none;
}
.footer .footer-column {
    display: flex;
    flex-direction: column;
    gap:10px;
}

.contact .contact-row{
 display: flex;
 color: white;
 gap:5px;
 font-size: 1.2rem;
}
.contact .contact-row a{
    text-decoration: none;
    color: black;
}

@media screen and (max-width: 600px) {
    .hero{
        background-position: center;
        width: 100vw; 
        text-align: center;
        font-size: 35px;
        
    }
    .navbar{
        display: none;
    }
    .navbar ul{
        display: none;
        
    }

    .events .event-detail-card{
        display: none;
    }
    .footer{
        background-color: #F9E3E3;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: space-around;
        padding: 20px;
    }
}

