*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: verdana;
}

.hide{
    display: none;
}

:root{
    --primary-color: #6A0DAD;
    --secondary-color: #FFFFFF;
    --accent-color: #D8BFD8;
    --text-color: #333333;
}

body{
    background-color: var(--secondary-color);
    overflow: hidden;
    height: 100vh;
}

/*------------------------------ NAV-BAR ------------------------------*/
.nav-bar{
    background-color: var(--primary-color);
    height: 45px;
    margin: 10px;
    border-radius: 50px;
    position: relative;
}
.nav-bar .logo{
    height: 35px;
    width: 35px;
    position: absolute;
    margin: auto;
    right: 5px;
    top: 0;
    bottom: 0;
}
.nav-bar ul{
    display: none;
}
.menu-logo{
    width: fit-content;
    height: fit-content;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 20px;
}
.menu-logo .menu-logo-lines{
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px;
    border-radius: 5px;
}
.nav-links{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    background-color: #6a0dad7c;
    margin-left: -100%;
}
.nav-links .links{
    background-color: var(--primary-color);
    width: 80%;
    height: 100vh;
    list-style: none;
    margin-left: -100%;
    transition: all 0.5s;
}
.nav-links .links .title{
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--secondary-color);
    padding: 20px 25px;
    font-size: 18px;
    margin: 0px;
    border-radius: 0px;
}
.nav-links .links .title:hover{
    background-color: var(--primary-color);
}
.nav-links .links div{
    color: var(--secondary-color);
    padding: 10px 15px;
    margin: 10px;
    border-radius: 50px;
    font-size: 14px;
}
.nav-links .links div:hover{
    background-color: #2e014e;
}

/*------------------------------ SECTION-1 ------------------------------*/
.sec-1{
    width: 100%;
    margin: 30% 0px;
}
.sec-1 .greeting{
    width: 100%;
    height: fit-content;
    text-align: center;
    color: var(--text-color);
    padding: 0px 30px;
}
.sec-1 .greeting h1{
    color: var(--primary-color);
    margin: 5px 0px;
}
.sec-1 .greeting p{
    font-size: 14px;
}
.sec-1 .greeting p button{
    background-color: var(--accent-color);
    border: none;
    border-radius: 5px;
    padding: 7px 10px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
}

