@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


:root{
    --background-color: #dae3ffe8;
    --darker-background-color: #b4bbd0e8;
    --accent-color: #267dbe;
    --text-color: #267dbe;
    --navbar-height: 50px;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html{
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #004eff;
}

body{
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

nav{
    height: var(--navbar-height);
    background: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #267dbe;
}

nav .logo{
    margin-left: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    text-decoration: none;
    color: white;
}

nav ul{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    z-index: 10;
}

nav li{
    height: 100%;
    width: 150px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

nav li:hover{
    color: white;
    border-radius: 6px;
}

nav ul li label:hover{
    padding: 4px;
    background-color: #267dbe;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
}

nav ul a:hover{
    color: white;
    background-color: #267dbe;
    padding: 4px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out; 
}

nav ul a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #267dbe;
    z-index: 10;
}

nav ul a:active{
    color: white;
    z-index: 10;
}

.dropdown{
    height: min-content;
    width: 150px;
    background: var(--background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);
    z-index: 10;
}

.dropdown li{
    height: 50px;
    width: 100%;
    z-index:10;
}

.dropdown li a{
    justify-content: center;
    width: calc(100% - 30px);
    z-index: 10;
}

nav li:hover .dropdown{
    display: flex;
    z-index: 10;
}

nav input[type="checkbox"]{
    display: none;
}

.expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
}



.toggle_button{
    width: 30px;
    height: 23px;
    position: absolute;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar{
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

@media(max-width: 1050px){
    nav{
        height: var(--navbar-height);
        background: var(--background-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #267dbe;
    }
    
    nav .logo{
        margin-left: 30px;
        font-family: 'Poppins', sans-serif;
        font-size: 35px;
        text-decoration: none;
        color: white;
    }
    
    nav ul{
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        list-style: none;
        z-index: 10;
    }
    nav li{
        height: 100%;
        width: 150px;
        text-align: center;
        position: relative;
    }
    nav li:hover{
        color: grey;
    }
    nav li a:hover{
        color: grey;
    }
    nav ul a{
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #004eff;
        font-weight: 700;
    }
    nav ul .inactive{
        color: rgb(182, 182, 182);
    }
    nav ul .inactive:hover{
        color: rgb(182, 182, 182);
        cursor:default;
    }
    .dropdown{
        height: min-content;
        width: 270px;
        background: #dae3ffe8;
        display: none;
        flex-direction: column;
        position: absolute;
        left:0;
        top: var(--navbar-height);
    }
    .dropdown li{
        height: 70px;
        width: 100%;
    }
    .dropdown li a{
        justify-content: flex-start;
        padding-left: 30px;
        width: calc(100%-30px);
    }
    nav li:hover .dropdown{
        display: flex;
    }
    nav input[type="checkbox"]{
        display: none;
    }
    .expandable_li{
        display: flex;
        justify-content: center;
        align-items: center;
        color: #004eff;
    }
    
    /* Scroll Effect */
    .active_nav{
        background-color: white;
    }
    
    
    /* HAMBURGER MENU */
    
    .toggle_button{
        width: 30px;
        height: 23px;
        position: absolute;
        right: 25px;
        display: none;
        flex-direction: column;
        justify-content: space-between;
    }

    .bar{
        height: 4px;
        width: 100%;
        background-color: #267dbe;
        border-radius: 100px;
    }

    nav ul li label:hover{
        padding: 30px;
        background-color: #267dbe;
        transition: all 0.2s ease-in-out;
        border-radius: 6px;
        color: white;
    }
    
    nav ul a:hover{
        color: white;
        background-color: #267dbe;
        padding: 30px;
        border-radius: 5px;
        transition: all 0.2s ease-in-out; 
    }
    
    @media(max-width: 1050px){
        .toggle_button{
            display: flex;
        }
        nav{
            background-color: var(--background-color);
        }
        nav ul{
            height: min-content;
            width: 100%;
            background: var(--background-color);
            display: none;
            position: absolute;
            top: var(--navbar-height);
        }
        nav li{
            height: min-content;
            width: 100%;
        }
        nav li a{
            padding: 30px 0;
            color: #267dbe;
            font-weight: 600;
        }
        .expandable_li{
            display: block;
        }
        .expandable_li label{
            padding: 30px 0;
            cursor: pointer;
            display: block;
            color: #267dbe;
            font-weight: 600;
        }
        .expandable_li:hover .dropdown{
            display: none;
        }
        .expandable_li input[type="checkbox"]:checked ~ .dropdown{
            display: block;
        }
        .dropdown{
            position: static;
            width: 100%;
        }
        .dropdown li{
            padding: 0;
            display: block;
            position: static;
            background: #b5bdd3e8;
        }
        .dropdown li a{
            width: 100%;
            padding: 0;
            justify-content: center;
        }
        #toggle_button:checked ~ ul{
            display:block;
        }
        .page_part_1{
            padding-top: var(--navbar-height);
        }
    }
}


/* WEBSITE */

.home_part_1 {
    height: 100vh;
    width: 100%;
    background-color: rgba(219, 219, 219, 0.774);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home_part_2 {
    height: 100vh;
    width: 100%;
    background-color: #309b98;
}
