:root{
    --overlay-dark: rgba(7, 7, 114, 0.884);
    --overlay-light: rgba(5, 157, 245, 0.753);
    --vote-btn-color: rgba(40, 11, 121, 0.568);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
    flex-direction: column;
    position: relative;
    color: white;
    /* background-color: rgba(255, 255, 255, 0); */
}

main{
    color: black;
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.822);

}

footer{
    color: black;
}


.underlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url(../assets/components/abstract-bg-2.jpg) no-repeat center/cover;
    z-index: -1;
}

.underlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--overlay-dark) 2%, var(--overlay-light) 98%);
    opacity: 0.5;
}


header{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    margin-bottom: 0px;
}



.hero-container{
    position: relative;
    padding-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 180%;
    min-height: 100vh;
    width: 100%;
    background: url(../assets/components/abstract-bg-2.jpg), no-repeat;
    /* background-color: var(--primary-color);
    background: linear-gradient(180deg, var(--overlay-dark) 2%, var(--overlay-light) 98%); */
    background-color: white;
    background-size: cover;
    background-position: center;

}
.hero-overlay {
    position: absolute;
    background: linear-gradient(0deg, var(--overlay-dark) 2%, var(--overlay-light) 98%);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.hero-content-container{
    padding-top: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.hero-content-left, .hero-content-right{
    width: 50%;
    padding: 3%;
}
.hero-content-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-top: 5rem;
}
.hero-content-right{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex: 1;
    /* padding-top: 0px; */
}

.hero-heading{
    font-weight: bold;
    font-size: 7rem;
    /* text-align: center; */
    width: 100%;
}

.hero-image-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image{
    width: 80%;
    border-radius:40rem;
}

.motto{
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: bold;
}

.about-button{
    background-color: white;
    padding: 1rem 3rem;
    border-radius: 2rem;
}

.about-button a {
    color: var(--primary-color);
    text-decoration: none;
    /* font-weight: lighter; */
}


/* BODY CONTENT START */

.section{
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

.about-container, .contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;
    width: 50%;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    padding: 5rem;
}

.about-heading{
    background-color: var(--primary-color);
    color: var(--white-text);
    padding: 1rem 3rem;
}

.about-paragraph{
    width: 80%;
    text-align: center;
}

.more-about{
    outline: 2px solid var(--secondary-color);
    outline-offset: 0.5rem 1rem;
    background-color: var(--glass);
    border-radius: 1rem;
}



/* CONTACT START */


.contact-container{
    background-color: var(--primary-color);
    color: var(--white-text);
    margin-bottom: 1rem;
    border-radius: 2rem;
}

.contact-heading {
    background-color: var(--primary-color);
    color: var(--white-text);
    padding: 1rem 3rem;
}

.contact-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
}

.form-group{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}
.contact-label{
    padding-left: 1rem;
    margin-top: 0.6rem;
}
.contact-input{
    border: 2px solid var(--glass);
    border-radius: 1rem;
    /* corner-style: squircle; */
    padding: 0.5rem 0rem;
    padding-left: 1rem;
    
    width: 100%;
    resize: none;
}

.contact-input:focus{
    border: 1px solid var(--secondary-color);
    outline: 2px solid var(--secondary-color);
    outline-offset: 0.2rem;
}

.contact-btn{
    border: 0px;
    border-radius: 1rem;
    margin-top: 1rem;
    background-color: var(--glass);
    color: var(--white-text);
    padding: 0.5rem 1rem;
}




/* CONTACT END */





/* BODY CONTET END */









/* start SLIDE DOWN AINMATION */


@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 0.2;
    }

    40% {
        transform: translateY(15px);
        opacity: 1;
    }

    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}
.swipe-down-2 {
    margin: 0.5rem;
    text-align: center;
    z-index: 10;
}

.swipe-down-2 i {
    font-size: 35px;
    color: #fff;
    animation: slideDown 1.5s infinite;
}

@media (max-width:980px) {

    main {
        width: 100vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .msih-logo {
        width: 60%;
    }

    .hero-heading {
        font-size: 4rem;
        width: 90%;
    }

}

@media (max-width:700px) {

    .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
    }
    .hero-content-container {
        padding-top: 5rem;
        flex-direction: column;
    }
    .hero-content-left,
    .hero-content-right {
        width: 100%;
        padding: 3%;
    }
    .hero-content-left{
        display: flex;
        min-height: 25vh;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .hero-content-right{
        display: flex;

        flex-direction: column;
        /* padding-left: 5rem; */
    }

    .hero-heading {
        font-size: 2.5rem;
        width: 70%;
    }
    .hero-image-container{
        display: flex;
        align-items: start;
        justify-content: center;
    }
    .hero-image{
        width: 80% ;
        border-radius: 20rem;
    }

    .motto-container{
        padding-top: 3rem;
    }

    .motto{
        font-size: 1.5rem;
    }

    .about-container,
    .contact-container {
        width: 90%;
        border: 2px solid var(--primary-color);
        padding: 1rem;
    }


}



