@import url("../style-global.css");

body {
    background-color: var(--color-primary-100);
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    position: static;
}

#main-title,
#project-content {
    margin-top: 48px;
    flex-direction: column;
    margin: 6vw 10vh;
    max-width: 1040px;
}

#main-title .horizontal-textLabel {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

#project-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-120);
}

#project-content .content-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

#project-content .vertical-text-layout {
        width: 50%;
        min-width: 650px;
}

#project-content .image-container {
    display: flex;
    flex-direction: row;
    gap: var(--space-16);
}

#project-content .img-horizontal-layout .img-vertical-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

#project-content .image-container .img-horizontal-layout .img-vertical-layout img {
    width: 100%;
}

#project-content .image-container img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

#project-content .content-group .img-horizontal-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: var(--space-24);
}

#project-content .content-group .text-img-horizontal {
    display: flex;
    flex-direction: row;
}

.wave-container {
    width: 100%;
    line-height: 0; /* Rimuove piccoli spazi bianchi sotto l'SVG */
    background-color: var(--color-primary-100); /* Sopra l'onda c'è il colore chiaro */
}

.elipse {
  background-color: var(--color-primary-100);
}

/* Responsive */

@media only screen and (max-width: 768px) {

    header .header-container,
    #main-title,
    #project-content {
        margin: 0px 16px;
    }

    #main-title {
        height: 80vh;
    }

    #main-title .horizontal-textLabel {
        flex-direction: column;
        gap: var(--space-32)
    }
    
    #project-content .vertical-text-layout {
        width: 100%;
        min-width: 0px;
    }

    #project-content .image-container {
        flex-direction: column;
    }

    #project-content .content-group .img-horizontal-layout {
        flex-direction: column;
        align-items: stretch;
        margin: 0px 16px;
    }

    #project-content .content-group .img-horizontal-layout .img-vertical-layout {
        width: 100%;
    }

    #project-content .image-container .img-horizontal-layout {
        flex-direction: column;
        margin: 0px 16px;
    }

    #project-content p {
        margin: 0px 16px;
    }

    #project-content h3, #project-content h4 {
        margin: 0px 16px;
    }

    #project-content .image-container img {
        width: 100%;
        margin: 0px 0px;
    }

    #project-content .img-horizontal-layout img {
        width: 100%;
        margin: 0px 0px;
    }

    #project-content .image-container img[style],
    #project-content .img-horizontal-layout img[style] {
        width: 100% !important;
        max-width: 100%;
    }

    #project-content .content-group .text-img-horizontal {
    flex-direction: column;
    gap: var(--space-24);
}







}