@import url("reset.css");

@font-face {
    font-family: "Montserrat";
    src: 
    url("../src/fonts/static/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
}
@font-face {
    font-family: "Montserrat";
    src: 
    url("../src/fonts/static/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src:
    url("../src/fonts/static/Montserrat-SemiBold.ttf") format("truetype");
    
    font-weight: 600;
}
:root{
    --orange : #ED6D11;
    --green : #005F46;
    --green-light : #DDEFEA;
    --grey : #f5f5f5;
    --white : #fff;
    --noir : #1D1D1B;
    font-family: "Montserrat";
    scroll-behavior: smooth;
    background-color: var(--green);
    font-size: 16px;
    line-height: 1.6rem;
}
h1{
	font-size: 60px;
}
h2{
	font-size: 50px;
    margin: 0;
    padding: 0;
}
h3{
    font-size: 40px;
}
h4{
    font-size: 34px;
}
h5{
    font-size: 24px;
}
h6{
    font-size: 14px;
}


/* base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: white;
}

.off-screen-menu {
    background-color:  var(--orange);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    transition: .3s ease;
}
.off-screen-menu.active {
    right: 0;
    overflow: hidden;
    z-index: 999;
}
.off-screen-menu-links{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 6rem auto;
}
.off-screen-menu-links a{
    margin-top: .5rem;
    padding: .8rem 1.5rem;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) .3s;
    border-radius: 0 5rem 5rem 0;
}
.off-screen-menu-links a:hover{
    background-color: var(--green);
}
.off-screen-menu-links a:active{
    background-color: var(--green);
}

nav {
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
}


.links-content{
    display: none;
}
.logo{
    cursor: pointer;
}
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.container{
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
}

.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: var(--white);
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    z-index: 9999;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: white;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.hero{
    width: 100%;
    height: 100vh;
    margin-top: -120px;
    background-image: url("../src/imgs/Banner-Signature-PME-3.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    color: var(--white);
}

.hero-container{ 
    margin: 0 auto;
    max-width: 90%;
    position: relative;
}

.hero-title, .search-zone-title, .work-title, .avantages-title, .testimonial-title, .call-to-action-title{
    font-size: 2.5rem;
    font-weight: bold;
    margin: 3rem 0 2rem 0;

    text-align: center;
}
.hero-title, .search-zone-title, .call-to-action-title{
    color: var(--white);
}
.hero-description{
    font-size: 1.2rem;
    margin-bottom: 4rem;
}
.sponsors{
    width: 70%;
    height: 130px;
    margin-top: 4em;
    background: center/contain no-repeat url("../src/imgs/sponsors.jpg");
}
.btn{
    font-family: "Montserrat";
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: none;
}
.btn-green{
    background-color: var(--green);
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) .3s;
    color: var(--white);
}
.btn-green-light{
    color: var(--white);
    background-color: var(--orange);
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) .3s;
    color: var(--white);
}
.form-btn{
    border-radius: 5rem;
    width: 100%;
}
.btn-green:hover{
    background-color: var(--orange);
}
.search-zone{
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.enterprise-input, .industry-input, .city-input, .revenus-input{
    margin: .8rem 0;
    width: 100%;
}
input{
    border: none;
    width: 100%;
    font-family: "Montserrat";
    padding: 1rem 3rem;
    border-radius: 4rem;
    font-size: 1.3rem;
    outline: 2px solid var(--grey);
    background-color: var(--green);
}
input::placeholder {
    color: var(--grey);

}
input:focus{
    border: none;
    outline: 4px solid var(--orange);
}
.how-it-work{
    background-color: var(--white);
    height: 100vh;
    text-align: center;
    /* border-radius: 0 0 2rem 2rem; */
}
.work-card, .avantages-card{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-bottom: 1rem;
    border: 1px solid var(--green);
    padding: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) .3s;
}
.work-card:hover{
    transform: scale(1.02);
    box-shadow: 0px 10px 10px 0px #e4e6e8;
}
.card-text{
    padding: 0 .6rem;
    border-left: 1px solid;
    /* background-color: var(--green); */
}

