/* FONT */

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

/* ROOT */

:root {
    --primary: #ffffff;
    --secondary: #1e1a57;
    --minimal:#b60905;
    --font: "Josefin Sans";
    --bg:#e6e4f0;
}


/* HEAD */

.Works-Head-Container{
    width:100%;
    height:300px;
    margin-top: 80px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center ;
    margin-bottom: 80px;
}
.Works-Head-Img{
    width:100%;
    height: 300px;
    object-fit: cover;
    position: relative;
    opacity: 0.3;
}
.Works-Head-L2{
    position: absolute;
    width: 85%;
    height: 300px;
    top:80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.Works-Head-Logo{
    width:100px;
    border-radius: 10px;
}
.Works-Head-Title{
    color:white;
    font-family: var(--font);
    font-size: 40pt;
}


/* SERVICE BODY */

.Works-Card{
    background-color: var(--bg);
    width: 20%;
    padding: 1% 0px;
    border-radius: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}
.Works-Card:hover{
    opacity: 0.8;
}
.Works-Card img{
    width:90%;
    height: 240px;
    border-radius: 16px;
    object-fit: cover;
}
.Works-Card p{
    width:80%;
    font-family: var(--font);
    font-size: 14pt;
    text-align: justify;
    line-height: 25px;
    text-align: center;
    color: var(--secondary);
}
.Works-L{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}
.Works-O{
    display: flex;
    align-items: center;
}

@media  (max-width:1200px) {
    .Works-Card{
        width: 25%;
    }
    .Works-Card img{
        height: 200px;
    }
}
@media  (max-width:900px) {
    .Works-Card{
        width: 25%;
        
    }
    .Works-Card img{
        height: 150px;
    }
}
@media  (max-width:700px) {
    .Works-Card{
        width: 80%;
        margin-bottom: 30px;
        
    }
    .Works-Card img{
        height: 250px;
        margin-top: 10px;
    }
    .Works-L{
        flex-direction: column;
        margin-bottom: 0;
    }
    .Works-Head-Title{
        font-size: 30pt;
    }
    .Works-Head-Img,.Works-Head-Container,.Works-Head-L2{
        height: 200px;
    }
    .Works-Head-L2{
        top:60px;
    }
}
