body{
    background-color: black;
    color: white;

    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    width: 100%;
    height: 100%;

    padding: 0%;
    margin: 0%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5em;
}

/*  HEADER  */

#header{

    height: 5em;
    position: relative;
    width: 100%;
    
    background-image: linear-gradient(to right, rgba(87,230,74,0.4), rgba(52,178,249,0.4));
}

#logo{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo>img {
     
    width: 20em;

    padding-top: 1em;
}

#header_background_fade{
    position: absolute;
    width: 100%;
    height: 5em;
    background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(255, 255, 255, 0));
}

#contact{
    position: absolute;
    width: 12em;

    display: flex;
    flex-direction: column;
    margin: 1em;
    gap: 1em;

    right: 0em;
}

#contact_email, #contact_tel{
    font-size: 1em;
    padding: 0.1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    color: white;
    text-decoration: none;
    transition-duration: 0.2s;
}

#contact_email:hover{
    cursor:pointer;
    color: #57E64A;
    font-size: 1.1em;
    transition-duration: 0.2s;
    text-shadow: 0 0 5px black;
}

#contact_tel:hover{
    cursor:pointer;
    color: #34B2F9;
    font-size: 1.1em;
    transition-duration: 0.2s;
    text-shadow: 0 0 5px black;
}

#contact_email > img, #contact_tel > img{
    width: 1.5em;
    height: 1.5em;
}

#contact_email > p, #contact_tel > p{
    margin: 0%;
}

/*  MAIN  */

#main{

    width: 60em;

    display: flex;
    flex-direction: column;
    gap: 3em;
    justify-content: center;
    align-items: center;
}

.service{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service>h2{
    font-size: 2em;
    text-transform:uppercase
}

.service_content{

    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5em;
}

.service_content>ul{
    width: 40%;
    font-size: 1.25em;
}

.service_content>img{
    width: 40%;
    border-radius: 2em;
}

.service_content>ul>li>a{
    text-decoration: none;
    font-weight: bold;
    color: rgb(66, 175, 56);
}

/*  FOOTER  */

#footer{
    background-color: rgba(25, 28, 31, 0.5);
    width: 100%;
    text-align: center;
    padding-top: 5em;
    margin-top: 5em;
}

@media (max-width: 1000px) {

    .service_content>img{

        position: absolute;
        z-index: -1;
        visibility: hidden;
    }

    #header{

        display: flex;
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    #contact{
        position: relative;
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    #logo{
        position: relative;
        
    }

    #logo>img{
        width: 90%;
    }

    #header_background_fade{
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to top, rgb(0, 0, 0), rgba(255, 255, 255, 0));
    }

    #main{
        width: 100%;
    }

    .service_content>ul{
        width: 80%;
    }
}