/*------------------------------ CARDS ------------------------------*/
.cards{
    width: 100%;
    height: fit-content;
    position: relative;
    margin: 100px 0px;
    z-index: 0;
}
.cards .cards-title{
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    font-size: 18px;
    color: var(--text-color);
}
.cards .card{
    width: 70%;
    height: 30vh;
    display: none;
    margin: auto;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.cards .card h3{
    height: fit-content;
    width: 100%;
    font-size: 14px;
    text-align: center;
    border-radius: 20px;
    position: absolute;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px;
    background-image: linear-gradient(transparent,var(--text-color));
    color: var(--accent-color);
    transition: ease-in-out 0.5s;
}
.cards .card:hover h3{
    padding: 30% 0%;
    font-size: 16px;
}
.cards .card h3 .doc-symbol{
    color: var(--text-color);
    background-color: var(--accent-color);
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    position: relative;
    bottom: 0px;
    display: none;
}
.cards .card:hover h3 .doc-symbol{
    display: inline-block;
}
.cards .card h3 .doc-symbol:hover{
    color: var(--primary-color);
}
.cards button{
    position: absolute;
    padding: 0px 15px;
    font-size: large;
    font-weight: bolder;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    color: var(--primary-color);
    top: 30px;
    bottom: 0;
    cursor: pointer;
}
.cards .left{
    left: 5px;
    display: none;
}
.cards .left:hover{
    background-image: linear-gradient(to right,var(--accent-color),transparent);
}
.cards .right{
    right: 5px;
}
.cards .right:hover{
    background-image: linear-gradient(to left,var(--accent-color),transparent);
}

/*------------------------------ FOOTER ------------------------------*/
footer{
    width: 100%;
    background-color: var(--accent-color);
    padding: 30px 0px;
}
.footer-links{
    padding: 0px 30px;
} 
.footer-links .links{
    width: 100%;
    padding: 5px;
    margin: 5px 0px;
    color: var(--text-color);
    font-size: medium;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}
.footer-links .links:hover{
    background-color: var(--primary-color);
    color: var(--accent-color);
}
footer p{
    text-align: center;
    font-size: small;
    padding: 10px 0px;
}

/*------------------------------ PAGES ------------------------------*/
.page{
    width: 100%;
}
.page-header{
    height: 45px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    position: relative;
    padding: 30px 10px;
    margin-bottom: 20px;
}
.page-header h3{
    height: fit-content;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.page-header  button{
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: large;
    padding: 5px 9px;
    margin-left: -6px;
}
.page-header  button:hover{
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
}
.page .page-body{
    padding: 5px 10px;
    font-size: small;
    color: var(--text-color);
    text-align: justify;
}
.page .page-body p{
    padding: 10px 0px;
}
.page .page-body h3{
    font-size: 1.1em;
}
.page .page-body .title{
    font-weight: bold;
    padding: 7px 0px;
}
.page .page-body ul{
    list-style: disc;
    padding: 0px 15px;
}
.page .page-body ul li{
    padding: 5px 0px;
}

.alert-page{
    height: 100vh;
    width: 100%;
    background-color: #6a0dada1;
    position: absolute;
    top: 0;
    bottom: 0;
}
.alert-page div{
    background-color: var(--secondary-color);
    width: 80%;
    height: fit-content;
    padding: 20px 20px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 20px var(--accent-color);
}
.alert-page div p{
    text-align: left;
    padding: 5px;
}
.alert-page div button{
    position: relative;
    border: none;
    background-color: orangered;
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 5px;
    margin-top: 20px;
}

@media (min-width: 768px){
    /*------------------------------ NAV-BAR ------------------------------*/
    .nav-bar{
        background-color: transparent;
        height: 70px;
        margin: 20px 10px;
        border-radius: 0px;
        position: relative;
    }
    .nav-bar .logo{
        height: 60px;
        width: 60px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 90%;
    }
    .menu-logo{
        display: none;
    }
    .nav-bar ul{
        display: flex;
        list-style: none;
        width: fit-content;
        height: fit-content;
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 10px;
    }
    .nav-bar ul li{
        margin:0px 20px;
        color: var(--text-color);
        cursor: pointer;
    }
    .nav-bar ul li:hover{
        color: var(--primary-color);
    }

    /*------------------------------ SECTION-1 ------------------------------*/
    .sec-1{
        width: 100%;
        height: 40vh;
        margin: 0%;
        position: relative;
    }
    .sec-1 .greeting{
        position: absolute;
        margin: auto;
        bottom: 0;
        top: 0;
        font-size: 1.5em;
    }
    .sec-1 .greeting h1{
        font-size: 2em;
        margin: 0px 0px 10px 0px;
    }
    .sec-1 .greeting p{
        font-size: 20px;
        padding: 5px 0px;
    }
    /*------------------------------ CARDS ------------------------------*/
    .cards{
        width: 90%;
        margin: 50px auto;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 60px;
    }
    .cards .cards-title{
        position: absolute;
        top: 0;
        font-size: 1.5em;
    }
    .cards .card{
        width: 20vh;
        height: 25vh;
        display: block;
        box-shadow: 3px 3px 7px #333333;
        margin: 20px;
    }
    .cards .card h3{
        font-size: 20px;
    }
    .cards .card:hover h3{
        font-size: 20px;
    }
    .cards .card h3 .doc-symbol{
        font-size: 16px;
        padding: 8px 10px;
    }
    .cards button{
        display: none;
    }
    /*------------------------------ FOOTER ------------------------------*/
    #footer{
        display: none;
    }
    .footer-links{
        width: fit-content;
    } 
    .footer-links .links{
        width: 100%;
        padding: 5px 10px;
        text-align: left;
    }
    footer p{
        font-size: large;
    }
    /*------------------------------ PAGES ------------------------------*/
    .page{
        width: 100%;
    }
    .page-header{
        height: 45px;
        background-color: var(--accent-color);
        color: var(--primary-color);
        position: relative;
        padding: 30px 10px;
        margin-bottom: 20px;
    }
    .page-header h3{
        height: fit-content;
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header  button{
        background-color: transparent;
        border: none;
        color: var(--primary-color);
        font-weight: bold;
        font-size: large;
        padding: 5px 9px;
        margin-left: -6px;
    }
    .page-header  button:hover{
        background-color: var(--primary-color);
        color: var(--accent-color);
        border-radius: 50%;
    }
    .page .page-body{
        padding: 5px 10px;
        font-size: 1em;
        color: var(--text-color);
    }
    .page .page-body p{
        padding: 10px 0px;
    }
    .page .page-body h3{
        font-size: 1.1em;
    }
    .page .page-body .title{
        font-weight: bold;
        padding: 7px 0px;
    }
    .page .page-body ul{
        list-style: disc;
        padding: 0px 15px;
    }
    .page .page-body ul li{
        padding: 5px 0px;
    }
    
    .alert-page{
        height: 100vh;
        width: 100%;
        background-color: #761fb4ad;
        position: absolute;
        top: 0;
    }
    .alert-page div{
        background-color: var(--secondary-color);
        width: fit-content;
        height: fit-content;
        padding: 20px 20px 0px 20px;
        border-radius: 5px;
        position: absolute;
        margin: auto;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
        box-shadow: 0px 0px 20px var(--accent-color);
    }
    .alert-page div p{
        padding: 5px 10px;
        text-align: left;
    }
    .alert-page div button{
        border: none;
        background-color: orangered;
        color: var(--secondary-color);
        padding: 5px 10px;
        margin-top: 15px;
        margin-bottom: 15px;
        border-radius: 5px;
        cursor: pointer;
    }
}

@media (min-width: 1024px){
    .sec-1{
        height: 60vh;
    }
    .cards .card{
        width: 33vh;
        height: 40vh;
    }
}