*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p{
    font-family: 'Poppins', sans-serif;
}
.logo-txt{
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: rgb(45, 82, 117);
    font-weight: 600;
}
.logo-txt-light{
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: rgb(45, 82, 117);
    font-weight: 200;
}
#logo img{
    width: 4rem;
    height: 8rem;
    float: left;
}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
}
#logo{
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}
.logo-txt{
    float: right;
    margin: 2.5rem 0 0.1rem 0.2rem;
}
#nav{
    display: flex;
    align-items: center;
    justify-content:space-between;
    margin: 0 0 3rem 0;
}
#logo p{
    font-size: smaller;
    color: rgb(18, 61, 100);
}
.section1{
    margin: 0.4em;
    padding: 0.2em;
}
.section1 li{
    list-style-image: url("Images/180.svg");
    font-family: 'Poppins', sans-serif;
    font-size: small;
    font-weight: 600;
}
.section1 ul{
    display: flex;
    gap: 1.6em;
    justify-content: space-between;
    align-items:center;
}
.section1 a{
    text-decoration: none;
    color: rgb(45, 82, 117);
    transition: 0.2s;
}
.section1 a:hover,:focus{
    color: rgb(152, 185, 46);
    text-decoration: underline;
}
.about{
    background-color: rgb(45, 82, 117);
    padding: 0.5rem 1rem;
}
.about ul{
    display: flex;
    gap: 0.6em;
    justify-content: center;
    align-items:center;
}
.about li{
    list-style-type: none;
    font-family: 'Poppins', sans-serif;
    font-size:medium;
    font-weight: 600;
    flex:0.5rem;
}
.about a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.4s;
}
.about a:hover,:focus{
    color: rgb(152, 185, 46);
}
.section2{
    display: flex;
    align-items: center;
    justify-content:center;
    margin: 0 1rem;
}
.about img{
    width: 0.5rem;
    height: 1rem;
}

