/* styles.css */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #34252F;
    color: #34252F;
    font-family: 'Roboto Slab', serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.presentation-container {
    background-color: #00000066;
    border-radius: 15px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 90vh;
    max-width: 1200px; /* Adjust based on desired max width */
}

.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#showreel {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    color: white;
    display: none; /* Initially hidden */
}

.scroll-indicator p {
    margin: 10;
    font-size: 20px;
    font-weight: bold;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow {
    font-size: 24px;
    opacity: 0;
    animation: blink 1s infinite;
}

.arrow:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 2s;
}

.arrow:nth-child(2) {
    animation-delay: 0.2s;
    animation-duration: 2s;
}

.arrow:nth-child(3) {
    animation-delay: 0.4s;
    animation-duration: 2s;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    75% { opacity: 1; }
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

/* CONTACT */

@font-face {
    font-family: 'Nexus_Font'; 
    src: url('../fonts/Nexus_Font.TTF'); 
  }

#presentation{
    margin: 5px;
    color: white;
}

#presentation h1{
    font-size: calc(3vmin + 3vmax);
    text-align: center;
    line-height: 1;
    word-spacing: .5rem;
    font-family: 'Nexus_Font', sans-serif; 
}

hr{
    color: #A480CF;
    width: 100vh;
    margin: 10px auto;
}

#my-works{
    font-size: calc(2vmin + 3vmax);
    text-align: center;
    line-height: 1;
    word-spacing: .5rem;
}

#presentation p:last-of-type{
    text-align: center;
    font-style: italic;
    font-size: medium;
    color: #A480CF;
    margin: 15px 0 0;
    padding: 0;
}

#contact{
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
}

#contact a{
    margin: 10px auto auto;
    font-size: larger;
    color: #b9a2d4;
}

#instagram{
    display: flex;
    align-items: center;
    flex-direction: column;
}

#mail{
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* PORTFOLIO */

article {
    width: 100%;
}

@media screen and (min-width: 700px) {
    body > article {
        display: flex;
        flex-wrap: wrap;
    }
    figure {
        background: #4F345A;
        width: calc(50% + 1px);
        height: 100vh;
        margin: 0 auto 10vh 0;
        position: sticky;
        top: 0;
        overflow: hidden;
        box-shadow: 4px -4px 8px rgba(0,0,0,.4);
    }

    .demi-scroll {
        background: #BAD9B5;
        width: calc(50% + 1px);
        height: 100vh;
        margin: 0 0 10vh auto;
        position: sticky;
        top: 0;
        padding: 5vmin;
        box-shadow: -4px -4px 8px rgba(0,0,0,.4);
    }
    figure:nth-of-type(1),
    .demi-scroll:nth-of-type(1) {
        margin: 0 0 10vh 0;
        width: 50%;
    }
    figure:nth-of-type(2n) {
        margin: 0 0 10vh auto;
    }
    .demi-scroll:nth-of-type(2n) {
        margin: 0 auto 10vh 0;
        box-shadow: 4px -4px 8px rgba(0,0,0,.4);
    }
    figure:last-of-type,
    .demi-scroll:last-of-type {
        margin-bottom: 0;
    }
    .demi-scroll::before {
        background: inherit;
        z-index: 1;
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 7vmin;
        height: 7vmin;
        transform: translate(calc(-50% + 1px), -50%) rotate(-45deg);
        clip-path: polygon(-15% -15%, 110% 0%, 0% 110%);
        box-shadow: -4px -2px 8px rgba(0,0,0,.4);
        border-radius: 1.5vmin 0 0 0;
    }
    .demi-scroll:nth-of-type(2n)::before {
        left: auto;
        right: 0;
        transform: translate(calc(50% - 1px), -50%) rotate(-45deg) scale(-1);
    }
    .demi-scroll::after {
        content: '';
        position: absolute;
        top: 5vmin;
        right: 45%;
        bottom: 5vmin;
        left: 5vmin;
        border: 2px dashed #037971;
        outline: 1px solid #037971;
        outline-offset: -5vmin;
        backdrop-filter: invert(1);
        pointer-events: none;
    }
    .demi-scroll:nth-of-type(2n)::after {
        right: 5vmin;
        left: 45%;
    }
    figure img {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .demi-scroll > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        padding: 1rem;
    }
    h2 {
        margin: 15% 0 auto;
        font-family: 'Nexus_Font', sans-serif; 
        font-size: calc(3vmin + 3vmax);
        text-align: center;
        font-weight: 700;
        line-height: 1;
        word-spacing: .5rem;
    }
    p:not(#my-works):not(footer p) {
        text-align: right;
        width: 100%;
        font-family: "Roboto Slab", serif;
        font-weight: 400;
        font-style: italic;
        font-size: calc(1.5vmin + 1.75vmax);
        margin-bottom: 25%;
    }

    ul{
        margin: 5% auto;
        font-family: "Roboto Slab", serif;
        font-weight: 300;
        font-style: italic;
        font-size: calc(1.2vmin + 1.2vmax);
    }

    ul li a{
        color: #34252F;
    }

    ul li a:hover{
        color: #624658;
    }
}

/* carroussel */

.carousel-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    height: 100vh;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    height: auto;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

footer{
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    font-size: calc(1.5vmin + 1.75vmax);
    font-family: 'Nexus_Font', sans-serif; 
    padding: 25px;
    background-color: #037971;
    border-top: solid 5px #34252F;
}

footer a{
    text-align: center;
    color: white;
    font-family: "Roboto Slab", serif;
}

a:hover:not(#contact-honorine){
    color: #BAD9B5;
}
