* {
    font-family: 'Times New Roman', Times, serif;
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%;
    background-color: black !important;
    color: white !important;
    background-image: url("../img/kitchen-7870212_1920.jpg");
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;

}

.navbar {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.nav-link {
    color: white !important;
    font-size: 1.25rem;
    transition: 0.2s;
}

.nav-link:hover {
    color: orange !important;
    scale: 1.05;
    text-decoration: underline !important;
    text-decoration-color: orange !important;
}

.main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.container {
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.753);
    padding-bottom: 3%;
}

.sectionHeaderMain {
    height: 80vh;
    overflow: hidden;
}

.boxH1 {
    position: relative;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 43.75rem;
    overflow: hidden;
    -webkit-box-reflect: below -5rem linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}

.boxH1 h1 {
    position: absolute;
    font-size: 4.0625rem;
    text-align: center;
    top: 0;
    z-index: 20;
    pointer-events: none;
    text-shadow:
        0 0 0.3125rem black,
        0 0 1.5625rem black,
        0 0 3.125rem black,
        0 0 6.25rem white;
}

.boxForImageM {
    perspective: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
    
}

@media (max-width: 75em) {
    .sectionOnePr {
        display: none;
    }

    .sectionOne1Pr {
        display: none;
    }

    .subText {
        margin-top: 20%;
    }
}

@media (max-width: 49.1875em) {
    .boxForImageM1 {
        display: none;
    }

    .boxForImageM {
        margin-left: -6.25rem;
        transform: translateX(6.25rem);

    }

    .boxForImageM {
        scale: 0.7;
    }

    .navbar-brand {
        box-shadow: unset;
        background-color: unset;
    }

    .navbar-brand img {
        position: relative;
        width: 5.625rem;
        left: -1.875rem;
        top: 0.25rem;
    }

    .header_info h1 {
        font-size: 1.875rem !important;
    }

    .header_info p {
        font-size: 1.25rem !important;
    }

    #learnMore {
        margin-top: 3.125rem;
        max-width: 15.625rem;
    }

    .subText {
        padding-top: 20% !important;
    }
}



.boxForImageM1 {
    object-fit: contain;
}

.imgBoxCover1 {
    position: relative;
    transform: rotateY(-5deg) translateZ(-2.5rem) ;
    z-index: -1;
    transition: all 0.5s linear;
}

.imgBoxCover2 {
    position: relative;
    transform: rotateY(-5deg) translateZ(-2.5rem) translateX(-30px);
    z-index: -1;
    transition: all 0.5s linear;
}

.imgBoxCover3 {
    position: relative;
    transform: rotateY(-5deg) translateZ(-2.5rem) translateX(-50px);
    z-index: -1;
    transition: all 0.5s linear;
}

.imgBoxCover4 {
    position: relative;
    transform: rotateY(-5deg) translateZ(-2.5rem) translateX(-70px);
    z-index: -1;
    transition: all 0.5s linear;
    overflow: hidden;
    
}


.imgBoxCover1::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3.125rem;
    height: 100%;
    transform: rotateY(80deg) translateX(10.9375rem);
    background-image: url('./img/anime/resize/pexels-avak-ava-323521783-21905911 (1).jpg');
    z-index: 10;
    transition: all 0.5s linear;
}

.imgBoxCover2::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3.125rem;
    height: 100%;
    transform: rotateY(80deg) translateX(10.9375rem);
    background-image: url('./img/anime/resize/pexels-karola-g-6634138.jpg');
    z-index: 10;
    transition: all 0.5s linear;
}

.imgBoxCover3::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3.125rem;
    height: 100%;
    transform: rotateY(80deg) translateX(10.9375rem);
    background-image: url('./img/anime/resize/pexels-olga-shiryaeva-465903588-33954397 (1).jpg');
    z-index: 10;
    transition: all 0.5s linear;
}

.imgBoxCover4::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3.125rem;
    height: 100%;
    transform: rotateY(80deg) translateX(8.75rem);
    background-image: url('./img/anime/resize/pexels-nur-yilmaz-53801215-9702065.jpg');
    z-index: 10;
    transition: all 0.5s linear;
}

.imgBoxCover1:hover {
    transform: rotateY(0deg) translateZ(0px) translateX(-1.25rem);
    transition: all 0.5s linear;
}

.imgBoxCover1:hover::after {
    transform: rotateY(80deg) translateX(-1.25rem);
    width: 0px;
    transition: all 0.5s linear;
}

.imgBoxCover2:hover {
    transform: rotateY(0deg) translateZ(0px) translateX(-1.875rem);
    transition: all 0.5s linear;
}

