.about {
    display: inline-block;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lang {
    display: flex;
    justify-content: flex-end;
    background: #0a001b;
    border: 1px solid #0a001b;
}

#welcome {
    display: inline-block;
    box-sizing: border-box;
    max-height: calc(180px - 2rem);
    width: auto;
}

@media screen and (max-width: 768px) {
    #welcome {
        max-height: calc(150px - 2rem);
        width: 100%;
    }
}

.svg-curve {
    fill: none;
    width: 100%;
    display: block;
}

.svg-curve path {
    fill: #0a001b;
}

.welcome-container {
    width: 100%;
    height: 100%;
    min-height: 88vh;
    background: #0a001b;
    border-top: 1px solid #0a001b;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    margin-bottom: -2px;
}

.welcome-inner {
    width: 100%;
    max-width: calc(1280px + 2rem);
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    color: #fff;
    gap: 1rem;
}

@media screen and (max-width: 1200px) {
    .welcome-inner {
        flex-direction: column-reverse;
        gap: 0rem;
        padding: 0rem;
    }

    .company-logo {
        margin-top: 0rem;
        margin-bottom: -3rem;
    }

    .company-logo img {
        display: block;
        /* width: 50%; */
        height: auto;
        max-width: 100%;
    }

    .welcome-text {
        margin: 0 auto;
        text-align: center;
    }
}

.welcome-text {
    /* width: 100%; */
    height: 100%;
    /* display: grid; */
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 1200px) {
    .welcome-text {
        padding: 1rem;
        grid-template-rows: auto 1fr;
    }
}

/* .company-logo, .welcome-text {
    animation: fadeIn 2s ease-in-out;
} */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.welcome-inner p {
    max-width: 69ch;
}

.projects {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

.projects-text {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

h2 {
    font-size: 2.8rem;
}

.project-grid {
    margin: 0 auto 6rem;
    display: grid;
    max-width: calc(1280px + 2rem);
    padding: 0 1rem;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

@media screen and (max-width: 1320px) {
    .project-grid {
        gap: 1rem;
    }
}

@media screen and (max-width: 1100px) {
    .project-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project {
    margin: 0 auto;
    padding: 1rem;
    border-radius: 2rem;
    border: 1px solid #2b69fb1f;
    box-shadow: 0 0 1rem 1rem #2b69fb0f;
    position: relative;
}

.project-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.project-img,
.project-text {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    /* position: relative; */
}

.view-demo {
    position: absolute;
    left: 50%;
    font-style: italic;
    transform: translate(-50%, 280%);
    font-weight: bold;
    /* opacity: 0; */
    /* transition: opacity 0.3s ease; */
}

/* .project-img:hover {
    .view-demo {
        opacity: 1;
    }
} */

a {
    text-decoration: none;
}

.project-img {
    display: flex;
    width: 100%;
    height: auto;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: .8rem;
    border: 1px solid #2b69fb1f;
    transition: all 0.3s ease-in-out;
}

.project-img:hover {
    background-size: 120% auto;
}

.project-img img {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: .8rem;
    border: 1px solid #2b69fb1f;
}

.project-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    padding: 0rem 1rem;
    color: #0a001b;
    margin-top: 47%;
    background: #fafeff;
    box-shadow: 0 0 4rem 6rem #fafeff;
}

@media screen and (max-width: 768px) {
    .project-text {
        padding: 0rem 0rem;
    }
}

.description {
    margin-bottom: 3.5rem;
}

@media screen and (max-width: 768px) {
    .description {
        margin-bottom: 2.5rem;
    }
}

.project-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    position: absolute;
    bottom: 0;
    padding: 1rem;
}

@media screen and (max-width: 768px) {
    .project-buttons {
        padding: 0.5rem 0rem;
        position: relative;
        margin-top: -2rem;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a001b;
    margin-top: -2px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    padding: 5rem 1rem;
    margin: auto;
    color: #fff;
}

.copyright {
    font-size: 1rem;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 1rem; */
    font-size: 1.5rem;
}

.txt {
    margin-bottom: 4.5rem;
    margin-right: -4.7rem;
}

@media screen and (max-width: 550px) {
    .footer-inner {
        display: block;
        width: auto;
    }

    .contact {
        gap: 0.5rem;
    }
            
    .txt {
        margin-right: -5.7rem;
    }

    .copyright {
        text-align: center;
        margin-top: 2rem;
    }
}