/* STYLE HOUSE */
@import url(article.css);

/*-- FONT --*/
@font-face {
    font-family: "Lustria";
    src: url("../fonts/Lustria-Regular.ttf");
}

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

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li {
    list-style-type: none;
}

a {text-decoration: none;}

img {
    max-width:100%;
}


html {font-size: 62.5%;}

body {
    font-family: 'Lato', sans-serif;
}

/* HEADER */
.header {
    background-color: #2d3951;
    height: 10rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display:flex;
    justify-content: space-between;
    padding: 0 2rem;
    align-items: center;
}

.header .navbar {
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 1rem;
    z-index:100;
}

.header .navbar ul a {
    border:solid 1px #dedc55;
    padding: 1rem 2rem;
    color: #dedc55;
    font-size: 2rem;
}

.header .navbar ul a:hover {
    border:solid 1px #dedc55;
    color: #2d3951;
    background-color: #dedc55;
    font-size: 2rem;
}

/*-- NAVBAR --*/
.navbar ul {
    display:flex;
    gap: 2rem;
}

/* HERO */
.hero {
    color: #fff;
    max-width: 80rem;
    margin: 1rem auto;
    position: relative;
}

.hero-txt h1 {
    font-family: 'Lustria', serif;
    font-size: 4rem;
}

.hero-txt p {
    margin: 2rem 0;
    font-size: 1.5rem;
}

.hero-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    text-align: center ;
}

.btn-learn-more {
    padding: 1rem 3rem;
    border: solid 2px #fff;
    background-color: #dedc55;
    font-family: 'Lustria',serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
}

/*-- HERO --*/
.hero img {
    filter: brightness(0.5);
}

.hero img:hover {
    filter:none;
}

/* HOUSES */
.articles {
    background-color: #2d3951;
    padding: 8rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}


/* CONTACT */
.contact {
    background-color: #fff;
}

.contact form {
    max-width: 80rem;
    margin: 8rem auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.contact form .wrap {
    display:flex;
    justify-content: space-between;
    gap: 2rem;
}

.contact form .wrap input {
    width: 100%;
    background-color: #2d3951;
    border: 0;
    padding: 2rem 2rem;  
    color:#fff;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: inherit;
}

.contact form textarea {
    border: 0;
    padding: 2rem 2rem;  
    color:#fff;
    background-color: #2d3951;
    display:block;
    margin-top :1.5rem;
    width: 100%;
    height: 20rem;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: inherit;
}

.contact form input[type="submit"] {
    display:block;
    margin: 1.5rem auto;
    text-transform: lowercase;
    border: 2px solid #2d3951;
    padding: 1rem 8rem;
    border-radius: 5px;
    background-color: #dedc55;
    color: #2d3951;
    width: 100%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: inherit;
}

/* FOOTER */
footer {
    background-color: #2d3951;
    color: #fff;
    font-size: 2rem;
    height: 20rem;
    text-align: center;
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

footer h3 {
    font-size: 1.8rem;
    text-transform:uppercase;
    margin-bottom: 1rem;
}


/*-- RESPONSIVE --*/
@media screen and (max-width: 50rem) {
    /* NAVBAR */
    .header .navbar ul a {
        border:none;
        border-bottom:solid 1px #dedc55;
    }

    /* HERO */
    .hero {
        margin-top: 0;
    }

    .hero-txt {
        display: none;
    }

    .hero img {
        filter: brightness(1);
    }

    /* ARTICLE */
    .articleContent h1 {
        font-size: 1.6rem;
    }
    .article {
        flex-direction: column;
    }

    .articleImg, .articleImg-inverse {
        width: 100%;
        border-radius: 1rem 1rem 0 0;
    }

    .articleContent {
        width: 80.5%;
    }

    .contact form {
        margin: 4rem auto;
    }

    .contact form .wrap {
        flex-direction: column;
    }

}
