/**
 * The Fonts Faces
 */
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-Medium.ttf);
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-SemiBold.ttf);
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-Bold.ttf);
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat-Light.ttf);
    font-weight: 200;
    font-style: normal;
}



/**
 * The Main styles
 */
:root {
    --main-color: #205653;
    --bg-color: #faebe6;

    --main-font: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --spacing-wrapper: 40px;
    --spacing-gap: 70px;

    --z-menu: 1001;
    --z-menu-link: 1002;
    --z-header: 2001;
}

body {
    width: 100%;
    margin: 0;
    font-size: 16px;
    color: #404545;
    font-family: var(--main-font);
    background-color: #ffffff;
}
h1, h2, h3, h4, h5, p {
    margin: 0;
}
img {
    display: block;
}

.no-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-wrapper);
}
.wrapper-small {
    max-width: 1020px;
}



/**
 * Links
 */
.opacity,
.opacity img {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.opacity:hover,
.opacity img:hover {
    opacity: 0.5;
}



/**
 * Header
 */
.header {
    background-color: var(--main-color);
    padding: 30px 0 20px;
}
.header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
h1 img {
    width: 220px;
}

.social {
    display: flex;
    gap: 10px;
    text-transform: uppercase;
}
.social img {
    display: block;
    width: 50px;
}



/**
 * Hero
 */
.hero {
    display: flex;
    align-items: center;
    min-height: 600px;
    border-top: 8px solid white;
    border-bottom: 16px solid var(--main-color);
    background-image: url(../images/hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero .wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
}
.hero section {
    width: 50%;
}

.hero h1,
.hero h3,
.hero h4 {
    color: white;
    font-weight: 500;
}
.hero h1 {
    font-size: 56px;
    margin-top: 20px;
}
.hero h1:last-child {
    color: var(--bg-color);
    font-size: 50px;
}
.hero h3 {
    font-size: 28px;
}
.hero h4 {
    padding: 4px 8px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.6);
}



/**
 * Hero Form
 */
.hero form {
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.form-field {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
}

input[type="text"],
input[type="mail"],
input[type="tel"],
select {
    display: block;
    color: black;
    border: 1px solid white;
    background-color: white;
    border-radius: 0;
    padding: 8px;
    font-size: 16px;
    font-family: var(--main-font);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}
input[type="text"]:focus, input[type="text"]:hover,
input[type="mail"]:focus, input[type="mail"]:hover,
input[type="tel"]:focus,  input[type="tel"]:hover,
select:focus, select:hover {
    border-color: black;
    outline: none;
}

button {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 6px 12px;
    border: 1px solid black;
    border-radius: 0;
    background-color: black;
    color: white;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
button:hover,
button:focus {
    background-color: white;
    color: black;
    outline: none;
}

.form-success {
    display: none;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 5px;
    background-color: var(--main-color);
    color: white;
    font-weight: normal;
    text-align: center;
}
.form-recaptcha,
.form-fail {
    display: none;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #c71f37;
    color: white;
    font-weight: normal;
    text-align: center;
}
.form-error.form-error {
    display: none;
    padding: 5px;
    background-color: #c71f37;
    color: white;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}
.grecaptcha-badge {
    margin: 0 auto 16px;
}


/**
 * About
 */
.about {
    padding: 40px 0;
    background-color: var(--bg-color);
}
.about ol {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.about ol li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 190px;
    text-align: center;
    font-weight: 500;
}
.about ol li img {
    width: 120px;
}



/**
 * Info
 */
.info {
    padding: 70px 0 90px;
    background-color: var(--main-color);
    color: white;
    text-align: center;
}
.info h2 {
    font-size: 36px;
    margin-bottom: 40px;
}
.info p {
    font-size: 24px;
}
.info p:last-child {
    margin-top: 32px;
    font-weight: bold;
}



/**
 * Rights
 */
.rights {
    padding: 50px 0 90px;
}
.rights h2 {
    font-size: 36px;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 35px;
}

.rights section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}
.rights section div:first-child {
    flex-shrink: 0;
}

.rights h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 26px;
}
.rights img {
    width: 260px;
    max-width: 100%;
}
.rights section p {
    text-align: justify;
}

.rights h4 {
    margin: 90px 0 65px;
    padding: 0 6px;
    background-image: linear-gradient(to bottom, white 8%, black 8%, black 92%, white 92%);
    background-size: 100% 35px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    line-height: 35px;
    text-align: center;
}
.rights ol {
    margin-bottom: 0;
    padding-left: 20px;
}
.rights .wrapper > p {
    font-size: 19px;
    font-weight: bold;
}



/**
 * Quotation
 */
.quotation {
    padding: 45px 0 60px;
    background-color: var(--main-color);
    text-align: center;
}
.quotation h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fbede9;
}
.quotation .btn {
    display: inline-block;
    color: white;
    padding: 8px 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    transition: all 0.2s;
}
.quotation .btn:hover {
    color: var(--main-color);
    border-color: white;
    background-color: white;
}



