:root {
    /* --base-width: 1000px; */
    --main-color: #10B49A;
}

body {
    background: black;
    margin:0;
    padding:0;
    /* overflow-x: hidden; */
    font-family: "averta-light";
}

a {
    color:black;
    text-decoration: none;
}

a:hover {
    color: var(--main-color);
}

h1, h2, h3 {
    font-family: "avertastd-regular";
    font-weight: normal;
}

h1 {
    font-size:30px;
}

h2 {
    font-size:26px;
}

h3 {
    font-size:22px;
}

p, li, input, select, textarea {
    font-size: 20px;
}

p:first-of-type {
    text-indent: 10px;
}

p:last-of-type {
    margin-bottom:0;
}

header {
    position: fixed;
    z-index:10;
    width:100%;
    top:0;
    left:0;
    background-color: transparent;
    transition: all 0.5s ease-in-out;
}
    header nav {
        position:relative;
        width:100%;
        height:100%;
    }
    header a.logo {
        cursor: pointer;
        transition: all 0.5s ease-in-out;
        position: absolute;
        top:10vw;
        left:10vw;
        display: block;
        width:80vw;
        margin:auto;
    }
    header a.logo img {
        width:100%;
        transition: all 0.5s ease-in-out;
        margin:auto;
    }
    header a.social-btn {
        display:block;
        position: absolute;
        width:5vh;
        height:5vh;
        background-size: cover;
        transition: all 0.5s ease-in-out;
    }
    header a.facebook {
        background-image: url(img/facebook-logo.png);
        top:10vw;
        right:calc(15vw + 5vh);
    }
    header a.instagram {
        background-image: url(img/instagram-logo.png);
        top:10vw;
        right:10vw;
    }
    header a.contact {
        display:none;
    }
header.min {
    top:0;
    background-color: black;
    height:9vh;
}
    header.min a.logo {
        top:1vh;
        left:2vh;
        width:30vh;
    }
    header.min a.logo img {
        width:100%;
    }
    header.min a.facebook {
        top:2vh;
        right:9vh;
    }
    header.min a.instagram {
        top:2vh;
        right:2vh;
    }
    /* header.min a.contact {
        display:inline-block;
        position: absolute;
        bottom:5vw;
        right:35vw;
        font-size: calc(0.5rem + 2vw);
        color:var(--main-color);
        font-family: "avertastd-regular";
    } */

footer {
    height:5vh;
    padding-top: 1vh;
    text-align: center;
    background-color: white;
    font-size: 12px;
}

div.parallax-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    width:100%;
    margin:auto;
}

section {
    position: relative;
    width:80vw;
    padding:10vw;
    z-index:5;
    box-shadow: 0px 10px 13px -7px rgba(16,180,153,1);
}
    section:nth-child(even) {
        background-color: black;
        color:white;
        border-color:black;
    }
    section:nth-child(odd) {
        background-color: white;
        color:black;
        border-color: white;
    }

section h1, section h2 {
    margin-top:0;
}

div.img-container {
    display: inline-block;
    position: relative;
    width:80vw;
    min-height: 80vw;
    margin-top: 10vw;
    overflow: hidden;
}
    div.img-container img {
        position: absolute;
        border-top:1px solid var(--main-color);
    }
    div.img-container.width img {
        width:100%;
    }
    div.img-container.height img {
        height:100%;
    }
    div.img-container.bottom img {
        bottom:0;
    }
    div.img-container.top img {
        top:0;
    }
    div.img-container.left img {
        left:0;
    }
    div.img-container.right img {
        right:0;
    }
    
#architecture-interieur .special {
    font-family: "avertastd-regular";
    text-align: center;
    font-size: 24px;
    padding-top: 100px;
}
    #architecture-interieur .special span {
        font-size: 36px;
        color: var(--main-color);
    }

/* PARALLAX IMAGES */
div#header-img {
    background-image:url('img/background-banner_mob.jpg');
    height:50vh;
}

div#after-intro {
    background-image:url('img/background-after-intro_mob.jpg');
    height:30vh;
}

div#during-first-part {
    background-image:url('img/background-during-first-part_mob.jpg');
    height:30vh;
}

div#after-first-part {
    background-image:url('img/background-after-first-part_mob.jpg');
    height:30vh;
}

div#during-second-part {
    background-image:url('img/background-during-second-part_mob.jpg');
    height:30vh;
}

div#after-second-part {
    background-image:url('img/background-after-second-part_mob.jpg');
    height:30vh;
}

/* CONTACT FORM */
form p {
    padding:5px 0;
    position: relative;
}

form p:first-of-type {
    text-indent: 0;
}

form input[type=text], form textarea, form select {
    width:60vw;
}

form input[type=text], form select, form textarea {
    background-color: rgba(16,180,153,0.1);
    border:1px solid darkgrey;
    padding:5px;
    border-radius: 3px;
}

form input[type=button] {
    width:60vw;
    padding:3vw 10vw 3vw 5vw;
    display: block;
    margin:auto;
    cursor:pointer;
    background: url(img/colibri.png) no-repeat right;
    background-color: rgba(16,180,153,0.1);
    background-size: 10vw;
    border:1px solid darkgrey;
    border-radius: 3px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    font-size: 5vw;
}
form input[type=button]:hover {
    background-color: var(--main-color);
    color:white;
}

form .error {
    border-color: red !important;
}

form p.half {
    width:60vw;
    margin-left:10vw;
    margin-right:10vw;
}

form textarea {
    width:100%;
    height:25vh;
}

#formFeedback {
    display:none;
    border:1px solid black;
    border-radius: 3px;
    padding:20px;
    text-align:center;
}
#formFeedback.success, #formFeedback.failure {
    display:block;
}
#formFeedback.success {
    border-color: green;
    color:green;
}
#formFeedback.failure {
    border-color: red;
    color:red;
}
