#fixed-header-menu-helper {
    display: none;
    background-color: white;
    box-shadow: #296D7B33 5px 5px 0px;
    height: calc(100% + 1em);
    width: calc(fit-content + 1em);
    margin: -0.5em -0.5em -0.5em -0.5em;
    padding: 0.5em 0.5em 0.5em 0.5em;
}


.menu-button {
    cursor: pointer;
    display: none;
    height: 100%;
    aspect-ratio : 1 / 1;
    padding: 0.5em;
    align-items: center;
    justify-items: center;
}

.menu-button div {
    display: grid;
    gap: 0.6em;
    height: fit-content;
    width: 100%;
    transition: all .2s;
}

.line {
    background-color: black !important;
    height: 0.2em !important;
    border-radius: 0.2em;
}

.full-line {
    width: 100% !important;
}

.line-75 {
    width: 75% !important;
}

.half-line {
    width: 50% !important;
}

.menu-button:hover div .line-75 {
    width: 90% !important;
}

.menu-button:hover div .half-line {
    width: 80% !important;
}

.header-helper {
    width: 100%;
    display: none;
}

menu {
    justify-items: end;
    color: white;
    position: fixed;
    display: grid;
    z-index: 100;
    padding: 1em 3.5em 1em 3.5em;
    margin: 0;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    align-content: start;
    gap: 2em;
    overflow: hidden;
    transition: all 0.2s;
    background-image: linear-gradient(45deg, #411C72 20%, #296D7B 65%);
}

#menu-logo {
    width: 80%;
    position: absolute;
    left: -30%;
    bottom: -6em;
    color: white;
    opacity: 20%;
}

menu a {
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    display: flex;
    width: fit-content;
    height: fit-content;
    flex-direction: column;
    overflow: hidden;
}

menu a div {
    margin-top: 0.2em;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: white;
    margin-left: -100%;
    transition: all 0.2s;
}

menu a:hover .nav-marker {
    margin-left: 0; 
}

.close-menu-button {
    width: 4em;
    height: 4em;
    margin-top: 0.7em;
    margin-bottom: 6em;
    margin-right: -1.5em;
    cursor: pointer;
}

.close-button-line {
    background-color: white;
    height: 0.2em !important;
    border-radius: 0.2em;
    margin-top: 50%;
}

#close-button-line1 {
    rotate: 45deg;
}
   

#close-button-line2 {
    rotate: -45deg;
    margin-top: -0.2em;
}


@media (max-width: 1400px) {
    #contact-section-content {
        grid-template-columns: 1fr 2fr;
        gap: 1em;
    }

    .detail-services content {
        grid-template-columns: 3fr 5fr;
        gap: 2em;
      }
}

@media (max-width: 1240px) {
    .simple-text {
        grid-template-columns: 1fr 1fr;
    }

    .detail-page-top h2 {
        font-size: 5em;
    }

    .detail-slogens p {
        font-size: 2.5em;
    }

    .simple-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 7em;
    }

    #home-top-video-container {
        height: 67vh;
    }

    #services-list {
        grid-template-columns: 1fr 1fr;
    }

    #contact-section-content {
        grid-template-columns: 1fr;
        gap: 3.5em;
    }

    #proceed {
        display: grid;
        grid-template-columns: 1fr 0.8fr 1fr 0.8fr 1fr 0.8fr 1fr;
    }
}

@media (max-width: 1120px) {
    .detail-services content {
        grid-template-columns: 5fr 5fr;
        gap: 2em;
      }

      .expanded-list-img {
        max-height: 64%;
        max-width: 100%;
        top: 18%;
      }

    #footer-links {
        grid-template-columns: 1fr 1.5fr 1fr;
    }

    .detail-page-top img {
        height: 80%;
        right: -20%;
        bottom: 10%;
    }

    .detail-slogens {
        width: 100%;
        rotate: 0deg;
    }

    .detail-page-top h2 {
        font-size: 4.5em;
    }

    .detail-slogens p {
        font-size: 2em;
        width: 70%;
    }

    .detail-page-top h4 {
        font-size: 1.3em;
    }

    .box-list {
        width: 100%;
    }

    .simple-text {
        grid-template-columns: 1.2fr 1fr;
        gap: 4em;
    }
}



@media (max-width: 980px) {
    .detail-page-top img {
        right: -35%;
    }
    
    #about-section-content {
        grid-template-columns: 1fr;
    }

    #about-img-section {
        width: 50%;
        align-self: center;
        justify-self: center;
        margin-top: 4em;
        margin-bottom: 3em;
    }
}

@media (max-width: 910px) {
    #footer-links {
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas: "footer-links1 footer-links3"
            "footer-links2 footer-links3";
        gap: 0.8em;
    }

    #footer-links3 {
        align-items: start;
        justify-content: start;
        justify-items: start;
        align-content: start;
    }

    .detail-page-top {
        padding-right: 3em;
    }

    .simple-text {
        margin-right: 3em;
    }

    .detail-services {
        margin-right: 3em;
    }

    .detail-slogens {
        margin-right: 3em;
    }

    .simple-centered-text {
        margin-right: 3em;
    }

    .simple-page-content {
        margin-right: 3em;
    }

    #welcome-section {
        margin-right: 3em;
    }

    #services-section {
        margin-right: 3em;
    }

    #contact-section {
        margin-right: 3em;
    }

    #proceed-section {
        padding-right: 3em;
    }

    #about-section {
        margin-right: 3em;
    }
}

