@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

body{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: floralwhite;
    max-width: 100%;
    overflow-x: hidden;
}

/*------------------------------header desktop-------------------------------------*/

div#headerDesktop nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 10px 100px;
    box-sizing: border-box;
    transition: .5s;
    background-color: rgba(156, 247, 150, 0.9);
    z-index: 1;
}

div#headerDesktop nav .logo{
    float: left;
}

div#headerDesktop nav .logo img{
    height: 80px;
    transition: .5s;
}

div#headerDesktop nav h1{
    line-height: 80px;
    padding-left: 10px;
    color: #262626;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    transition: .5s;
    display: inline;
    font-size: 1.2rem;
    font-weight: inherit;
}


div#headerDesktop nav ul{
    float: right;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

div#headerDesktop nav ul li{
    list-style: none;
}

div#headerDesktop nav ul li a{
    line-height: 80px;
    color: #262626;
    padding: 5px 20px;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    transition: .5s;
}

div#headerDesktop nav ul li a.active,
nav ul li a:hover{
    color: #fff;
    background: #177F21;
}

/*-------------------------------------------------------------------*/

/*------------------header mobile-----------------------*/

div#headerMobile nav{
    position: fixed;
    text-align: center;
    padding-top: 10px;
    overflow: hidden;
    z-index: 999;
    width: 100%;
    height: auto;
    background-color: rgba(156, 247, 150, 0.9);
    top: 0;
    left: 0;
}

*{
    max-width: 100%;
}

.logoMobile{
    text-align: center;
}

ul.mobileMenu{
    margin-top: 10px;
    display: inline-flex;
    position: center;
}

ul.mobileMenu li{
    margin-left: 10px;
    margin-right: 10px;
}

ul.mobileMenu li a:hover{
    background: #177F21;
}

ul.mobileMenu li a{
    color: black;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 10px;
}

/*------------------------------------------------------------------------*/

main a{
    border: 1px solid #000000;
    background: rgba(156, 247, 150, 0.9);
    text-decoration: none;
    font-size: 2.3rem;
    font-family: 'Roboto', sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    color: #000000;
    height: 50px;
    padding: 10px;
}

main a:hover{
    color: #fff;
    background: #177F21;
}


.container{
    width: 1000px;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 50px 500px 500px;
}

.container .card{
    position: relative;
}

/*----------------------main desktop--------------------*/

div#mainDesktop .box{
    text-align: center;
    margin-top: 120px;
}


div#mainDesktop section.content{
    padding: 100px;
}

div#mainDesktop section h1{
    margin: 0;
    padding: 0;
    font-size: 2em;
}

div#mainDesktop section p{
    margin: 20px 0 0;
    padding: 0;
    font-size: 1.2rem;
}

div#mainDesktop section.top{
    padding: 150px 100px 100px;
}

*{
    box-sizing: border-box;
}

/*------------------------------------------------------*/

/*-------------------main mobile-----------------------*/
div#mainMobile .box{
    text-align: center;
    margin-top: 250px;
}

div#mainMobile section.content{
    padding: 100px;
}

div#mainMobile section h1{
    margin: 0;
    padding: 0;
    font-size: 2em;
}

div#mainMobile section p{
    margin: 20px 0 0;
    padding: 0;
    font-size: 1.2rem;
}

div#mainMobile section.top{
    margin-top: 100px;
    padding: 150px 100px 100px;
}
/*-----------------------------------------------------*/

/*-------------------images overons.html----------------------*/

.row{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-flow: wrap;
    padding-left: 25px;
}

div#mainMobile .row{
    padding-left: 50px;
}

.column{
    width: 300px;
    height: 300px;
    margin: 20px;
    box-sizing: border-box;
}

.inline_size{
    width: 300px;
    height: 300px;
}

/*------------------------------------------------------------*/

div p{
    font-size: 2.5rem;
    margin: 50px 35px 35px 250px;
}

.textBiggerBox{
    font-size: 2.5rem;
    margin: 90px 35px 35px 250px;
}

/*------------------------ Fade in animation contact ----------------------------------------*/

.contact_image{
    margin: 100px 10px 10px;
    width: 215px;
    height: 215px;
}

.contact_image_second{
    margin: 10px;
    width: 215px;
    height: 215px;
}


div#mainMobile .boxed:first-child{
    border: 2px solid #000000;
    background-color: rgba(156, 247, 150, 0.9);
    height: 400px;
    animation: fadeIn 3s;
    margin: 210px 100px 50px;
}


div#mainMobile .boxed{
    border: 2px solid #000000;
    background-color: rgba(156, 247, 150, 0.9);
    height: 235px;
    animation: fadeIn 3s;
    margin: 100px 100px 50px;
}

div#mainMobile .boxedDavina{
    border: 2px solid #000000;
    background-color: rgba(156, 247, 150, 0.9);
    height: 400px;
    animation: fadeIn 3s;
    margin: 100px 100px 50px;
}

@keyframes fadeIn {
    from{
        opacity: 0;
    }

    to{
        opacity: 1;
    }


}

/*---------------------------------------------------------------------------------------------------------*/

/*------------------------- Responsive web designing ------------------------------------------------------*/

@media only screen and (max-width: 1100px){
    #headerDesktop{
        display: none;
    }
    #headerMobile{
        display: block;
    }
    #mainDesktop{
        display: none;
    }

    .column{
        width: 40%;
    }
}

@media only screen and (max-width: 600px){
    .column{
        width: 40%;
    }
}

@media only screen and (min-width: 1100px){

    #headerMobile{
        display: none;
    }

}

/*--------------------------------------------------------------------------------------------------------*/