.card-text .card-title{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: .5rem;
}
.avantages{
    color: var(--white);
}
.avantages-title, .avantages-subtitle{
    text-align: center;
    color: var(--white);
}
.avantages-subtitle{
    margin-bottom: 1rem;
}
.avantages-card>.card-text{
    color: var(--white);
}
.avantages-card > .card-icon{
    padding-right: .5rem;
}
svg{
    width: 5rem;
    height: 5rem;
}
.testimonial{
    background-color: var(--grey);
    width: 100%;
}
.testimonials-container{
    margin: 0 auto;
    padding: 1.2rem;
    border-radius: 1.5rem;
    min-width: 300px;
    min-height: 300px;
    background-color: var(--white);
}

.testimonials-card-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonials-card-profil{
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}
.testimonials-card-name{
    flex : 3;
}
.testimonials-card-enterprise-logo{
    flex: 1;
}
.testimonials-profil-title{
    font-size: .8rem;
}
.testimonials-profil-name{
    font-size: 1.2rem;
    font-weight: bold;
}
.testimonial-content{
    margin-top: 2rem;
    line-height: 1.5rem;
}
.call-to-action-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.call-to-action-description, .avantages-subtitle{
    font-size: 1.2rem;
    text-align: center;
    margin: 1rem 0 2rem 0;
    line-height: 1.6rem;
}
.call-to-action-image{
    margin: 4rem 0;
    width: 100%;
    min-height: 300px;
    background-image: url("../src/imgs/Banner-Signature-PME.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1.5rem;
}
.main-footer{
    background-color: var(--noir);
    color: var(--white);
    padding: 1rem;
}

.footer-container{
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
}
.footer-logo-content{
    font-size: .8rem;
    line-height: 1.5rem;
}
.footer-links-title{
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
}
.footer-link, .contact-links{
    display: flex;
    flex-direction: column;
}
.footer-link a, .contact-links a{
    padding: .5rem;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) .3s;
} 
.footer-link a:hover, .contact-links a:hover{
    color: var(--green);
}

.social-links > a > svg{
    width: 2rem;
    height: 2rem;
    margin: 0 .5rem 0 0;
    transition: cubic-bezier(0.19, 1, 0.22, 1) .3s;
}
.social-links > a > svg:hover{
    fill: var(--green);
    stroke: var(--green);
}
.ham-sign-in{
    border: 1px solid var(--grey);
    border-radius: 2rem;
}
.ham-login{
    background-color: var(--grey);
    color: var(--green);
}
.login:hover{
    color: var(--grey);
}
@media screen and (min-width: 350px){
    .btn, input{
        font-size: 1rem;
    }

}

@media screen and (min-width: 600px){

    .ham-menu {
        height: 50px;
        width: 60px;
    }
    .hero-title, .search-zone-title, .work-title, .avantages-title, .testimonial-title, .call-to-action-title{
        font-size: 3.5rem;
    }
    .hero-description{
        font-size: 1.2rem;
        margin-top: 2rem;
    }
    .btn{
        font-size: 1.2rem;
    }
    .testimonials-container{
        padding: 2.2rem;
    }
    .testimonials-profil-name{
        font-size: 1.5rem;
    }
    .testimonials-profil-title{
        font-size: 1.2rem;
    }
    .testimonial-content>p{
        font-size: 1.2rem;
        line-height: 2rem;
    }
    .call-to-action-image{
        min-height: 450px;
    }
}
@media screen and (min-width: 800px){
    .form-field-container{
        align-items: center;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .all-card-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .work-card{
        width: 49%;
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
    .call-to-action-image{
        min-height: 600px;
    }
    .input{
        margin-right: 1rem;
    }
    .enterprise-input, .industry-input{
        flex: 1;
    }
    .btn-container{
        flex: 1;
    }
    .revenus-input{
        flex: 2;
    }
}

@media  screen and (min-width : 850px) {
    .avantages-container{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .avantages-card{
        width: 48%;
    }
}

@media screen and (min-width: 1450px){
    .container-full-height{
        padding: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .hero-title{
        margin: 0 auto;
        font-size: 3.2rem;
        width: 80%;
    }

    nav{
        display: flex;
        justify-content: space-between;
        font-size: 1.1rem;
    }
    
    .ham-menu{
        display: none;
    }

    .links-content{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .link, .auth-link{
        padding: .6rem;
        margin-left: .5rem;
    }
    .link, .auth-link:hover{
        color: var();
    }
    .sign-in{
        background-color: var(--orange);
        border-radius: 2rem;
    }
    .login{
        background-color: var(--green);
        border-radius: 2rem;
    }
    .input{
        flex: 1;
    }

}