main{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: minmax(30rem,auto);
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    margin: 0 16rem;
}
main h2{
    font-size: large;
    color: rgb(145, 179, 36);
}
main img{
    width: 10rem ;
    max-height: 12rem;
    align-self: center;
}
.minilogo{
width: 2.5rem;
height: 2.5rem;
}
.meet-our-physicists p{
    line-height: 2pc;
    color: rgb(45, 82, 117);
    font-weight: 600;
    padding: 1rem;
}
.title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.title-card{
    display: flex;
    justify-content: flex-start;
}
.meet-our-physicists img{
    margin: 0.4rem;
}
.upcoming p{
    line-break: loose;
    color: rgb(45, 82, 117);
    font-weight: 600;
    font-size: smaller;
    padding: 0.2rem 0.5rem;
}
.upcoming img{
    margin: 0.4rem;
}
.mail-search-button{
    display: flex;
    padding: 0.5rem;
}
.mail-button{
    width: 7rem;
    height: 2rem;
    color: rgb(18, 61, 100);
    background-color: rgb(199, 231, 103);
    font-size: medium;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 1px solid rgb(175, 218, 47);
    cursor: pointer;
}
.mail-search{
    border: 1px solid rgb(175, 218, 47);
    height: 2rem;
    width: 14rem;
}
.follow{
    padding: 0 0.5rem;
}
.special-event{
    background-color: rgb(199, 231, 103);
    padding: 0.5rem;
}
.special-event .button{
    width: 4.5rem;
    height: 2rem;
    color: rgb(255, 255, 255);
    background-color: rgb(18, 61, 100);
    font-size: large;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    margin: 0.4rem;
    border: 1px solid rgb(45, 82, 117);
    cursor: pointer;
}
.special-event h2{
    font-family: 'Poppins', sans-serif;
    font-size: large;
    font-weight: 600;
    color: rgb(18, 61, 100);
}
.special-event p{
    font-family: 'Poppins', sans-serif;
    font-size: medium;
    font-weight: 600;
    color: rgb(18, 61, 100);
}
.follow ul{
    display: flex;
    gap: 0.6em;
    justify-content: space-around;
    align-items:center;
    padding: 1rem 0.2rem;
}
.follow a{
    text-decoration: none;
    color: rgb(18, 61, 100);
    transition: 0.4s;
}
.follow a:hover,:focus{
    color: rgb(45, 82, 117);
}
.follow li{
    list-style:none;
}
footer{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(18, 61, 100);
    height: 10em;
    margin: 0 14rem;
}
footer h3,h4,p{
    color: rgb(255, 255, 255);
}
.apr{
    flex: 2;
    display:block;
}
.spr{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.2rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 400;
    font-size: small;
    margin: 1rem 0 0 1rem;
}
.spr img{
    width: 0.5rem;
    height: 1rem;
}
.bpr{
    font-family: 'Poppins', sans-serif;
    margin: 1rem 0 0 1rem;
}
.bpr a{
  color: rgb(152, 185, 46);
}
.bpr p{
    font-size: x-small;
    font-weight: 600;
}
.bpr-btn{
    width: 8rem;
    height: 2rem;
    color: rgb(18, 61, 100);
    background-color: rgb(255, 255, 255);
    font-size: large;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 2px solid rgb(152, 185, 46);
    position: relative;
    top: 10px;
    left: 150px;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.make-a-gift img{
    height: 10rem;
    width: 23rem;
    object-fit:fill;
    position: absolute;
}
.make-a-gift{
    align-self: flex-start;
    justify-self: flex-end;
    flex: 1;
}
.carousel{
    position: relative;
    height: 40rem;
    width: 58rem;
    margin: 0 auto;
}
.carousel__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel__video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel__track-container{
    height: 100%;
    position: relative;
    overflow: hidden;
}
.carousel__track{
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
}
.carousel__slide{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
.carousel__button{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.carousel__button img{
    width: 2rem;
}
.carousel__button--left{
    left: -80px;
}
.carousel__button--right{
    right: -80px;
}
.carousel__nav{
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}
.carousel__indicator{
    background: rgba(0, 66, 86, .3);
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    border: 0;
    margin: 0 1rem;
    cursor: pointer;
}
.carousel__indicator.current-slide{
    background: rgba(0,66, 86,.7);
}
.is-hidden{
    display: none;
}
.slide__text{
    position: absolute;
    top: 7em;
    left: 4em;
    right: 0;
    bottom: 0;
}
.slide__text p{
    font-family: 'Poppins' , sans-serif;
    font-size: 36pt;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 66, 86, .7);
    color: rgb(255, 255, 255);
    text-align:left;
}

@media screen and (max-width : 880px){
    header{
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    #nav{
        margin: 0;
        padding: 0;
    }
    #logo{
        padding: 0;
        margin: 0;
    }
    .logo-txt-light{
        font-family: 'Poppins', sans-serif;
        font-size: 18px;
        color: rgb(145, 179, 36);
        font-weight: 200;
    }
    .section2{
        margin: 0;
        flex-wrap: wrap;
    }
    .about{
        padding: 0;
    }
    .about li{
        font-size: smaller;
    }
    .carousel{
        height: 35rem;
        width: 30rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .carousel__track-container{
        height: 30rem;
        width: 32rem;
    }
    .slide__text p{
        font-size: medium;        
    }
    main{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: minmax(20rem,auto);
        gap: 2rem;
        justify-content: center;
        align-items: center;
        margin: 0 16rem;
    }
    .make-a-gift img{
        width: 10rem;
        height: 5rem;
    }
    .bpr-btn{
    width: 6rem;
    height: 2rem;
    font-size: small;
    top: 5px;
    left: 100px;
    bottom: 0;
    right: 0;
    }
    footer h3,h4,p{
        font-size: smaller;
    }
    footer{
        width: 100%;
        margin: 0;
        flex-wrap: wrap;
    }
}
@media screen and ( max-device-width : 1200px)and (min-device-width : 881px){
    header{
        gap: 1.5rem;
        width: 100%;
    }
    #nav{
        margin: 0;
        padding: 0;
    }
    #logo{
        margin: 0;
        padding: 0;
    }
    .logo-txt-light{
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        color: rgb(152, 185, 46);
        font-weight: 200;
    }
    .section2{
        display: flex;
        align-items: flex-start;
        justify-content:center;
        flex-wrap: wrap;
    }
    .carousel{
        height: 40rem;
        width: 40rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    main{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: minmax(30rem,auto);
        gap: 2rem;
        justify-content: center;
        align-items: center;
        margin: 0 16rem;
    }
    footer{
        display:flex;
        width: 100%;
        margin: 0;
    }
    
};
