@charset "utf-8";

@font-face{
    font-family: 'Farsan';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Farsan-Regular.ttf);
}

@font-face{
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/Roboto-VariableFont_wdth_wght.ttf");
}

:root{
    --color-background: #5D99FF;
    --color-highlight: #3F84E8;
    --color-menu-mobile: #7EB6FF;
    --color-text-1: #000000;
    --color-text-2: #FFFFFF;
    --height-banner: 500px;
    --height-bar: 80px;
    --radius-box: 10px;
    --shadow-box: 10px 10px 10px rgba(0, 0, 0, 0.6);
    --shadow-text: 2px 2px 2px rgba(0, 0, 0, 0.6);
    --size-font-h1: 24px;
	--size-font-h2: 20px;
    --size-font-h1-1245: 16px;
	--size-font-h2-1245: 16px;
    --size-font-p: 16px;
    --size-font-p-1245: 14px;
    --transition-standard: 750ms ease-in-out;
    --width-content: 1200px;
    --width-content-1245: 100%;
    --weight-font-h1: bold;
}

*{
    margin: 0;
    padding: 0;
}

html{
    height: 100%;
}

body{
    height: 100%;
    background-color: var(--color-background);
    font-family: "Farsan";
	overflow: hidden;
}

header{
    height: var(--height-bar);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-content{
    height: 100%;
    width: var(--width-content);
}

nav{
    height: 100%;
    width: 100%;
}

nav input[type="checkbox"]{
    display: none;
}

.toggle-button{
    height: 25px;
    width: 25px;
    display: none;
    position: absolute;
    top: 20px;
    right: 35px;
    cursor: pointer;
    z-index: 5;
}

.toggle-button .bar1{
    position: absolute;
    top: 6px;
    height: 3px;
    width: 25px;
    background: var(--color-text-2);
    border-radius: 100px;
    transition: 500ms;
}

.toggle-button .bar2{
    position: absolute;
    top: 12px;
    height: 3px;
    width: 25px;
    background: var(--color-text-2);
    border-radius: 100px;
    transition: 500ms;
}

.toggle-button .bar3{
    position: absolute;
    top: 18px;
    height: 3px;
    width: 25px;
    background: var(--color-text-2);
    border-radius: 100px;
    transition: 500ms;
}

.head-ul{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    list-style: none;
}

.head-li-standard{
    height: calc(var(--height-bar) - 10px);
    width: auto;
    display: flex;
    border-radius: var(--radius-box);
    transition: var(--transition-standard);
}

.head-li-standard:hover{
    background-color: var(--color-background);
    box-shadow: var(--shadow-box);
}

.head-li-standard a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px 0 5px;
    color: var(--color-text-1);
    font-size: var(--size-font-h1);
    font-weight: var(--weight-font-h1);
    text-decoration: none;
}

.head-li-expandable{
    height: calc(var(--height-bar) - 10px);
    width: auto;
    display: flex;
    position: relative;
    border-top-right-radius: var(--radius-box);
    border-top-left-radius: var(--radius-box);
    border-bottom-right-radius: 0%;
    border-bottom-left-radius: 0%;
    transition: var(--transition-standard);
}

.head-li-expandable:hover{
    background-color: var(--color-background);
    box-shadow: var(--shadow-box);    
}

.head-li-expandable input[type="checkbox"]{
    display: none;
}

.head-li-expandable label{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px 0 5px;
    color: var(--color-text-1);
    font-size: var(--size-font-h1);
    font-weight: var(--weight-font-h1);
    cursor: pointer;
}

.head-li-expandable:hover .head-dropdown-ul{
    transform: scale(1,1);
}

.head-dropdown-ul{
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--height-bar) - 10px);
    list-style: none;
    background-color: var(--color-background);
    border-top-right-radius: 0%;
    border-top-left-radius: 0%;
    border-bottom-right-radius: var(--radius-box);
    border-bottom-left-radius: var(--radius-box);
    box-shadow: var(--shadow-box);
    transition: var(--transition-standard);
    transform: scale(0,0);
    z-index: 3;
}

.head-dropdown-li{
    height: calc(var(--height-bar) - 10px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: var(--transition-standard);
}

.head-dropdown-li:last-child{
    border-bottom-right-radius: var(--radius-box);
    border-bottom-left-radius: var(--radius-box);
}

.head-dropdown-li:hover{
    background-color: var(--color-highlight);
}

.head-dropdown-li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5px 0 5px;
    color: var(--color-text-1);
    font-size: var(--size-font-h1);
    font-weight: var(--weight-font-h1);
    text-decoration: none;
}

