@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: rgb(230, 229, 227);
    --secondary-color: rgb(52, 183, 167);
    --other-color: rgb(220, 219, 217);
    --text-secondary-color: rgb(105, 105, 105);
}

body{
    background-color: #e6e5e3;
    font-family: "Roboto", sans-serif;
}

.container{
    width: 100%;
    height: 80px;
}

.nav-bar{
    width: 100%;
    height: 70px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid var(--primary-color);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

.nav-bar ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    width: 700px;
    font-weight: 300;
}

.nav-bar ul a:hover{
    color: var(--secondary-color);
    cursor: pointer;
}

.nav-bar a{
    text-decoration: none;
    color: black;
}

.logo{
    text-decoration: none;
    color: black;
}

.medias{
    width: 60px;
    display: flex;
    justify-content: space-around;
}

.menu{
    display: none;
}

.service{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.service .text{
    padding-left: 10px;
}

.line{
    width: 75px;
    height: 5px;
    background-color: var(--secondary-color);
}

.services{
    width: 100%;
    padding: 40px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.service-item{
    background-color: white;
    padding: 25px;
    border-radius: 5px;
}

.service-title{
    font-size: 22px;
    color: rgba(0,0,0,0.5);
    padding-bottom: 10px;
}

.service-text{
    line-height: 25px;
}

.service-item ul{
    padding-left: 20px;
}

.service-item span{
    font-weight: 600;
}

.service-item ul{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.last-p{
    padding-top: 25px;
}

.copyright{
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--primary-color);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

.copyright span{
    font-weight: bold;
}

@media screen and (max-width: 972px) {
    .medias{
        display: none;
    }

    .menu{
        display: block;
    }

    .nav-bar{
        padding: 0px 20px;
        justify-content: space-between;
    }

    nav ul li{
        display: flex;
        align-items: center;
        gap: 20px;
        padding-left: 20px;
        padding: 20px;
    }

    nav ul li img{
        display: flex;
    }

    .nav-bar ul{
        display: none;
    }

    .nav-bar.show ul{
        display: flex;
        flex-direction: column;
        background-color: var(--other-color);
        position: absolute;
        top: 70px;
        right: 0px;
        width: 300px;
    }

    .services{
        display: flex;
        flex-direction: column;
        padding: 20px 5px;
    }
}