@import url("normalize.css");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&family=Raleway:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* -------------------- GLOBAL DEFAULTS */

* {
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

img,
video,
iframe {
    max-width: 100%;
    border-radius: 10px;
}

a {
    color: #C12C2C;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #4D4D4D;
}

a:visited {
    color: #891f31;
}

blockquote {
    background-color: #999999;
    border-radius: 10px;
    padding: 15px;
    display: inline-block;
}

blockquote p {
    margin: 0px;
    font-size: 18px;
    font-weight: 500;
}

blockquote p::before {
    content: open-quote;
    font-size: 30px;
}

blockquote p::after {
    content: close-quote;
    font-size: 30px;
}

blockquote cite {
    font-style: italic;
    font-weight: 300;
}

summary {
    background-color: #4D4D4D;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 150px;
    margin: 4px;
    cursor: pointer;
}

details p {
    margin: 0px 10px;
}

.img-responsive {
    display: block;
    max-width: 100%;
    margin: auto;
}

.btn,
.btn:visited,
.email,
.phone,
.sms {
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 4px;
    color: white;
}

.btn-default {
    background-color: #e7e5e5;
    color: black !important;
}

.btn-default:hover,
.form-btn:hover {
    background-color: #999999;
    color: white;
    cursor: pointer;
}

.email {
    background-color: #1aa7f3;
}

.email:hover {
    background-color: #1596dc;
}

.phone,
.sms {
    background-color: #00f700;
}

.phone:hover,
.sms:hover {
    background-color: #05d105;
}

.email:hover,
.phone:hover,
.sms:hover {
    color: white;
}

.icon {
    display: inline-block;
    height: 35px;
    width: 35px;
    margin-right: 10px;
}

.email-icon {
    background: url(../images/email.svg)no-repeat center;
}

.phone-icon {
    background: url(../images/phone.svg)no-repeat center;
}

.sms-icon {
    background: url(../images/sms.svg) no-repeat center;
}

.border {
    border: 2px #999999 solid;
}

select {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    background-color: #f1f1f1;
    border-radius: 10px;
    border: none;
}

/* - Page options*/

.gallery {
    text-align: center;
    font-size: 14px;
}

.gallery p {
    margin: 0px 0px 20px 0px;
}

.content h1,
.content h2 {
    text-align: center;
}

/* - Form captcha*/

.user-cannot-see {
    display: none;
}

/* - Link btn*/

.block-link,
.block-link:visited {
    color: black;
    display: inline-block;
}

.block-link:hover {
    background-color: #e7e5e5;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.8;
}

/* - Icon with text*/

.icon-txt {
    display: flex;
    align-items: center;
    justify-content: right;
}

.icon-txt img {
    margin: 0px 5px;
    width: 20px;
    height: 20px;
}

/* - Contact form*/

form label {
    display: flex;
    color: black;
    font-weight: bolder;
    margin: 20px auto 0px auto;
    width: 100%;
}

.form-input {
    display: flex;
    overflow: visible;
    height: 35px;
    width: 100%;
    margin: auto;
    border: solid 1px #e8e5e5;
    border-radius: 5px;
    background: #e8e5e5;
    color: black;
}

textarea {
    min-height: 100px;
}

.form-btn {
    color: black;
    font-weight: bolder;
    padding: 15px 20px;
    border-radius: 10px;
    background: #e8e5e5;
    justify-content: center;
    display: inline-flex;
    border: none;
}

.form-imputs-btn {
    margin: auto;
    display: block;
    width: 100%;
}


/*Tablette and desktop size only*/
@media screen and (min-width:600px) {
    select {
        display: none;
    }
}

/* -- Desktop size only*/
@media screen and (min-width:800px) {

    body {
        padding: 0px 6px;
    }

    .btn,
    .email,
    .phone,
    .sms,
    .btn:visited {
        justify-content: center;
        display: inline-flex;
    }

    .form-input,
    .form-imputs-btn,
    form label {
        width: 50%;
    }

}

/* -------------------- HEADINGS AND TYPE */

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Oswald', sans-serif;
    margin: 0;
}

