/* header */

.headline-pict {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: 85vh;
}

.headline-pict::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    filter: brightness(50%);
}

.headline-inside {
    position: relative;
}

.headline {
    overflow: hidden;
}

.headline-texts {
    margin-top: 35vh;
}

.headline-text {
    position: relative;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    text-align: right;
    padding-right: 20px;
    margin-right: 20px;
    width: 60%;
    margin-left: auto;
    letter-spacing: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF, #FFFFFF);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(121, 11, 11, 0);
}

#headline-text1 {
    background-size: 100%;
    animation: shadow-transition1 2s linear;
    font-weight: bold;
    font-size: 38px;
}

#headline-text2 {
    animation: light-transition2 4s linear;
    font-size: 24px;
}

@keyframes shadow-transition1 {
    0% {
        background-size: 0%;
    }

    100% {
        background-size: 100%;
    }
}


@keyframes light-transition2 {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@media only screen 
and (max-width : 821px) {
    .headline-text {
        width: 70%;
    }

    #headline-text1 {
        font-size: 30px;
    }

    #headline-text2 {
        font-size: 18px;
    }
}

@media only screen 
and (max-width : 380px) {
    .headline-text {
        width: 90%;
    }
    
    #headline-text1 {
        font-size: 22px;
    }

    #headline-text2 {
        font-size: 13px;
    }
}

/* overview */

.overview {
    margin-top: 5vh;
    margin-bottom: 10vh;
    margin-left: 20%;
    margin-right: 20%;
}

.topic-hat {
    width: 75px;
    height: 5px !important;
    border-width: 0;
    border-radius: 10px;
    color: #FF595B;
    background-color: #FF595B;
    opacity: 1;
}

.topic h2 {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
}

.topic p {
    font-family: "Poppins", sans-serif;
    text-align: justify;
    text-justify: inter-word;
    font-size: 14px;
}

/* services */

.services {
    margin-top: 5vh;
    margin-bottom: 10vh;
}

.services .img-card {
    width: 100%;
}

.services .img-desc {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    padding: 10px;
    text-align: left;
}

/* projects */

.projects {
    margin-bottom: 10vh;
}

.projects .topic {
    text-align: justify;
    text-justify: inter-word;
}

.projects .topic h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: right;
}

.projects .topic-hat {
    float: right;
}

.projects .table {
    font-family: "Poppins", sans-serif;
}