@font-face {
    font-family: 'kyivtype sans';
    src: url('/kyivtype-regular') format('truetype');
}

body {
    background-color: #f0f0f0;
    font-family: 'kyivtype sans', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: black;
}

.nav-bar {
    font-size: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 2.6vh 5vw;
    position: sticky;
    top: 0;
    z-index: 1000;

    a {
        color: white;
    }


    .nav-bar-right-element {
        display: flex;
        gap: 5vw;
    }

    .nav-bar-left-element {
        margin-right: auto;
    }
}

.presentation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 97.5vh;
    background-color: #333;
    color: white;

    h1 {
        font-size: 5rem;
    }

    p {
        font-size: 2rem;
    }
}

.content-row {
    width: 80%;
    margin: 10%;
    display: flex;
    flex-direction: column;
    align-self: center;
    gap: 2rem;
    align-items: center;
    font-size: 1.5rem;

    a {
        text-decoration: none;
        color: #000000;
        position: relative;
        font-size: 1.5rem;
    }

    a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background-color: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    a:hover::after {
        transform: scaleX(1);
        transform-origin: right;
    }
}

.phone-container {
    position: relative;
    width: 380px; /* Augmenté de 320px */
    height: 780px; /* Augmenté de 650px */
    background-color: #111;
    border-radius: 42px; /* Légèrement augmenté pour maintenir les proportions */
    border: 10px solid #333; /* Augmenté de 8px */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 10px; /* Augmenté de 8px */
    margin: 20px auto;
}

/* Ajustez également les éléments internes pour les proportions */
.phone-header {
    height: 36px; /* Augmenté de 30px */
}

.phone-notch {
    width: 84px; /* Augmenté de 70px */
    height: 24px; /* Augmenté de 20px */
}

.phone-footer {
    height: 36px; /* Augmenté de 30px */
}

.home-button {
    width: 48px; /* Augmenté de 40px */
    height: 5px; /* Augmenté de 4px */
}

.phone-screen {
    width: 100%;
    height: calc(100% - 72px);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    /* Échelle du contenu pour simuler un affichage mobile */
    transform: scale(1);
    transform-origin: 0 0;
}

.phone-footer {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-container {
    position: relative;
    width: 800px;
    height: 500px;
    background-color: #f5f5f5;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    overflow: hidden;
}

.desktop-header {
    height: 40px;
    width: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #ccc;
}

.browser-controls {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot:nth-child(1) {
    background-color: #ff6058;
}

.browser-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.browser-dot:nth-child(3) {
    background-color: #28c941;
}

.browser-address-bar {
    flex-grow: 1;
    background-color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
}

.desktop-viewport {
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
}

.desktop-screen {
    width: 300%;
    height: 300%;
    border: none;
    transform: scale(0.33);
    transform-origin: 0 0;
}

.video-gallery {
    width: 90%;
    margin: 0 auto;
}

.video-description {
    margin-bottom: 2rem;
    line-height: 1.5;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.03);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.video-item h3 {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    text-align: center;
}

.home-button {
    width: 40px;
    height: 4px;
    background-color: #555;
    border-radius: 2px;
}

.content {
    width: 80%;
    margin: 10%;
    display: flex;
    flex-direction: row;
    align-self: center;
    gap: 2rem;
    align-items: center;
    font-size: 1.5rem;

    .video-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        cursor: pointer;
    }

    .thumbnail {
        width: 100%;
        display: block;
    }

    .video {
        display: none;
        width: 100%;
    }

    a {
        text-decoration: none;
        color: #000000;
        position: relative;
        font-size: 1.5rem;
    }

    a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background-color: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    a:hover::after {
        transform: scaleX(1);
        transform-origin: right;
    }


    h2 {
        font-size: 3rem;
    }

    p {
        font-size: 1.5rem;
    }
}

.credits {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: #333;
    color: white;
}
