/* Welcome-section */

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10% 80px 10%;
    background: var(--color-main);
}

.welcome-text {
    width: 26vw;
    color: var(--color-white);
}

.welcome-text h3,
.welcome-text h1 {
    color: var(--color-white);
}

.about-text p {
    font-family: var(--font-family-lato-l);
    font-size: 15px;
}

.welcome-text h1,
.welcome-text p {
    margin-top: 15px;
}

.welcome-text button {
    margin-top: 25px;
}

/* About-section */

.about-section {
    padding: 60px 10% 100px 10%;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 70px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    width: 26vw;
}

.about-container:first-child {
    flex-direction: row-reverse;
    margin-top: 0;
}

@media (max-width: 1150px) {
    .welcome-section,
    .about-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 900px) {
    .about-container img,
    .welcome-section img {
        width: 500px;
    }
}

@media (max-width: 700px) {
    .welcome-section,
    .about-container,
    .about-container:first-child {
        flex-direction: column-reverse;
    }

    .welcome-text,
    .about-text {
        margin-top: 20px;
    }

    .welcome-text p,
    .about-text p {
        font-size: 15px;
    }

    .about-container img,
    .welcome-section img,
    .welcome-text,
    .about-text {
        width: 75vw;
    }
}

@media (max-width: 500px) {
    .about-container img,
    .welcome-section img,
    .welcome-text,
    .about-text {
        width: 85vw;
    }
}

