.header-routes {
    align-items: flex-start;
    gap: 21px;
    height: 19px;
    position: relative;
    width: fit-content;
}

@media (max-width: 1439px) {
    .header-routes {
        display: none; 
    }
}

@media (min-width: 1440px) {
    .header-routes {
        display: flex;  
    }
}

.home-image {
    align-items: flex-start;
    background-image: url('../img/home-background.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    width: 100vw;
    position: relative;
}

.home-main-text {
    align-self: stretch;
    line-height: 1.5; 
    position: relative;
}

@media (min-width: 0px) and (max-width: 767px) {
    .home-image {
        height: 100vh;
    }

    .home-main-text {
        font-size: var(--font-size-xl2);
        width: 100%;
    }
}
  
@media (min-width: 768px) and (max-width: 1439px) {
    .home-image {
        height: 100vh;
    }

    .home-main-text {
        font-size: var(--font-size-xl2);
        width: 50%;
    }
}

@media (min-width: 1440px) {
    .home-image {
        height: 65vh;
    }

    .home-main-text {
        font-size: var(--font-size-xxxl);
        width: 50%;
    }
}

.team-member-container {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
  
@media (min-width: 0px) and (max-width: 767px) {
    .team-member-container {
        width: calc(100% - 14px); ; 
    }
}
  
@media (min-width: 768px) and (max-width: 1439px) {
    .team-member-container {
        width: calc(50% - 14px); 
    }
}

@media (min-width: 1440px) {
    .team-member-container {
        width: calc(24% - 14px);
    }
}
  
.about-container {
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

@media (max-width: 1439px) {
    .about-container {
        flex-direction: column; 
    }
}

@media (min-width: 1440px) {
    .about-container {
        flex-direction: row-reverse; 
    }
}

.about-photo {
    align-items: flex-start;
    background-image: url('../img/about-background.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

@media (min-width: 0px) and (max-width: 767px) {
    .about-photo {
        height: 20vh;
    }
}
  
@media (min-width: 768px) and (max-width: 1439px) {
    .about-photo {
        height: 30vh;
    }
}

@media (min-width: 1440px) {
    .about-photo {
        height: 35vh;
    }
}

.footer-small {
    align-items: center;
    align-self: stretch;
    background-color: #141e2d;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
    justify-content: center;
    mix-blend-mode: normal;
    padding: 40px 24px;
    position: relative;
}

.footer-large {
    align-items: center;
    align-self: stretch;
    background-color: #141e2d;
    display: flex;
    flex-direction: row;
    gap: 24px;
    height: auto;
    justify-content: space-between;
    mix-blend-mode: normal;
    padding: 40px 24px;
    position: relative;
}

@media (max-width: 1439px) {
    .footer-small {
        display: flex; 
    }
    .footer-large {
        display: none; 
    }
}

@media (min-width: 1440px) {
    .footer-small {
        display: none; 
    }
    .footer-large {
        display: flex; 
    }
}
