@font-face {
    font-family: "Open Sans";
    src: url("../ressources/font/openSans/OpenSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Open SansLight";
    src: url("../ressources/font/openSans/OpenSans-Light.ttf");
}

@font-face {
    font-family: "Open SansBold";
    src: url("../ressources/font/openSans/OpenSans-Bold.ttf");
}


* {
    font-family: "Open Sans";
    margin: 0px;
    padding: 0px;
}

:root {
    --primaryColor: #292d51;
    --secondColor: #00c78f;
    --secondColor2: #1acf9c;

}

body {
    font-size: 15px;
    min-height: 100vh;
    /* 1 */
    display: flex;
    /* 2 */
    flex-direction: column;
    background-color: #f9fbfe;
    /* 3 */
}

main {
    flex-grow: 1;
}

header {
    width: 100%;
    z-index: 88;
    position: fixed;
    background-color: white;
    border: none;
    box-shadow: 0px 6px 20px rgb(60 60 60 / 11%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

a,
li,
nav,
ul,
ol {
    transition: .2s;
    list-style: none;
    text-decoration: none;
}

a {
    color: rgb(43, 43, 43);
    border-bottom: solid 3px var(--secondColor);
    border-bottom-width: 0px;
    transition: .2s;
}

a:hover {
    color: var(--secondColor);
    transition: .2s;
    border-bottom-width: 4px;
}

h2 {
    font-size: 28px;
}



footer {
    padding: 7%;
    padding-top: 50px;
    color: white;
    background-color: var(--primaryColor);

}

footer a {
    color: white
}

hr {
    /* text-align: center; */
    border: 0px;
    border-top: 1px solid #6066a7cc;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 50px;
}


.center {
    text-align: center;
}

.customH1 {
    font-family: "Open SansBold";
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 32px;
}

.flex_nav>ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 40px;
}

.flex_div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
}

.flex_div a {
    font-family: "Open SansLight";
    transition: .2s;

}

.flex_div>section:nth-child(1) p {
    color: rgb(114, 114, 114);
    margin-bottom: 10px;
}

.customH2 {
    font-family: "Open SansBold";
    margin-bottom: 10px;

}

main {
    display: flex;
    gap: 35px;
    margin-top: 77px;
}

.banner_section {
    position: relative;
    display: flex;
    color: white;

    width: 80%;
    background-repeat: no-repeat;
    align-items: center;
    background: linear-gradient(90deg, rgb(114 114 114 / 1%) 0%, rgb(0 0 0 / 79%) 80%, rgb(0 0 0 / 95%) 100%), url(../ressources/laptops-bg.jpg);
    background-size: cover;
    background-position: center;
    z-index: 55;
}

.banner_section>article:nth-child(1) {
    font-size: 24px;
}

.banner_section>article:nth-child(2) h2 {
    font-size: 2.4vh;

}

.banner_section>article:nth-child(2) {

    position: absolute;

    writing-mode: vertical-rl;

    text-orientation: upright;

    top: 2%;

    left: calc(92% - 10px);

    font-size: 16px !important;
}

.input-custom {
    border-radius: 3px;
    margin: 3.5px;
    padding: 10px;
    caret-color: #00c78f;
    border: 1px solid rgba(212, 212, 212, 0.774);
    transition: .5s
}

.input-custom:focus {
    border: 1px solid rgb(212, 212, 212);
    outline-style: solid;
    outline-color: var(--secondColor2);
    outline-width: 1px;
    transition: .5s;
}

label {
    transition: .4s;
}

.input-custom:hover+label,
.input-custom:focus+label {
    top: -10px;
    background: rgb(205, 205, 205);
    transition: .5s;
    background: -moz-linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
    background: -webkit-linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
    background: linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cdcdcd", endColorstr="#f9fbfe", GradientType=1);
    border-radius: 5px;
    color: #b9b8b8;
}


.input-custom {
    overflow: visible;
}

.input-custom::-webkit-input-placeholder {
    text-overflow: ellipsis;
    font-size: 11px;
    color: #b9b8b8;

    top: -10px
}

.custom_checkbox {
    margin: 5px;

}


.flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.flex-item {
    display: flex;
    flex-direction: row;
}

.flex-item div {
    margin-top: 10px;
}

.contact_section {
    max-width: 450px;
    padding: 25px;
}

main section:nth-child(2) {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 2%;
    width: 60%;
}

.custom_width {
    width: 50%;
}

.customHr {
    margin: 0px;
    margin-top: 25px;
    margin-bottom: 15px;
    width: -webkit-fill-available;
    width: -moz-available;
    border: none;
    border-bottom: 1.2px solid rgb(211, 211, 211);
}

#form-message {
    max-height: 101px;
    margin: 3.49615px;

    height: 80px;
    min-height: 70px;
}

.form_btn {
    background-color: var(--secondColor);
    color: white;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border: solid 2px transparent;
    border-radius: 5px;
    margin-top: 3%;
    font-size: 17px;
    width: 100%;
    transition: .3s;
    cursor: pointer;


}

.form_btn:hover {
    background-color: white;
    border: solid 2px var(--secondColor);
    color: var(--secondColor);
    transition: .2s;


}

.relative {
    position: relative;
}


.inputDiv {
    position: relative;
    width: 50%;
}

.inputDiv2 {
    position: relative;
    width: 100%;

}

.inputDiv2 input,
textarea,
.inputDiv input {
    width: -webkit-fill-available;
    width: -moz-available;

}