.banner{
    height: var(--height-banner);
    width: 100%;
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    position: relative;
    top: calc(var(--height-bar)*(-1));
    z-index: -1;    
}

.overlay-1{
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(93, 153, 255, 0.01)50%, rgba(93, 153, 255, 1.00)100%);
}

.main-container{
    height: calc(100vh - var(--height-bar) - var(--height-bar));
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: calc(var(--height-banner) * (-1));
}

footer{
    height: var(--height-bar);
    width: 100%;
    background-image: linear-gradient(rgba(0, 140, 16, 0.01)5%, rgba(0, 140, 16, 1.00)100%);
    position: relative;
    top: calc(var(--height-banner)*(-1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-content{
    height: 100%;
    width: var(--width-content);
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-copyright{
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.foot-copyright p{
    color: var(--color-text-1);
    font-size: var(--size-font-p);
}

.foot-legal{
    height: 100%;
    width: 50%;
}

.foot-legal-ul{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
}

.foot-legal-li{
    height: 100%;
    width: auto;
    display: flex;
    margin: 0 5px 0 5px;
}

.foot-legal-li:last-child{
    margin: 0 0 0 5px;
}

.foot-legal-li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px 0 5px;
    color: var(--color-text-1);
    font-size: var(--size-font-p);
    text-decoration: none;
}

.foot-legal-li a:hover{
    text-decoration: underline;
}

@media screen and (max-width: 1245px){
    .head-content{
        width: var(--width-content-1245);
    }

    .head-li-standard a{
        font-size: var(--size-font-h1-1245);
    }

    .head-li-expandable label{
        font-size: var(--size-font-h1-1245);
    }

    .head-dropdown-li a{
        font-size: var(--size-font-h1-1245);
    }

    .foot-content{
        width: var(--width-content-1245);
    }

    .foot-copyright p{
        font-size: var(--size-font-p-1245);
        padding-left: 10px;
    }

    .foot-legal-li a{
        font-size: var(--size-font-p-1245);
    }

    .foot-legal-li:last-child{
        padding-right: 10px;
    }
}

@media screen and (max-width: 768px){
    .toggle-button{
        display: flex;
    }

    nav input[type="checkbox"]:checked ~ .toggle-button .bar1{
        transform: translateY(6px) rotate(-45deg);
    }

    nav input[type="checkbox"]:checked ~ .toggle-button .bar2{
        opacity: 0;
    }

    nav input[type="checkbox"]:checked ~ .toggle-button .bar3{
        transform: translateY(-6px) rotate(45deg);
    }

    nav input[type="checkbox"]:checked ~ .head-ul{
        right: 0;
        transform: scale(1,1);
    }
    
    .head-ul{
        height: min-content;
        width: 75%;
        background-color: var(--color-menu-mobile);
        display: block;
        position: absolute;
        top: calc(var(--height-bar) - 10px);
        right: -75%;
        z-index: 2;
        border-bottom-left-radius: var(--radius-box);
        border-top-left-radius: var(--radius-box);
        transition: var(--transition-standard);
        transform: scale(0,1);
    }
    
    .head-li-standard:hover{
        background: none;
        box-shadow: none;
        border-radius: 0%;
    }

    .head-li-standard a{
        padding: 0;
    }

    .head-li-expandable{
        height: min-content;
        display: block;
        position: static;
    }

    .head-li-expandable:hover{
        background: none;
        box-shadow: none;
        border-radius: 0%;
    }

    .head-li-expandable:hover .head-dropdown-ul{
        transform: none;
    }

    .head-li-expandable label{
        height: calc(var(--height-bar) - 10px);
        transition: var(--transition-standard);
        padding: 0;
    }

    .head-li-expandable input[type="checkbox"]:checked ~ .head-dropdown-ul{
        display: block;
    }

    .head-dropdown-ul{
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0%;
        transform: none;
    }

    .head-dropdown-li{
        display: block;
        position: static;
    }

    .head-dropdown-li:hover{
        background: none;
    }

    .head-dropdown-li a{
        justify-content: center;
        padding: 0;
    }

    .foot-content{
        flex-direction: column-reverse;
    }

    .foot-copyright{
        height: 50%;
        width: 100%;
        justify-content: center;
    }

    .foot-copyright p{
        padding: 0;
    }

    .foot-legal{
        height: 50%;
        width: 100%;
    }

    .foot-legal-ul{
        justify-content: center;
    }

    .foot-legal-li:last-child{
        margin: 0;
        padding: 0;
    }

    .foot-legal-li a:hover{
        text-decoration: none;
    }
}