/*RESET*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #343434;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/*NAV*/
nav {
    position: absolute;
    top: 5%;
    width: 100%;
    text-align: center;
}

.nav-logo img {
    width: 40vw;
    filter: invert(1);
}

.nav-desktop {
    display: none;
    font-size: 14px;
    color: #343434;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    background-color: #ffffff;
}

.nav-desktop a {
    padding: 6px;
    font-family: Lato, serif;
    font-weight: 400;
    text-transform: uppercase;
}

.nav-desktop a.active {
    text-decoration: underline;
}

.nav-desktop.show {
    display: flex;
}

.nav-mobile {
    font-size: 2rem;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.nav-mobile i {
    color: #ffffff;
    transition: opacity 1s;
    background-image: url("../assets/png/burger.png");
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    display: block;
}

.nav-mobile  i:hover {
    cursor: pointer;
    opacity: 0.6;
}

/*HERO*/
.hero {
    background-image: url('../assets/jpg/banner1920.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: 80vw;
    filter: invert(1);
}

.hero-scroll {
    font-size: 1.3rem;
    font-family: Lato, serif;
    position: absolute;
    top: 79vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    text-align: center;
}

.hero-scroll p {
    color: #ffffff;
    font-weight: 900;
}

.hero-scroll i {
    color: #ffffff;
    margin-top: 0;
    width: 50px;
    height: 50px;
    background-image: url("../assets/png/arrow_down.png");
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s;
    animation: arrow-pulse-down 1s linear infinite;
}

@keyframes arrow-pulse-down {
    0% {
        margin-top: 0;
        opacity: 1;
    }
    25% {
        opacity: .75;
    }
    50% {
        opacity: .5;
    }
    75% {
        opacity: .25;
    }
    100% {
        margin-top: 20px;
        opacity: 0;
    }
}




.hero-scroll i:hover {
    cursor: pointer;
    opacity: 0.6;
}

/*ARTICLE*/
article {
    width: 100%;
    padding: 20px;
}

/*SECTIONS*/
section {
    margin-top: 50px;
}

section .main {
    font-family: Playfair Display, 'serif';
    font-weight: 400;
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 80px;
    padding-left: 30px;
}

section .second {
    font-family: Lato, 'serif';
    font-weight: 300;
    color: #343434;
    font-size: 1.4rem;
    margin-top: 50px;
}

section .link {
    display: block;
    font-family: Lato, 'serif';
    font-weight: 400;
    color: #343434;
    font-size: 1.4rem;
    margin-top: 50px;
    text-transform: uppercase;
}

section .link i {
    display: inline-block;
    width: 30px;
    height: 16px;
    background-image: url("../assets/png/arrow_right.png");
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 20px;
    animation: arrow-pulse-right 1s linear infinite;
    position: relative;
    top: 4px;
}

@keyframes arrow-pulse-right {
    0% {
        margin-left: 20px;
        opacity: 1;
    }
    25% {
        opacity: .75;
    }
    50% {
        opacity: .5;
    }
    75% {
        opacity: .25;
    }
    100% {
        margin-left: 40px;
        opacity: 0;
    }
}

section.dagobert .background {
    width: 100%;
    height: auto;
    position: relative;
}

section.dagobert .background img {
    width: 86%;
    height: 100%;
}

section.dagobert .background::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 30px;
    background-color: #e7fbfd;
    z-index: -10;
    width: 86%;
    height: 100%;
}

section.nantilde {
    margin-top: 120px;
}

section.nantilde .background {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

section.nantilde .background img {
    width: 86%;
    height: 100%;
}

section.nantilde .background::before {
    content: "";
    position: absolute;
    top: -30px;
    right: 30px;
    border: 4px solid #343434;
    z-index: -10;
    width: 86%;
    height: 100%;
}

section.clovis {
    margin-top: 100px;
}

section.clovis .background {
    width: 100%;
    height: auto;
    position: relative;
}

section.clovis .background img {
    width: 86%;
    height: 100%;
}

/*ADDRESS*/
address {
    background-color: #343434;
    margin-top: 80px;
    padding: 60px 20px;
}

address p {
    font-family: Playfair Display, 'serif';
    font-weight: 700;
    font-size: 2rem;
    font-style: normal;
    color: #ffffff;
}

address .form {
    margin: 40px 0 60px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

address .form label {
    color: #ffffff;
    font-family: Lato, 'serif';
    font-weight: 400;
    font-size: 0.9rem;
    font-style: normal;
    width: 50%;
}

address .form select {
    width: 50%;
    color: #ffffff;
    font-family: Lato, 'serif';
    font-weight: 700;
    font-size: 0.9rem;
    font-style: normal;
    background-color: #343434;
    border: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../assets/png/arrow_selector.png');
    background-position: right;
    background-repeat: no-repeat;
}

address .form option {
    color: #ffffff;
}

address a {
    display: block;
    color: #ffffff;
    font-family: Lato, 'serif';
    font-weight: 300;
    font-size: 0.9rem;
    font-style: normal;
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    border: 1px solid #ffffff;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.5s;
}

address a:hover {
    color: #343434;
    background-color: #ffffff;
}

/*FOOTER*/
footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .info p {
    position: relative;
    margin: 12px 40px 12px 76px;
    color: #333333;
    font-family: Lato, 'serif';
    font-weight: 400;
    font-size: 1rem;
}

footer .info p:before {
    content: "";
    position: absolute;
    width: 20px;
    border-top: 1px solid #333333;
    top: 10px;
    left: -26px;
}

footer .additional-logo {
    display: flex;
    align-self: center;
    margin-top: 10px;
}

footer .additional-logo img {
    width: 200px;
    height: auto;
    transition: opacity 0.5s;
}

footer .additional-logo img:hover {
    opacity: 0.6;
}

footer .social {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

footer .social a {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #9d9d9d;
    border-radius: 50%;
    margin: 0 10px;
    position: relative;
    transition: all 1s;
}

footer .social a:hover {
    background-color: #9d9d9d;
}

footer .social a:before {
    position: absolute;
    color: #5e5e5e;
    top: 10px;
    left: 14px;
    transition: all 0.5s;
}

footer .social a:hover:before {
    color: #ffffff;
}

footer .social a.twitter:before {
    font-family: "Font Awesome 5 Brands", serif;
    font-weight: 400;
    content: "\f099";
}

footer .social a.facebook:before {
    font-family: "Font Awesome 5 Brands", serif;
    font-weight: 400;
    content: "\f39e";
}

footer .social a.linkedin:before {
    font-family: "Font Awesome 5 Brands", serif;
    font-weight: 400;
    content: "\f0e1";
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { }

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    /*NAV*/
    nav {
        top: 0;
        display: flex;
        flex-direction: row;
        height: 90px;
    }

    .nav-mobile {
        display: none;
    }

    .nav-desktop {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        font-size: 14px;
        flex: 2;
    }

    .nav-logo {
        padding: 8px 20px 8px 60px;
        background-color: #ffffff;
        display: flex;
        align-items: center;
        flex: 1;
    }

    .nav-logo img {
        width: 160px;
        height: 32px;
        filter: invert(0);
    }

    /*HERO*/
    .hero-logo img {
        width: 70vw;
    }

    .hero-scroll {
        font-size: 12px;
        top: 88vh;
    }

    /*ARTICLE*/
    article {
        padding: 20px 100px;
    }

    /*SECTIONS*/
    section .main {
        font-size: 32px;
        line-height: 43px;
        margin-bottom: 120px;
    }

    section .background::before {
        width: 270px !important;
        height: 240px !important;
    }

    section .background img {
        width: 270px !important;
        height: 240px !important;
    }

    section .second {
        font-size: 20px;
    }

    section .link {
        font-size: 12px;
        margin-top: 20px;
    }

    section.dagobert {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            'dagobert-main dagobert-main'
            'dagobert-background .'
            'dagobert-background dagobert-second'
            'dagobert-background dagobert-link';
    }

    section.dagobert .main {
        grid-area: dagobert-main;
    }

    section.dagobert .background {
        grid-area: dagobert-background;
    }

    section.dagobert .second {
        grid-area: dagobert-second;
        margin-left: 26px;
    }

    section.dagobert .link {
        grid-area: dagobert-link;
        margin-left: 26px;
    }

    section.nantilde {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
                'nantilde-main nantilde-main'
                '. nantilde-background'
                'nantilde-second nantilde-background'
                'nantilde-link nantilde-background';
    }

    section.nantilde .main {
        grid-area: nantilde-main;
    }

    section.nantilde .background {
        grid-area: nantilde-background;
    }

    section.nantilde .second {
        grid-area: nantilde-second;
        margin-right: 26px;
    }

    section.nantilde .link {
        grid-area: nantilde-link;
        margin-right: 26px;
    }


    section.clovis {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
                'clovis-main clovis-main'
                'clovis-background .'
                'clovis-background clovis-second'
                'clovis-background clovis-link';
    }

    section.clovis .main {
        grid-area: clovis-main;
    }

    section.clovis .background {
        grid-area: clovis-background;
    }

    section.clovis .second {
        grid-area: clovis-second;
        margin-right: 26px;
    }

    section.clovis .link {
        grid-area: clovis-link;
        margin-right: 26px;
    }

    /*ADDRESS*/
    address {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
                'address-p address-p address-form address-mailto';
        align-items: center;
    }

    address p {
        grid-area: address-p;
        padding-left: 50px;
    }

    address .form {
        grid-area: address-form;
        margin: 0 10px;
    }



    address a {
        grid-area: address-mailto;
        margin: 0 20px;
        width: auto;
        height: 40px;
        max-width: 190px;
        font-size: 10px;
        padding: 30px 40px;
        line-height: 0;
        justify-self: center;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    /*HERO*/
    .hero-logo img {
        width: 810px;
        height: 163px;
        max-width: 810px;
        max-height: 163px;
    }

    /*SECTIONS*/
    section .background::before {
        width: 350px !important;
        height: 350px !important;
        top: -60px !important;
    }

    section .background img {
        width: 350px !important;
        height: 350px !important;
    }

    section.dagobert {
        grid-template-areas:
            'dagobert-main .'
            'dagobert-background .'
            'dagobert-background dagobert-second'
            'dagobert-background dagobert-link'
    }

    section.nantilde {
        grid-template-areas:
                '. nantilde-main'
                '. nantilde-background'
                'nantilde-second nantilde-background'
                'nantilde-link nantilde-background'
    }

    section.clovis {
        grid-template-areas:
                'clovis-main .'
                'clovis-background .'
                'clovis-second clovis-background'
                'clovis-link clovis-background'
    }

    section.dagobert .background::before {
        left: 60px;
    }

    section.nantilde .background::before {
        right: 60px;
    }

    /*ADDRESS*/
    address p {
        font-size: 50px;
        line-height: 49px;
        padding-left: 80px;
    }

    address a {
        width: 160px;
    }

    address .form label {
        font-size: 22px;
    }

    address .form select {
        font-size: 22px;
    }

    /*FOOTER*/
    footer {
        flex-direction: row;
        padding: 20px 100px;
    }

    footer .info {
        flex: 3;
        flex-direction: row;
    }

    footer .additional-logo {
        position: relative;
        top: 8px;
        left: 20px;
        margin-top: 0;
    }

    footer .info p {
        margin: 20px;
        font-size: 12px;
        line-height: 21px;
    }

    footer .social {
        flex: 1;
        justify-content: flex-end;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    /*SECTIONS*/
    section .background::before {
        width: 450px !important;
        height: 450px !important;
    }

    section .background img {
        width: 450px !important;
        height: 450px !important;
    }

    /*ADDRESS*/
    address a {
        width: 190px;
    }

    /*FOOTER*/
    footer .info {
        flex: 2;
        justify-content: flex-start;
    }

    footer .info p {
        margin-left: 58px;
    }

    footer .info p:before {
        width: 40px;
        left: -46px;
    }
}

@media (min-width: 1500px) {
    /*SECTIONS*/
    section .background::before {
        width: 600px !important;
        height: 600px !important;
    }

    section .background img {
        width: 600px !important;
        height: 600px !important;
    }

    /*FOOTER*/
    footer .info p {
        margin-left: 58px;
    }
}