:root{
    --red: #f30b0b;
    --light-dark: #222222;
    --light-gray: #eeeeee;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}
/*animations*/
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
   75%{
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }
  @keyframes move {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
   75%{
    transform: translateX(-50%);
    opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
  }
/*support classes*/
.center{
    margin: 0 auto;
    max-width: 1080px;
}
.open{
    display: none;
    background-color: var(--red);
}
a{
text-decoration: none;

}
li{
    list-style: none;
}
p,h1,h2{
    padding: 0;
    margin: 0;
}
ul{
    margin: 0;
    padding: 0;
}
header{
    width: 100%;
   height: 60px;
}
/*nav bar*/
nav{
    width: 100%;
    height: 60px;
    display: flex;
    z-index: 90;
    position: fixed;
    background-color: white;
    align-items: center;
    justify-content: space-between;
    border-bottom: 5px solid var(--light-gray);
}
nav img{
    height: 50%;
    width: 90px;
}
.menu{
    display: flex;
}
.menu li a{
    display: inline-block;
    color: var(--light-dark);
    transition: all 0.5s ease-in-out;
    background-color: none;
    padding: 20px;
}
.menu li{
    list-style: none;
    display: inline-block;
}
.menu li:nth-child(1){
    background-color: var(--red);;
}
.menu li:nth-child(1) a{
   color: white;
}
.list li:nth-child(1){
    background-color: var(--red);;
}
.list li:nth-child(1) a{
   color: white;
}
.menu li a:hover{
    background-color: var(--light-dark);
    color: white;
}
.social ul{
display: flex;
gap: 10px;
}
.social ul li{
    list-style: none;
}
.social ul li a img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
main{
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
}
small{
    display: flex;
    align-items: center;
    font-size: 1em;
    display: none;
}
input{
    margin: 0;
    padding: 0;
  position: relative;
    width: 10%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
 
    

}

 /*burger menu*/
.burgermenu{
   background-color: transparent;
  height: 100%;
    width: 60px;
  cursor: pointer;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.5s ease-in-out;
    display: none;

}
.burgermenu small{
    color: var(--light-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
}
.burgermenu small:hover{
    color: white;
    
}
.burgermenu:hover{
    background-color: var(--red);
}



input:checked + .menu{
  display: flex;

}


#mobile-menu{
display: none;
}
.mobile{
    width: 100%;
    background-color: rgb(72, 72, 72);
    display: flex;
    flex-direction: column;
    height: 100vh;


  
}
.mobile li{
    padding: 30px;
}
.mobile li:hover{
    background-color: var(--red);
}
.mobile a{
    width: 100%;
    display: block;
    color: var(--light-gray);
    font-size: 2rem;
}
.burger-menu{
    width: 50px;
     display: flex;
     align-items: center;
     justify-content: center;
    background-color: transparent;

height: 100%;
    top: 0;
    color: var(--light-dark);

}

.list{
 transform: translateX(-100%);
display: none;
position: absolute;
top: 100%;
z-index: 999;


}
/*content slider*/
.slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 70vh;
    width: 100%;
  }
  .slides-container {
    height: calc(100vh - 2rem);
    width: 100%;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;

  }
  .slide {
    width: 100%;
    height: 100%;
  }
  .slide:nth-child(2){
    display: none;
  }

.slide-arrow {
    position: absolute;
    display: flex;
    top: 0;
    z-index: 1;
    bottom: 0;
    margin: auto;
    height: 4rem;
    background-color: transparent;
    border: none;
   display: flex;
   align-items: center;
   justify-content: center;
    cursor: pointer;
    transition: opacity 100ms;
  }

  #slide-arrow-prev {
    left: 0;
    padding-left: 0.25rem;
    display: none;

  }
  #slide-arrow-next {
    right: 0;
    padding-right: 0.75rem;

  }