h1 {
    font-size: 40px;
    font-weight: 500;
}

h2 {
    font-size: 30px;
    font-weight: 500;
}

h3 {
    font-size: 22px;
    font-weight: 400;
}

h4 {
    font-size: 18px;
    font-weight: 400;
}

h5 {
    font-size: 16px;
    font-weight: 400;
}

/* -------------------- LAYOUTS */

.layout {
    background-color: #fff;
    padding: 2%;
}

.layout-header {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0% 2%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.layout-grid {
    margin: 0px;
    border-radius: 10px;
}

.layout-wide {
    max-width: 1200px;
    margin: 1%;
}

/*Tablette and desktop size only*/
@media screen and (min-width:600px) {
    .layout-header {
        height: 80px;
    }
}

/* -- Desktop size only*/
@media screen and (min-width:800px) {
    .layout-wide {
        margin: auto;
    }

    .layout-grid {
        margin: 6px 0px;
    }

    header {
        display: none;
    }
}

/* -------------------- HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1
}

.logo,
.menu-mobile img {
    width: 40px;
    border-radius: 0px;
}

.menu-mobile {
    position: absolute;
    right: 2%;
    background-color: white;
    border: none;
    padding: 0px;
}

/*Tablette and desktop size only*/
@media screen and (min-width:600px) {

    .logo,
    .menu-mobile img {
        width: 60px;
    }
}

@media screen and (min-width:800px) {
    .logo {
        width: 60%;
    }
}

/* -------------------- NAVIGATION */

.mobile-nav {
    display: none;
}

.mobile-nav.open {
    display: block;
    z-index: 1;
}

nav {
    background-color: rgba(255, 255, 255, 0.90);
    position: fixed;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

main nav {
    display: none;
    position: sticky;
}

nav ul {
    margin: 20px 0px;
    padding: 0px;
    list-style: none;

}

nav ul a {
    display: block;
    color: black;
    font-weight: bold;
    padding: 5px 0px;
}

nav ul a:visited {
    color: black;
}

.mobile-nav ul {
    margin: 0px;
}

.mobile-nav ul a {
    padding: 20px;
    border-top: 1px solid black;
}

.mobile-nav ul li:last-of-type {
    border-bottom: 1px solid black;
}

nav ul a:hover,
nav ul .active {
    background: #e7e5e5;
}

/*Tablette and desktop size only*/
@media screen and (min-width:600px) {

    nav {
        top: 80px;
        box-shadow: none;
    }
}


.social-btn img:hover {
    opacity: 50%;
}

/* -- Desktop size only*/
@media screen and (min-width:800px) {
    nav {
        display: none;
    }

    main nav {
        display: block;
        text-align: center;
        background-color: white;
        top: 6px;
        border-radius: 10px;
    }

    .social-btn {
        margin: 20px 50px;
    }
}

/* -------------------- FOOTER */
.layout-footer {
    align-items: center;
}

.social-btn {
    width: 30%;
}

/* -- Desktop size only*/
@media screen and (min-width:800px) {
    footer {
        display: none;
    }
}

/* -------------------- MODULES */

/* - Grid system*/
.content-item-layout,
.content-item-2col,
.content-item-3col,
.content-item-4col {
    display: grid;
}

.content-item-layout {
    grid-template-columns: 0px 1fr;
}

.content-item-4col {
    grid-template-columns: 1fr 1fr;
    grid-gap: 4px;

}

.social-btn {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
    margin: 5px auto;
    width: 50%
}

/* -- Desktop size only*/
@media screen and (min-width:800px) {

    /* - Grid system*/
    .content-item-2col,
    .content-item-3col,
    .content-item-4col {
        grid-gap: 20px;
    }

    .content-item-layout {
        grid-template-columns: 250px auto;
        grid-gap: 6px;
    }

    .content-item-2col {
        grid-template-columns: 1fr 1fr;
    }

    .content-item-3col {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .content-item-4col {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .social-btn {
        grid-gap: 4px;
        margin: 40px auto 20px auto;
        display: inline-grid;
    }
}