.input_label {
    position: absolute;
    top: 10%;
    left: 10px;
    padding: 5px;
    color: #d9d9d9;
    font-size: 13px;
    transition: .1s;
    cursor: text;
}



.socialDiv {
    position: absolute;
    top: 92%;
    left: 50%;
    transition: all .2s;
}

.socialDiv ul {
    display: flex;
    flex-direction: row;
    gap: 5%;
}

.sectionMobile {
    height: 25px;
    position: relative;
    z-index: -1;

}

#logoHetic {
    transition: .2s;
}

#burgerMenu {
    top: 17px;
    height: 4px;
    width: 35px;
    background-color: #00c78f;
    margin-right: 15px;
    position: relative;
    transition: .3s;
    z-index: 9;
}

.sectionMobile:hover #burgerMenu {
    cursor: pointer;
    transition: .3s;
    transform: rotate(90deg) translate(-5px, 5px);
}

#burgerMenu::after {
    content: "";
    display: block;
    width: 35px;
    background-color: #00c78f;
    position: absolute;
    top: -15px;
    height: 4px;
    z-index: 9;
    transition: .2s;

}

/*
#burgerMenu:active+.navMenu>ul {
    transition: .3s;
    border: solid 5px red ;
    transform: scale(0);
    transform-origin: top;
    
}
*/
#burgerMenu::before {
    content: "";
    display: block;
    width: 35px;
    background-color: #00c78f;
    position: absolute;
    top: -7px;
    height: 4px;
    z-index: 9;
    transition: .3s;
}

.sectionMobile:hover #burgerMenu::before {
    cursor: pointer;
    transform: rotate(90deg);
    left: 10px;
    height: 5px;
    width: 15px;
    transition: .3s;
}


.sectionMobile {
    display: none;
}

main>section:nth-child(2) {
    padding: 5%;
    padding-bottom: 5px;
}



.articleImg1 {
    transition: .2s;
    position: relative;
    z-index: -1;
    top: 12px;
    left: -25%;


}

.articleImg2 {
    transition: .2s;
    position: relative;
    z-index: 55;
    top: 15%;
    left: -25%;
}

#flotImg1 {

    box-shadow: 1px 1px 0px #d5d5d5, 1px -1px 0px #d5d5d5, -1px 0px 0px #d5d5d5;
    position: absolute;
    transform: rotate(25deg);
    transition: .4s;
    animation: anim1 4s infinite;
    animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

#flotImg2 {
    box-shadow: 1px 1px 0px #d5d5d5, 1px -1px 0px #d5d5d5, -1px 0px 0px #d5d5d5;
    position: absolute;
    transform: rotate(65deg);

    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation: anim2 4s infinite;
}


/*================MEDIA QUERY=================*/
@media (max-width:1400px){
    .socialDiv {
        left: 35%;

    }


}

@media (max-width:350px) {

    .socialImg{
        width: 30px;
    }

}

@media (max-height:650px) {
    .banner_section>article:nth-child(2) {
        left: 44vw;
        font-size: 7px;
    }

}

@media (max-width:1020px) {
    .floatImg {
        display: none;
    }

    .articleImg2,
    .articleImg1 {
        display: none;
    }

    main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }

    main>section:nth-child(2) {
        /* text-align: center; */
        width: 90%;
    }


    .flex_div {
        justify-content: center;
        gap: 20px;
    }

    .banner_section {
        width: 100%;
        height: 80vh;
    }

    .banner_section>article:nth-child(2) {
        /* display: none; */
        left: 90%;
        top: 18px;
    }

    .socialDiv {
        left: 10%;
        top: 88%
    }

    hr {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }

    footer {

        text-align: center;
    }

    label:hover {
        top: -10px;
        background: rgb(205, 205, 205);
        background: -moz-linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
        background: -webkit-linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
        background: linear-gradient(0deg, rgba(205, 205, 205, 0) 0%, rgba(249, 251, 254, 1) 41%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cdcdcd", endColorstr="#f9fbfe", GradientType=1);
        border-radius: 5px;
        color: #b9b8b8;

    }


}



@media (max-width:475px) {
    .banner_section>article:nth-child(1) {
        font-size: 18px;
    }

    .contact_section {
        max-width: 80%;
    }

    .socialDiv {
        left: 2%;

    }


}


@media (max-width:700px) {

    .inputDiv {
        width: 100%
    }

    .flex-item {
        flex-direction: column;
    }

    main>section:nth-child(2) {
        padding: 0%;
        padding-bottom: 5px;
    }

    header {
        justify-content: space-between;
    }

    .sectionMobile {
        display: block;
    }

    .flex_nav {
        display: none;

    }

    .navMenu {
        display: block;
        position: relative;

    }

    .navMenu>ul {
        border-bottom: solid 10px #00c78f49;
    }

    .navMenu>ul {
        position: absolute;
        left: -70vw;
        top: 22px;
        border-radius: 7px;
        background-color: white;
        flex-flow: column wrap;
        z-index: 985825;
        transform: scaleY(0);
        transform-origin: top;
        width: 80vw;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }


    .sectionMobile:hover .navMenu>ul {
        cursor: pointer;
        transform: scaleY(1);
        transform-origin: top;
        gap: 0px;
        padding-top: 40px;
    }



    .sectionMobile .navMenu>ul>li {
        padding: 10px;
    }

    .sectionMobile .navMenu>ul>li:hover {

        background-color: #00c78f;

    }

    .sectionMobile .navMenu>ul>li:hover a {
        color: white;
    }

}

@media (max-width:1270px) {

    .articleImg2,
    .articleImg1 {
        left: -27% !important;
    }

}



