.menu-inline a{
    color: #236e69;
    text-decoration: none;
}
.menu-inline a:hover,
.menu-inline .current-menu-item a {
    color: #65bb94;
}
.menu-inline ul .contact a,
nav .contact a {
    color: #ffffff;
    display: flex;
    text-align: center;
    align-items:center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    background: #65bb94;
    padding: 13px 30px;
    border-radius: 30px;
    margin: 0 2%;
}
.menu-inline ul .contact:hover a {
    color: #236e69;
    background-color: #ebf5f6;
}
.menu-inline ul .contact a:after,
nav .contact a:after {
    content: url("../img/SVG/contact-icon.svg");
    margin-left: 10px;
    width: 25px;
    height: 25px;
}
.menu-inline ul .espace-membre,
nav ul .espace-membre {
    font-weight: 400;
    text-decoration: underline;
}
.menu-inline ul .espace-membre a:after,
nav .espace-membre a:after {
    content: url("../img/SVG/espace-membre-icon.svg");
    margin-left: 10px;
    width: 25px;
    height: 25px;
}

/*PHONE*/
@media only screen and (max-width: 760px) {
    nav ul {
        margin-left: -3%;
    }
    .hero {
        padding-top: 50px;
        height: 600px;
        background-size: 200%;
    }
    .small-hero {
        height: 300px;
    }
}

@media only screen and (max-width: 1400px) {
    .hamburger-menu {
        display: block;
        background-color: #ffffff;
        height: 130px;
    }
    .full-menu {
        display: none;
    }
    #toggle {
        display: none;
    }
    .hamburger-logo {
        position: absolute;
        left: 6%;
        top: 8px;
        z-index: 5;
    }
    .hamburger-logo img{
        width: 180px;
    }
    /**
    Hamburger
    **/
    .hamburger {
        position: absolute;
        top: 5em;
        right: 5%;
        margin-right: 6%;
        margin-left: -2em;
        margin-top: -45px;
        width: 2em;
        height: 45px;
        z-index: 5;
    }
    .hamburger div {
        position: relative;
        width: 3em;
        height: 7px;
        border-radius: 3px;
        background-color: #236e69;
        margin-top: 8px;
        transition: all 0.3s ease-in-out;
    }
    /**
    Nav Styles
    **/
    .nav {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        top: -100%; 
        left: 0; 
        right: 0; 
        bottom: 0;
        overflow-x: hidden;
        transition: all 0.3s ease-in-out;
        transform: scale(0);
        z-index: 1;
    }
    .nav-wrapper {
        position: relative;
        overflow-x: hidden;
        height: 100%;
        width: 100%;
    }
    nav {
        margin-top: 100px;
        margin-left: -6%;
    }
    nav ul li {
        list-style: none;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    nav a {
        position: relative;
        text-decoration: none;
        color: #236e69;
        text-transform: uppercase;
        
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 2px;
        display: inline-block;
        margin: 40px 0 0;
        padding: 0;
        transition: color 0.2s ease-in-out;
    }
    nav a:before {
        content: '';
        height: 0;
        position: absolute;
        width: 0.25em;
        background-color: white;
        left: -0.5em;
        transition: all 0.2s ease-in-out;
    }
    nav a:hover {
        color: white;
    }
    nav a:hover:before {
        height: 100%;
    }
    nav .espace-membre a {
        margin: 30px auto;
        width: 60%;
        justify-content: center;
        font-weight: 400;
    }
    nav .contact a {
        margin: 20px auto;
        width: 40%;
        justify-content: center;
    }
    /**
    Animations
    **/
    #toggle:checked + .hamburger .top-bun {
        transform: rotate(-45deg);
        margin-top: 25px;
    }
    #toggle:checked + .hamburger .bottom-bun {
        opacity: 0;
        transform: rotate(45deg);
    }
    #toggle:checked + .hamburger .meat {
        transform: rotate(45deg);
        margin-top: -7px;
    }
    #toggle:checked + .hamburger + .nav {
        top: 0;
        transform: scale(1);
    }

    .hero {
        padding-top: 50px;
        height: 600px;
        background-size: 200%;
    }
    .small-hero {
        height: 300px;
    }
}


@media only screen and (min-width: 1401px) {
    .hamburger-menu {
        display: none;
    }
    .full-menu {
        display: block;
    }
    .menu-grid {
        display: grid;
        grid-template-columns: 15% 85%;
        margin: 30px 4%;
        max-width: 100%;
        grid-template-rows: auto;
        background-color: #ffffff00;
    }
    .menu-inline ul{
        list-style: none;
        text-transform: uppercase;
        text-align: right;
        max-width: 100%;
        display: grid;
        grid-template-columns: 13% 13% 22% 15% 20% 17%;
        grid-template-rows: auto;
        align-items: center;
    }
    .menu-inline ul li{
        text-align: center;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 2px;
        margin: 0 2%;
    }
    .hero {
        padding-top: 100px;
        min-height: 700px;
    }
    .small-hero {
        padding-top: 100px;
        height: 500px;
    }
}




/*HERO*/
.hero {
    background-repeat: no-repeat;
    object-fit: cover;
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover;
}
.small-hero {
    background-repeat: no-repeat;
    object-fit: cover;
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover;
}
.hero-margins {
    margin: 0 30%;
    padding: 50px 0;
}
.small-hero h2 ul {
    list-style: none;
}
.small-hero h2 ul a {
    color: #6bb894;
    text-decoration: none;
    margin-left: -25px;
}