/**
 * Contact
 */
.contact {
    display: grid;
    grid-template-columns: 350px 1fr;
    margin-top: 10px;
    padding-left: calc((100vw - 1020px) / 2);
    background-color: var(--bg-color);
}

.contact section:first-child {
    padding-left: var(--spacing-wrapper);
}
.contact h4 {
    margin: 40px 0 50px;
    font-size: 24px;
    color: var(--main-color);
}
.contact h5 {
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--main-color);
}
.contact li {
    margin-bottom: 30px;
}
.contact a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--main-color);
    text-decoration: none;
}
.contact p {
    margin-left: 30px;
    padding-bottom: 30px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
}
.contact img {
    width: 30px;
}

.contact section:last-child {
    background-image: url("../images/contact-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



/**
 * Footer
 */
.footer {
    padding: 15px 0;
    color: white;
    background-color: var(--main-color);
}
.footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer section {
    display: flex;
    align-items: center;
    gap: 40px;
}
.footer h1 img {
    width: 150px;
}
.footer p {
    color: #fbede9;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 2px;
}
.social-footer img {
    width: 40px;
}



/**
 * The Floater
 */
.floater {
    box-sizing: border-box;
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 54px;
    font-size: 56px;
    line-height: 1;
    border-radius: 50%;
    background-color: var(--main-color);
    transition: transform 0.2s;
}
.floater img {
    width: 90%;
}
.floater:hover {
    transform: rotate(20deg);
}



/**
 * Media Queries
 */
@media screen and (max-width: 1300px) {
    .footer .wrapper {
        padding-right: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 50px;
    }
    .hero h1:last-child {
        font-size: 44px;
    }
    .hero h3 {
        font-size: 26px;
    }
}

@media screen and (max-width: 1050px) {
    .hero h1 {
        font-size: 45px;
    }
    .hero h1:last-child {
        font-size: 38px;
    }
    .hero h3 {
        font-size: 24px;
    }
}

@media screen and (max-width: 950px) {
    .hero h1 {
        font-size: 40px;
    }
    .hero h1:last-child {
        font-size: 35px;
    }
    .hero h3 {
        font-size: 24px;
    }
    .hero h4 {
        font-size: 16px;
    }

    .info h2,
    .rights h2 {
        font-size: 30px;
    }
    .info p,
    .rights h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 850px) {
    .hero .wrapper {
        flex-direction: column;
        padding: var(--spacing-wrapper);
        gap: var(--spacing-wrapper);
    }
    .hero section {
        width: 100%;
        max-width: 450px;
    }

    .about ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .about ol li {
        max-width: 100%;
    }

    .quotation h2 {
        font-size: 35px;
    }
}

@media screen and (max-width: 800px) {
    :root {
        --spacing-wrapper: 30px;
    }

    .footer .wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .footer .wrapper section {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 600px) {
    .rights section {
        flex-direction: column;
        gap: 20px;
    }
    .rights img {
        margin: 0 auto;
    }
    .rights h3 {
        text-align: center;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .rights h4 {
        margin: 50px 0;
        font-size: 18px;
        line-height: 30px;
        background-size: 100% 30px;
    }

    .contact {
        grid-template-columns: 1fr;
    }
    .contact section:last-child {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .footer .wrapper {
        gap: 20px;
    }
    .footer .wrapper section {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .footer p {
        font-size: 12px;
    }
}

@media screen and (max-width: 500px) {
    :root {
        --spacing-wrapper: 20px;
    }

    h1 img {
        width: 200px;
    }
    .social-header img {
        width: 40px;
    }
}

@media screen and (max-width: 400px) {
    h1 img {
        width: 100%;
        max-width: 180px;
    }
    .social-header img {
        width: 30px;
    }

    .hero h1,
    .quotation h2 {
        font-size: 35px;
    }
    .hero h1:last-child {
        font-size: 30px;
    }
    .info h2,
    .rights h2 {
        font-size: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --spacing-wrapper: 15px;
    }

    .hero h1,
    .quotation h2 {
        font-size: 30px;
    }
}
