
body{
    font-family: poppins, sans-serif;
    background-color: rgb(90, 90, 113) ;
}


.container {
  max-width: 1400px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  grid-gap: 60px;
}

.img-responsive{
    width: 100%;
    display: block;
}

.grid-2-columns {
  grid-template-columns: 1fr 1fr;
}

.grid-3-columns-with-first-narrow {
  grid-template-columns: 1fr 2fr 2fr;
}

.grid-3-columns {
    grid-template-columns: 1fr 1fr 1fr;
  }

.card{
    background-color: white;
    margin-top: 30px 0;

}

.card-body{
    padding: 30px;
    text-align: center;
}

.card-footer{
    padding: 0px 20px 20px;
    font-size: 14px;
    text-align: center;
}

.card h4{
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    margin: 0;
}

.btn{
    background-color: blueviolet;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    display: block;
    text-align: center;
    transition: 0.3s ease;
    letter-spacing: 3px;
    text-transform: uppercase;
    
}

.btn:hover{
    background-color: #6a0dad;
}


section{
    max-width: 100%;
    margin: 0 auto;
    padding: 80px;
}


section.secondary {
    background-color: #D2D2D2;
    padding: 80px;

}

header{
background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url("../images/Tayhomepage.png");
background-repeat: no-repeat;
background-size:cover;
color: white;
text-align: center;
padding: 200px 0;
}

header h1 {
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  margin: 30 0;
  font-family: 'Pistilli Roman';
}   

header h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 700;
  }   
  
.site-link {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    opacity: 0.7;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
}
.site-link:hover {
    opacity: 1;
    color: rgb(212, 168, 233);
}


main h3{
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    color: black;
    margin: 0;

}

main p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: black;
    opacity: 0.7;
    margin: 25px 0;
}

.main-image{
    width: 450px;
    height: 490px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 5px;    

}



.image-card{
    width: 300px;
    height: 300px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}




header a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    font-style: normal;
    color: white;
    opacity: 0.7 ;

   
    
}





main{
    background-color: whitesmoke;


}

main h2{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
letter-spacing: 3px;
color: rgb(212, 168, 233);
opacity: 0.3;
}


.secondary h3{
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    color: black;
    margin: 30px 0;
    text-align: center;
    margin: 0 0 80px 0;
}

.secondary h2{
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: rgb(212, 168, 233);
    opacity: 0.7;
    margin: 25px 0;
    text-align: center;
}


.video-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    justify-items: center;
  }
  
  .video-grid-2 iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .video-section {
    padding-top: 70px;
    padding-bottom: 50px;

  }
  

footer{
    color: white ;
    background-image: linear-gradient(rgba(39,32,68,0.7), rgba(39,32,68,0.7)), url("../images/footerimg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    
}


footer h3{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;

}

footer p{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.7;
}

footer ul{
    padding:0;
}

footer li{
    list-style: none;
    margin:0;
    padding: 0;
}

footer a{
    
    color: white;
    opacity: 0.7;
}

@media(max-width: 900px){
    header{
        padding: 60px 0;
    }
    header h1 {
        font-size: 45px;
    }
    header h2 {
        font-size: 20px;
    }
    header a {
        font-size: 12px;
    }

    .grid{
        grid-template-columns: 1fr;
        grid-gap: 30px
    }

    .selection{
        padding: 30px ;

    }
}


@media (max-width: 900px) {
    .boxes {
      grid-template-columns: 1fr;
      grid-gap: 5px;
    }
  }