@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');

* {
    font-family: "Livvic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    font-size: 16px;
}

body {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

h1, p {
    color: white;
}

h1 {
    text-transform: uppercase;
    font-size: 1.7rem;
    letter-spacing: 4px;
}

p {
    font-size: 0.9rem;
}

.thumbnail {
    position: relative;
}

.thumbnail img {
    max-width: 80%;
    width: 400px;
    cursor: pointer;
    border-radius: 6px;
}

.thumbnail img:hover {
    filter: brightness(0.9);
    transition: 0.3s ease;
}

.thumbnail:after {
    content: "\f04b";    
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #272727;
    padding: 15px;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    transition: 0.1s ease;
    pointer-events: none;
}

.thumbnail:hover:after {
    background: black;
    transition: 0.2s ease;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal video {
    width: 700px;
    max-width: 90%;
}

.modal .close {
    color: White;
    font-size: 25px;
    position: absolute;
    top: 60px;
    right: 60px;
    cursor: pointer;
    transition: 0s ease;
}

.modal .close:hover {
    color: gold;
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .modal .close { 
        top: 30px;
        right: 30px; 
    }
}