* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    scroll-behavior: smooth;
}

:root {
    --lurji: #3462bd;
    --gia-lurji: #67baff;
    --stafilosferi: #f7c775;
    --shavi: #000000;
    --tetri: #FCFEFE;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 5px; 
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--gia-lurji);
    border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--lurji);
}

body {
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}


/* header */

.head-main  {
    width: 100%;
    height: 70px;
    background-color: var(--tetri);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6em 0 6em;
    position: fixed;
    top: 0;
    z-index: 99999;
}

.head-main .logo p {
    font-size: 36px;
    color: var(--stafilosferi);
    font-weight: 600;
}

.head-main .logo span {
    font-size: 36px;
    color: var(--gia-lurji);
    font-weight: 600;
}

.head-main .emergency {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency .main {
    display: flex;
    gap: 7px;
    padding: 0 0 0 3em;
}

.emergency .main img {
    width: 25px;
    height: auto;
}

.main .location_text, .emergency_text {
    color: var(--lurji);
    font-size: 16px;
    font-weight: 600;
}

.main .location_number, .emergency_number {
    color: var(--gia-lurji);
    font-size: 16px;
    font-weight: 600;
}

/* nav */

nav {
    width: 100%;
    height: 70px;
    background-color: var(--lurji);
    padding: 0 10em 0 10em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 70px;
    z-index: 999999;
    box-shadow: -1px 14px 20px 0px #00000038;
}

.navbar {
    width: 34px;
    height: 34px;
    display: none;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav ul li {
    display: inline-block;
    padding-right: 1em;
}

nav ul li a {
    color: var(--tetri);
    text-decoration: none;
    font-size: 18px;
    transition: 0.4s color;
    font-weight: 500;
    position: relative;
}

nav .rela li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: white;
    border-radius: 30px;
    top: 130%;
    transform: translate(-50%, -50%);
    left: 50%;
    transition: width 0.3s ease;
}

nav .rela li a:hover::after {
    width: 100%;
}

nav .padnon {
    padding: 0;
}

nav .button {
    background-color: var(--stafilosferi);
    padding: 0.4em 1.3em 0.4em 1.3em;
    border-radius: 5em;
    color: white;
    box-shadow: 0 3px 8px 10px rgba(0, 0, 0, 0.157);
    width: 230px;
    height: 40px;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: .3s ease;
}

nav .button:hover {
    transform: translateY(-2px);
    background-color: #f5bf61;
}


/* language change */

.course {
    gap: 1em;
}

#relative {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined {
    color: var(--tetri);
    cursor: pointer;
}

#click-active {
    font-size: 28px;
}

#switch-language {
    position: absolute;
    width: 100px;
    height: 70px;
    background-color: var(--lurji);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    right: -35px;
    top: 175.2%;
    gap: 5px;
    padding: 0.3em;
    z-index: 9999;
    border-radius: 0 0 8px 8px;
}

.remove {
    padding: 0;
}

#switch-language.active {
    display: flex;
}

/* responsive */

@media(max-width: 1270px) {
    .head-main, nav {
        padding: 0 5em 0 5em;
    }
}

@media(max-width: 1110px) {
    .head-main .logo p, .head-main .logo span {
        font-size: 27px;
    }
}

@media(max-width: 900px) {
    .navbar {
        display: block;
        position: relative;
        cursor: pointer;
    }
    .rela {
        position: absolute;
        width: 180px;
        height: 310px;
        flex-direction: column;
        background-color: var(--lurji);
        top: 100%;
        left: -150%;
        transition: .8s left, 2.5s opacity, 2s box-shadow;
        gap: 25px;
        border-radius: 0 0 10px 0;
        opacity: 0;
    }
    .rela.active {
        left: 0%;
        opacity: 1;
    }
    nav ul li a {
        font-size: 20px;
    }
    .button {
        font-size: 20px;
    }
    .head-main, nav {
        padding: 0 3em 0 3em;
    }
    .head-main .emergency {
        display: none;
    }
    nav .button {
        background-color: var(--stafilosferi);
        padding: 0.4em .5em 0.4em .5em;
        border-radius: 5em;
        color: white;
        box-shadow: none;
        width: 155px;
        height: 45px;
        font-size: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media(max-width: 500px) {
    .rela {
        width: 160px;
    }
    nav ul li a {
        font-size: 18px;
    }
}

@media(max-width: 550px) {
    .head-main .logo p, .head-main .logo span {
        font-size: 30px;
    }
    .head-main, nav {
        padding: 0 2em 0 2em;
    }
}