.imgBoxCover2:hover::after {
    transform: rotateY(80deg) translateX(-1.875rem);
    width: 0px;
    transition: all 0.5s linear;
}

.imgBoxCover3:hover {
    transform: rotateY(0deg) translateZ(0px) translateX(-1.875rem);
    transition: all 0.5s linear;
}

.imgBoxCover3:hover::after {
    transform: rotateY(80deg) translateX(-1.875rem);
    width: 0px;
    transition: all 0.5s linear;
}

.imgBoxCover4:hover {
    transform: rotateY(0deg) translateZ(0px) translateX(-1.875rem);
    transition: all 0.5s linear;
}

.imgBoxCover4:hover::after {
    transform: rotateY(80deg) translateX(-1.875rem);
    width: 0px;
    transition: all 0.5s linear;
}


.imgM21 {
    position: absolute;
    height: 8rem;
    width: 8rem;
    bottom: 5rem;
    left: 90px;
    box-shadow: 0px 0px 0.9375rem 0.5rem rgb(247, 244, 244);
    border-radius: 50%;
    animation-name: rotHed21;
    animation-duration: 80s;
    animation-iteration-count: infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes rotHed21 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.imgM22 {
    position: absolute;
    height: 8rem;
    width: 8rem;
    bottom: 5rem;
    left: 90px;
    box-shadow: 0px 0px 0.9375rem 0.5rem rgb(247, 244, 244);
    border-radius: 50%;
    animation-name: rotHed22;
    animation-duration: 80s;
    animation-iteration-count: infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes rotHed22 {
    0% {
        transform: translateX(-1.25rem) rotate(0deg);
    }

    100% {
        transform: translateX(-1.25rem) rotate(-360deg);
    }
}


.imgM23 {
    position: absolute;
    height: 8rem;
    width: 8rem;
    bottom: 5rem;
    left: 50px;
    box-shadow: 0px 0px 0.9375rem 0.5rem rgb(247, 244, 244);
    border-radius: 50%;
    animation-name: rotHed23;
    animation-duration: 80s;
    animation-iteration-count: infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes rotHed23 {
    0% {
        transform: translateX(-1.25rem) rotate(0deg);

    }

    100% {
        transform: translateX(-1.25rem) rotate(360deg);
    }
}

.imgM24 {
    position: absolute;
    height: 8rem;
    width: 8rem;
    bottom: 5rem;
    left: 40px;
    box-shadow: 0px 0px 0.9375rem 0.5rem rgb(247, 244, 244);
    border-radius: 50%;
    animation-name: rotHed24;
    animation-duration: 80s;
    animation-iteration-count: infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes rotHed24 {
    0% {
        transform: translateX(-1.25rem) rotate(0deg);
    }

    100% {
        transform: translateX(-1.25rem) rotate(-360deg);
    }
}

.sectionHeaderBorder {
    border-top: 0.0625rem solid white;
}

.sectionHeaderContent {
    height: 60vh;
}

.boxColorLeft {

    min-height: 100%;
    height: 60vh;
    background-size: cover;
}

.boxColorRight {

    background-color: white;
    min-height: 100%;
    background-size: cover;
}



.boxLeft1,
.boxLeft2,
.boxLeft3 {

    position: relative;
    display: inline-block;
    width: 34.375rem;
    height: 34.375rem;
    padding: 0px !important;
    transition: all 0.5s linear;
    overflow: hidden;
}



.boxLeft1 img,
.boxLeft2 img,
.boxLeft3 img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 34.375rem;

}



.mask {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-image: url('./img/Macchia-Vecchia_web.jpg');
    background-size: 34.375rem 34.375rem;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    scale: 2;
}

.mask2 {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-image: url('./img/calacattaGaia.jpg');
    background-size: 34.375rem 34.375rem;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    scale: 2;
}

.mask3 {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-image: url('./img/GRANITE-WHITE-PITAYA-1024x490.jpeg');
    background-size: 34.375rem 34.375rem;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    scale: 2;
}

.boxRight1 {
    background-image: url("./Projects/Kelvin/202420412_5.jpg");
    background-position: center;
}

.boxRight2 {
    background-image: url("./Projects/Sandra/IMG_6778.jpg");
    background-position: right;
}

.boxRight3 {
    background-image: url("./Projects/Reich/Reich.jpeg");
    background-position: right;
}



.sectionHeaderContentText {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    position: relative;
    color: unset !important;
    background-color: white;
    mix-blend-mode: difference;
    padding-top: 1.25rem;
    font-size: 3.4375rem;
    background-clip: text;
    z-index: 10;
    text-shadow: 0.25rem 0.25rem black;
}


.subText {
    position: relative;
    top: 5.3125rem;
    max-width: 100%;
    padding: 2% 0 10%;
    text-align: left;
    background-color: black;
    background-clip: text;
    font-style: normal;
    font-size: 1.03125rem;
}

.sectionOnePr {
    height: 55vh;
    position: relative !important;
}

.sectionOne1Pr {
    height: 55vh;
    position: relative !important;
}

@media (max-width: 49.1875em) {
    .sectionOnePr {
        height: 35vh;
    }

    .sectionOne1Pr {
        height: 35vh;
    }
}

.sectionOneHeaderText {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}



.row1 {
    position: relative !important;
    max-height: 31.25rem;
}

.row1 :nth-child(1) {
    transform: translateY(0px) translateX(0px);
    transition: all 1s;
}

.row1 :nth-child(2) {
    transform: translateY(0px) translateX(0px);
    transition: all 1s;
}

.row1 :nth-child(3) {
    transform: translateY(0px) translateX(0px);
    transition: all 1s;
}





.sectionOneFirstDiv {
    position: absolute !important;
}

.sectionOneFirstDiv img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.625rem;
}

.imgB {
    max-height: 11.25rem;
    overflow: hidden;
}

.boxIngB {
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.imgB .boxIngB img {
    padding-top: 2%;
    padding-bottom: 2%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgB .boxIngB img:hover {
    scale: 1.05;
}



.footer {
    padding: 2% 0 1% 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Stylish", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.footer a {
    color: white;
    font-family: "Stylish", serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
}

.messag {
    position: fixed;
    right: 1.1%;
    bottom: .9%;
}

.messag a img {
    margin-left: 0.3125rem;
    width: 2.1875rem;
    height: 2.1875rem;
}

.messag a img:hover {
    scale: 1.2;
}

/* ----------------- */

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: cover;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close-modal:hover {
    color: red;
}

/* ----------- */

.modal2 {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content2 {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: cover;
}

.close-modal2 {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close-modal2:hover {
    color: red;
}

/* -------------- */

.modal3 {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content3 {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: cover;
}

.close-modal3 {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close-modal3:hover {
    color: red;
}

/* ---------------- */

.modal4 {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content4 {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: cover;
}

.close-modal4 {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close-modal4:hover {
    color: red;
}

/* ---------------- */

#prom_disabled {
    pointer-events: none;
    color: grey !important;
    cursor: default;
}

@media (max-width: 580px) {

    .boxForImageM2 {
        transform: translateX(220px);
    }

    .boxForImageM3 {
        transform: translateX(90px);
    }

    .boxForImageM4 {
        transform: translateX(-10px);
    }


    .subText {
        padding: 28% 0 20% !important;
    }

    .subText1 {
        padding: 30% 0 20% !important;
    }


    @keyframes rotHed21 {
        0% {
            transform: translateX(-50px) rotate(0deg);
        }

        100% {
            transform: translateX(-50px) rotate(-360deg);
        }
    }

    @keyframes rotHed22 {
        0% {
            transform: translateX(-40px) rotate(0deg);
        }

        100% {
            transform: translateX(-40px) rotate(-360deg);
        }
    }

    @keyframes rotHed23 {
        0% {
            transform: translateX(-10px) rotate(0deg);
        }

        100% {
            transform: translateX(-10px) rotate(-360deg);
        }
    }

    @keyframes rotHed24 {
        0% {
            transform: translateX(-15px) rotate(0deg);
        }

        100% {
            transform: translateX(-15px) rotate(-360deg);
        }
    }

    .boxH1 {
        -webkit-box-reflect: below -180px linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
    }

    .sectionHeaderContentText {
        font-size: 38px;
    }
}


#log {
    animation-name: svgLogo;
    animation-duration: 1.6s;
    animation-iteration-count: 1;
    scale: 1.1;

}

@keyframes svgLogo {
    0% {
        transform: scale(0.4);
    }

    100% {
        transform: scale(1);
    }
}


.modal-prev4,
.modal-next4 {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 21;
}

.modal-prev4 {
    left: 20px;
}

.modal-next4 {
    right: 20px;
}

.modal-prev4:hover,
.modal-next4:hover {
    color: red;
}

.subText {
    margin-top: 5%;
    margin-bottom: 2%;
}

.sliderSm3,
.sliderSm2,
.sliderSm {
    padding-top: 5% !important;
}

@media (max-width: 490px) {
    .footer {
        padding: 2% 0 13% 0;
    }
}
