@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700');
/* RESET  */

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    background-color: #FAFAFA;
    color: rgb(41, 40, 40);
}  

img {
    max-width: 100%;
}

/* CHOIX DES POLICES */

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    filter: brightness(1.2);
}

/* MISE EN PAGE DES SECTIONS */

#home {
    min-height: 75vh;
    color: white;
    padding: 15px;
}

.logo_lonlay {
    width: 200px;
    height: auto;
}

header {
    display: flex;
    align-items: center;
}

.heading {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 1.8em;
    text-shadow: 0px 1px 2px #000000a6;
}
h1.heading {
    margin: 10px 0;
    line-height: 1.4em;
}

.heading strong {
    font-weight: 400;
}

.sub-heading {
    margin-top: 40px;
}

.headings {
    padding: 10px 0;
}

.CTAs {
    /* justify-content: flex-end; */
    /* align-items: flex-start;
    align-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
    display:flex;
}

.CTA {
    align-self: flex-start;
    height: 70px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
    box-shadow: 0px 1px 3px #00000049;
    text-decoration: none;
    padding: 8px;
}

.CTA a {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    text-decoration: none;
}

.CTA:hover {
    box-shadow: 0px 2px 5px #00000049;
}

.CTA1 {
    background-color: #F7B502;
    font-weight: 500;
    font-size: 1.2em;
}

.CTA1 a {
    color: white;
} 

.CTA1:hover {
    color:white;
    background-color: rgb(236, 173, 0);
}

.CTA2 {
    background-color: #fff;
    font-weight: 500;
    font-size: 1.2em;
}

.CTA2 a {
   color:rgba(0, 0, 0, 0.658);
}

.CTA2:hover {
    background-color:white;
    background-color: rgb(243, 243, 243);
}

.comparatif {
    max-width: 380px;
    box-shadow: 0px 1px 3px #00000049;
}

.comparatif img {
    border-radius: 5px;
}

.comparatif:hover a {
    filter: brightness(1);
    filter: contrast(85%);     
}

.comparatif:hover {
    box-shadow: 0px 2px 5px #00000049;
}


.subcta {
    text-shadow: 0px 1px 2px #000000a6;
    text-align: center;
}

.airtableIframe {
    width: 100%;
}
.airtableIframe iframe{
    display: block;
    width: 100%;
    position: relative;
    /* pointer-events: none; */
}
/* .airtableIframe iframe.clicked{
    pointer-events: auto;
} */

@media (min-width: 410px) {
    .CTA a {
        width: 364px;
    }
}


@media (min-width: 495px) {
    #home {
        padding: 20px 40px;
    }
    .headings {
        padding: 10px 0;
    }
    h1.heading {
        margin: 20px 0;
        font-size: 2.1em;
    }

    .logo_lonlay {
        width: 250px;
    }
}

@media (min-width: 900px) {
    #home {
        padding: 40px 100px;
    }
    h1.heading {
        max-width: 600px;
    }
    .logo_lonlay {
        width: 250px;
    }
}

#home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/cover.jpg');
    /* height: 500px; You must set a specified height */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}