@font-face {
    font-family: Rota-Regular;
    src: url(/fonts/Rota/Rota-Regular.otf);
}

@font-face {
    font-family: MusticaPro-SemiBold;
    src: url(/fonts/Mustica/Mustica/MusticaPro-SemiBold.otf);
}

@font-face {
    font-family: Lato;
    src: url(/fonts/Lato/Lato-Regular.ttf);
}


:root{
    --Rota: "Rota-Regular";
    --Mustica: "MusticaPro-SemiBold";
    --Lato: "Lato";
}

body{
    margin: 0;
}

p, li{
    font-size: 1.4em;
    color: hsl(0, 0%, 15%);
    font-family: var(--Lato);
    
}

h3{
    font-size: 1.5em;
    color: black;
    text-shadow: 1px 1px hsl(0, 0%, 15%);
    text-transform: uppercase;
    font-family: var(--Lato);
}

h1{
    font-size: 2em;
    font-family: var(--Lato);
    font-weight: bolder;
    color: hsl(0, 0%, 15%);
    text-shadow: 4px 4px yellow;
}

header{
    height: 12vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #29acf8;
    font-family: var(--Mustica);
    position: sticky;
    top: 0;
}
    .headerLogo{
        height: 8vh;
        padding: 0.5em;
    }
    .menuList{
        list-style: none;
        display: flex;
    }
        .menuList>a{
            font-size: 1.2em;
            margin: 1.5em;
            text-decoration: none;
            color: white;
            border-bottom: dashed white 3px;
            transition: 0.4s;
            text-transform: uppercase;
        }
        .menuList>a:hover{
            border-bottom: dashed hsl(0, 0%, 15%) 3px;
            color: hsl(0, 0%, 15%)
        }

.section1{
    display: flex;
    justify-content: center;
    background-image: url(/img/oNas/road-166543_1920.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.section2{
    display: flex;
    justify-content: center;
    background-image: url(/img/oNas/car-2545442_1280.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 25vh 0;
        background-color: hsla(202, 94%, 57%, 0.8);
        max-width: 75vw;
        padding: 2em;
        box-shadow: 10px 10px 17px black;;
    }
        .wrapper{
            display: flex;
            align-items: center;
        }

        .jpeg{
            width: 40%;
            padding: 5%;
        }

@media all and (max-width: 768px) {
    h1{
        font-size: 1.5em;
    }

    p, li{
        font-size: 1em;
    }
    h3{
        font-size: 1.2em;
    }
    
    header{
        justify-content: center;
    }
        .menu_Header{
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #29acf8;

        }
            .menuList{
                justify-content: space-evenly;
                padding: 0;
            }
                .menuList>a{
                    font-size: 0.8em;
                        margin: 0;
                    }
    .container{
        max-width: none;
    }
        .wrapper{
            flex-direction: column;
        }
            .jpeg{
                width: 60%;
            }
    
}