.banner-area{
    width: 100%;
    height: 70vh;
    background-image: url(./imgs/hero.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-color: white;
    animation-name: fadeIn;
    animation-duration: 1s;
}
.banner-area img{
padding: 25px;
background-color: white;
animation-name: move;
animation-duration: 2s;
}
.slide:nth-child(2) .banner-area{
    background-image: url(./imgs/hero2.jpg);
}
.centerlized-box{
    background-color: #0a0a0ab9;
    max-width: 50%;
    height: 50%;
    color: white;
    font-size: 2rem;
    padding: 10px;
    box-sizing: border-box;
}
/*articles/cards*/
.content-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    padding: 20px;
    gap: 20px;
}
.left-container{
    height: 100%;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.right-container{
    width: 30%;
    height: 673.93px;
    gap: 30px;
}
.large-card-container{
    width: 100%;
    height: 60%;
}
.card-large{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-header{
    height: 25%;
    display: flex;
    background-color: var(--red);
    align-items: center;
    justify-content: flex-start;
}
.card-header h2{
    color: white;
    font-size: 1.2rem;
    padding: 10px;
    font-weight: 500;
    position: relative;
    margin-left: 15px;

}
.card-header h2::before{
    content: url(./imgs/card-suits-spades.png);
    left: -11px;
    top: 13px;
    position: absolute;
}
.card-large .article-image{
    width: 100%;
    min-height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.text-content{
    height: 35%;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.text-content p{
    line-height: 1.4rem;
}
.text-content p:nth-child(2){
    margin-top: 15px;
}
.text-content a{
    cursor: pointer;
    width: 100px;
    height: auto;
    padding: 10px;
    background-color: var(--light-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
/*small articles/cards*/
.small-card-wrapper{
    display: flex;
    gap: 30px;
}
.card-small{
    height: 30%;
    width: 50%;
}
.card-small .article-image{
    width: 100%;
    min-height: 230px;
    background-repeat: no-repeat;
    background-size: cover;
}

.event-container{
    height: 60%;
    width: 100%;
}

.small-header{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--light-dark);
}
.small-header h2{
color: white;
font-weight: 500;
margin-left: 18px;
position: relative;

font-size: 1.2rem;
padding: 10px;
}
.small-header h2::before{
    content: url(./imgs/card-suits-hearts.png);
    margin-right: 10px;
    left: -11px;
    top: 13px;
    position: absolute;
}
.event-date-container{
    width: 100%;
    height: 100%;
}
.dates-content{
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}
.dates-content:nth-child(2n){
    background-color: white;
}
.dates-content span{
    min-width: 70px;
}
.newsletter-container{
    height: 40%;
    width: 100%;
    background-color: white;
}
.newsletter-content{
    padding: 15px;
}
.newsletter-content form{
    width: 100%;
    margin-top: 10px;
}
.newsletter-content form input{
    width: calc(100% - 8px);
    height: 30px;
    margin: 0;
    border: solid 2px var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.newsletter-content form input:nth-child(1){
    margin-bottom: 10px;
}
.newsletter-content form .submit{
    background-color: var(--red);
    border: none;
    color: white;
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
}
footer{
    background-color: var(--light-dark);
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-wrapper{
    padding: 20px;
    width: 80%;
    gap: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-content-box{
    width: calc(100% / 3);
min-height: 186px;
    

}
.footer-content-box h2{
    color: var(--red);
    font-weight: 400;
    font-size: 2.2rem;
    text-transform: capitalize;
    margin-bottom: 10px;
}
.footer-content-box ul{
    display: flex;
    flex-direction: column;
  
}
.footer-content-box p{
    color: var(--light-gray);
}
.footer-content-box a{
    color: var(--light-gray);
}





  
@media only screen and (width <= 960px) {
.small-card-wrapper{
    flex-direction: column;
}
.centerlized-box p{
    font-size: 1.5rem;
}
.card-small{
    width: 100%;
}
.right-container{
    height: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-wrapper{
    flex-direction: column;
    align-items: flex-start;
}
.footer-content-box{
    width: 100%;
}

.middle-section{
    display: none;
 }
 nav{
      display: flex;
    align-items: center;
    justify-content: space-between;
 }
 .centerlized-box{
    height: auto;
}
 .list{
    display: block;
    width: 100%;
 }
 .burgermenu{
    display: block;
 }
 small{
    display: block;
 }
  }

  @media only screen and (width <= 768px) {
     .content-wrapper{
        flex-direction: column;
     }
     .centerlized-box p{
        font-size: 1rem;
    }
     .card{
        width: 100%;
     }
     .left-container,.right-container{
        width: 100%;
     }
      }