@media (max-width: 850px) {

    .detail-page-top .img-container {
        width: 100%;
    }

    .detail-page-top h2 {
        font-size: 4em;
        max-width: 80%;
    }

    .detail-page-top {
        padding-left: 3em;
    }

    .simple-text {
        margin-left: 3em;
    }

    .detail-services {
        margin-left: 3em;
    }

    .detail-slogens {
        margin-left: 3em;
    }

    .simple-centered-text {
        margin-left: 3em;
    }

    #welcome-section {
        margin-left: 3em;
    }

    #services-section {
        margin-left: 3em;
    }

    #contact-section {
        margin-left: 3em;
    }

    .simple-page-content {
        margin-left: 3em;
    }

    #proceed-section {
        padding-left: 3em;
    }

    #about-section {
        margin-left: 3em;
    }

    #fixed-logo {
        position: absolute;
        top: 0.5em;
        left: 2em;
    }

    #fixed-header #fixed-logo {
        display: grid;
        background-color: none;
        margin: 0em 0em 0em -0.27em;
        padding: 0em;
        box-shadow: none;
    }

    #fixed-header-menu-helper {
        display: flex;
    }

    nav {
        display: none !important;
    }

    .header-helper {
        display: grid !important;
    }

    .menu-button {
        display: grid !important;
    }

    #fixed-header #fixed-menu-button {
        display: grid !important;
    }
}


@media (max-width: 790px) {
    footer {
        grid-template-columns: 1fr;
        margin-right: 0em;
        gap: 3em;
        margin-top: 3em;
        grid-template-areas: "footer-links" "footer-logo";
    }

    #footer-logo img {
        width: 40%;
    }
}

@media (max-width: 720px) {
    .detail-services content {
        grid-template-columns: 5fr 4fr;
        gap: 2em;
      }

      .expanded-list-img {
        max-height: 50%;
        top: 25%;
      }

    .simple-text {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .box-list {
        max-width: 75%;
    }

    .detail-page-top img {
        right: -45%;
    }

    .simple-page-content {
        grid-template-columns: 1fr;
    }

    #contact-form form {
        grid-template-areas:
            "contact-input-firstname contact-input-surname" 
            "contact-input-company contact-input-company" 
            "contact-input-email contact-input-email"
            "contact-input-tel contact-input-tel" 
            "contact-input-message contact-input-message" 
            "contact-form-button contact-form-button";
    }

    #welcome-section {
        grid-template-columns: 1fr;
    }

    #home-top-video-container {
        height: 58vh;
    }

    #proceed {
        grid-template-columns: 1fr;
        gap: 1em;
        margin-top: 1em;
        margin-bottom: 2em;
    }

    #proceed div {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 1.5em;
        text-align: start;
        align-items: center;
        justify-items: center;
    }

    #proceed div p {
        width: 100%;
        margin: 0em;
    }

    #proceed div img {
        width: 85%;
    }

    .proceed-next-img {
        display: none !important;
    }
}

@media (max-width: 650px) {
    .detail-services {
        margin-bottom: 0em;
    }

    .detail-services content {
        margin-bottom: -20vw;
        grid-template-columns: 1fr;
        height: fit-content;
    }

    .expanded-list-img-container {
        height: 100vw;
        margin-top: 3em;
      }
      
      .expanded-list-img {
        width: 75%;
        top: 0;
      }


    #about-img-section {
        width: 75%;
        margin-bottom: 2em;
    }


}




@media (max-width: 560px) {
    .simple-grid-4 {
        grid-template-columns: 1fr;
        margin-top: 3em;
        gap: 4em;
        margin-bottom: 5em;
    }

    .detail-image-item {
        grid-template-columns: 1fr 1fr;
    }

    footer {
        margin-top: 1em;
    }

    .detail-page-top img {
        right: -75%;
        max-width: 150%;
        opacity: 70%;
    }

    .detail-page-top h2 {
        font-size: 3.8em;
        max-width: 95%;
    }

    .detail-page-top {
        padding-right: 1.5em;
        padding-left: 1.5em;
    }

    .simple-text {
        margin-right: 1.5em;
        margin-left: 1.5em;
    }

    .detail-services {
        margin-right: 1.5em;
        margin-left: 1.5em;
    }

    .detail-slogens {
        margin-right: 1.5em;
        margin-left: 1.5em;
    }

    .simple-centered-text {
        margin-right: 1.5em;
        margin-left: 1.5em;
    }



    #welcome-section {
        margin-left: 1.5em;
        margin-right: 1.5em;
    }

    .simple-page-content {
        margin-left: 1.5em;
        margin-right: 1.5em;
    }

    #services-section {
        margin-left: 1.5em;
        margin-right: 1.5em;
        margin-top: 5vh;
    }

    #contact-section {
        margin-left: 1.5em;
        margin-right: 1.5em;
        margin-top: 5vh;
    }

    #proceed-section {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    #about-section {
        margin-left: 1.5em;
        margin-right: 1.5em;
    }

    #img-about-bg {
        height: calc(100% + 4em);
    }

    #services-list {
        grid-template-columns: 1fr;
    }

    .service-item {
        height: fit-content !important;
    }

    .service-item content {
        height: fit-content !important;
        position: relative;
        margin-bottom: 1.5em;
    }

    .service-item content img {
        position: absolute;
        height: 7.2em;
        margin-top: 0;
    }

    .service-item content h5 {
        margin-left: 25%;
        margin-top: 1.5em;
        margin-bottom: 2.5em;
    }

    .service-item:hover content img {
        margin-top: 0;
    }

    header {
        height: 5em;
        padding-left: 1em;
        padding-right: 1em;
    }

    .close-menu-button {
        width: 3em;
        height: 3em;
        margin-right: -1.7em;
        margin-top: 0.5em;
    }

    #fixed-logo {
        height: 4em;
        left: 1em;
        margin: 0em 0em 0em -0.54em !important;
        background-color: transparent !important;
    }

    .menu-button div {
        gap: 0.5em !important;
    }

    .line {
        height: 0.15em !important;
    }
}






