.body{
    background-color: white;
    overflow-x: hidden;
}
.nav
{
    display: flex;
    overflow: hidden;
    z-index: 1;
  justify-content: space-around;
  background-color: #799A18;
  font-family: 'Roboto', sans-serif;
    overflow: hidden;
    padding: 0px;
    height: 50px;
}


.nav-links{
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

.nav-links a{
    color: white;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 16px;
}

.nav-links li{
  list-style: none;
  line-height: normal;
    padding: 20px;
  margin-top: 4px;
    overflow-y: hidden;

}

.active{
    animation-duration: 3s;
    animation-name: back;
    animation-fill-mode: forwards;
}

@keyframes back{
    from{
    }

    to{
        background-color: white;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

.active a{
    color: #799A18;
}

.burger{
 display: none;
}

.burger
{
    color: white;
    font-size: x-large;
    margin-top: 10px;
}


.burger div{
    width: 25px;
    height: 3px;
    margin-top: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

@media screen and (max-width: 740px) {

    .cover_nav{
        top: -10px;
        margin: auto;
        position: relative;
        background-color: white;
        width: 100%;
        padding: 5px;
        border-radius: 5px;
    }

    body{
        overflow-x: hidden;
    }


    #nav
    {
        min-height: 13vh;
        overflow-y: visible;
    }

    .nav-links{
        position: absolute;
        height: 100vh;
        font-size: xx-large;
        top: 300px;
        background-color: #799A18;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        padding: 0px;
        margin: auto;
        transform-origin: center top;
        transform: translate3d(-600px, -620px, -135px);
        transition: transform 0.5s ease-in;
        z-index:1;
    }
    .active a
    {
        color: #fff;
    }

    .cardModif
    {
        width: 100%;
    }

    .nav-links li{
        opacity: 0;
        border-bottom: 1px solid white;
        width: 100%;
        text-align: center;
    }

    .burger{
        display: block;
        cursor: pointer;
    }

    .footLogo
    {
        width: 30%;
    }

    .desc .im1
    {
        border-radius: 10%;
        box-shadow: whitesmoke;
        box-shadow: 10px 10px 5px #c9c9c9;
        width: 65%;
    }

    .nav-active{
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from{
            opacity: 0;
            transform: translateX(50px);
        }
        to{
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1{
        transform: rotate(-45deg) translate(-5px,6px);
    }

    .toggle .line2{
        opacity: 0;
    }

    .toggle .line3{
        transform: rotate(45deg) translate(-5px,-6px);
    }

    .top{
        display: none;
    }

    .cover_nav{
        width: 100%;
    }

    .presentation_img{
        height: 50px;
    }
}

.top2 a{

    color: white;
    font-weight: bold;
    margin: 4px;
}

.last{
    margin-right: 30px;
}

@media screen and (min-width: 740px) {
    .top2{
        display: none;
    }

    .cover_nav{
        top: -10px;
        margin: auto;
        position: relative;
        background-color: white;
        width: 50%;
        padding: 5px;
        border-radius: 5px;
    }
}

.main_cover
{
    background: url("../img/paper-3213924_1920.jpg") center center;
    min-height: 50vh;
    border: 1px outset #799A18;
    padding: 20px;

}

.main_cover button
{
    background-color: #799A18;
    color: white;
    text-transform: uppercase;
}

.main_cover input
{
    border-color: #799A18;
    color: #799A18;
    margin: 0px;
    width: 100%;
}

.main_cover textarea
{
    border-color: #799A18;
    color: #799A18;
}

.main_text{
    color: white;
    font-weight: bold;
    font-size: 8vh;
}

.form_main
{
    position: relative;
    margin: auto;
}

.nav2{
    margin: auto;
    position: relative;
    display: flex;
    background-color: #799A18;
    width: 100%;
    border-radius: 5px;
    padding: 2px;
}

.nav-links2{
    display: flex;
    margin: auto;
    list-style: none;
}

.nav-links2 li a{
    color: white;
    margin: 10px;
    font-weight: bold;
    font-size: 2.4vh;
}

.hr{
    background-color: #799A18;
    height: 0.5vh;
    width: 25%;
}

.presentation{
    margin-top: 100px;
}

.presentation p
{
     text-justify: auto;
    font-size: larger;
    color: gray;
}

.presentation h4{
    color: #799A18;
    text-transform: uppercase;
    font-weight: bold;
}

@media screen and (min-width: 1000px) and (max-width: 1120px){
    .presentation_img{
        height: 75%;
    }
}

@media screen and (min-width: 1121px) {
    .presentation_img
    {
        height: 50%;
        width: 80%;
    }

    .consulting p{
        margin: auto;
        width: 70%;
    }

    .new_input, .new_input input
    {
        border-radius: 50px;
        height: 5vh; !important;
    }
}

.consulting{
    background: url("../img/businessman-3213659_1920.jpg") ;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: large;

}

@media screen and (max-width: 1120px){
    .consulting p{
        margin: auto;
        width: 100%;
    }
}

.consulting h3{
    font-weight: bold;
    font-size: x-large;
    overflow-y: hidden;

}

.consulting a
{
    background: rgb(2,0,36);
    background: -moz-linear-gradient(35deg, rgba(2,0,36,1) 0%, rgba(166,190,195,1) 10%, rgba(5,21,99,1) 21%, rgba(7,30,128,1) 29%);
    background: -webkit-linear-gradient(35deg, rgba(2,0,36,1) 0%, rgba(166,190,195,1) 10%, rgba(5,21,99,1) 21%, rgba(7,30,128,1) 29%);
    background: linear-gradient(35deg, rgba(2,0,36,1) 0%, rgba(166,190,195,1) 10%, rgba(5,21,99,1) 21%, rgba(7,30,128,1) 29%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#071e80",GradientType=1);
    border-radius: 5px;
    border-color: #1b4b72;
    padding: 10px;
    font-size: large;
    margin-top: 15px;
}


.services
{
    color: #799A18;
}

.services h2
{
    text-transform: uppercase;
    font-size: xx-large;
    font-weight: bold;
    overflow-y: hidden;
}

.card_services
{
    border: 1px solid #799A18;
    box-shadow: 5px 10px 5px #799A18;
    font-weight: bold;
    margin: 5vh;

}

.newsletter
{
    background: url("../img/workstation-336369_1920.jpg") ;
    height: 50vh;
}

.card_services i{
    font-size: 7vh;
    margin-bottom: 2vh;
}

.hr_services{
    background-color: #799A18;
    height: 0.4vh;
    width: 55%;
    margin: auto;
}

.hr_news
{
    background-color: #799A18;
    height: 0.4vh;
    width: 40%;
}
.whole_news
{
    position: absolute;
    right: 20vh;
}

.whole_news h1
{
    color: white;
    font-weight: bold;
    overflow-y: hidden;

}

.footer
{
    background-color: #799A18;
}

.footer h4, .footer p{
    color: white;
}

.footer p{
    margin-top: 20px;
    text-decoration-style: dotted;
    font-style: italic;
}

.ul_footer li{
    list-style: none;
    color: white;
    margin: 5px;
}

.footer h5
{
    text-transform: uppercase;
    color: white;
    font-weight: bold;
}

.ul_footer i{
    font-size: large;
    margin-right: 5px;
}

.footer h6
{
    color: white;
}

*{
    overflow-x:  hidden;
}

h1, h2, h3, h4, h5, h6{
    overflow-y: hidden;

}
