.projects-section {
    row-gap: 10vw;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    background-color: white;
    color: black;
    z-index: 1;
    padding-bottom: 10%;
}

.flex-title {
    display: flex;
    position: relative;
    width: 100vw;
    justify-content: center;
    margin-top: 5vw;
    color: rgb(0, 126, 126);
}

.camcorder-timer {
  display: inline-block;
  position: relative;
  color: inherit;
  font-size: clamp(10px, 2vw, 30px);
  
}

/* Séparateurs comme sur les écrans digitaux */
.sep {
  font-weight: bold;
}

.rec {
    position:absolute;
    color: rgb(0, 126, 126);
    align-self: center;
    right: 5%;
    font-size: clamp(10px, 2vw, 30px);
    text-wrap: nowrap;
    justify-content: center;
}

.record-dot {
    animation: 1s linear 0s infinite alternate blink;
}

@keyframes blink {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
    
}

.projects-section h1 {
    margin-left: -5 0vh;
}



.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    aspect-ratio: 32/9;
    width: 75vw;
    text-align: right;
    align-items: center;
}

@media (max-width: 768px) {
  .presentation-text {
    
    grid-template-columns: 1fr;
  }
}

.project.inverse {
    text-align: left;
}

.project.inverse .project-title {
    transform: translate(-20%);
}

.project-title {
    transform: translate(20%);
    color: rgb(0, 126, 126);
    font-size: clamp(18px, 3vw, 50px);
}

.project-text small {
    font-size: clamp(10px, 2vw, 30vw);
    white-space: nowrap;
}

.project:hover h3,.project:hover small {
    color: rgb(0, 126, 126);
;
}

.project-text, 
.project-text h3,
.project-text small {
  margin: 0;
  padding: 0;
}

.video-player {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 120%;
    width: 120%;
    align-items: center;
    justify-content: center;
}

.project:hover {
    cursor: pointer;
}

.project:hover .project-img {
    opacity: 0;
    height: 100%;
    width: 100%;
}

.project:hover .project-video {
    height: 100%;
    width: 100%;
}

.project-img, .project-video {
    position: absolute;
    object-fit: cover;
    width: 80%;
    height: 80%;
}

.project-img {
    transition: opacity 1s,
    height 0.25s,
    width 0.25s;
    z-index: -1;
}

.project-video {
    z-index: -2;
    transition: height 0.25s,
    width 0.25s;
}



