#wrap-video {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(255,255,255,1) 100%);
}

video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#overlay {
    box-sizing: border-box;
    padding-top: 140px;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: rgba(17,17,17,.6);
    display: block;
    color: white;;
    padding-top: 220px;
    padding-bottom: 40px;
}

#overlay .overlay-section1 {
    width: 1320px;
    height: auto;
    overflow: hidden;
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
}

#overlay .overlay-section1 .col1 {
    display: block;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

#overlay .overlay-section1 .col1 h1 {
    font-family: 'headm', serif;
    font-size: clamp(20pt,4vw,28pt);
    margin: 0px;
    text-shadow: 4px 2px 1px rgb(0,0,153,.8);
}

#overlay .overlay-section1 .col1 p {
    font-family: 'textm', serif;
    font-size: clamp(10pt,1.5vw,12pt);
    font-weight: 300;
    margin: 0px;
}

#overlay .overlay-section1 .col1 button {
    cursor: pointer;
    margin-top: 40px;
    font-family: 'textt', serif;
    font-size: 14pt;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    background-color: rgb(255,255,255);
    color: #333333;
    transition: .5s all;
}

#overlay .overlay-section1 .col1 button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 5px rgb(255,255,255,.5);
}

#overlay .overlay-section1 .col2 {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 10px;
}

#overlay .overlay-section1 .col2 h2 {
    font-family: 'headm', serif;
    font-weight: 500;
    font-size: 24pt;
    transition: opacity 0.5s ease-in-out;
}

#overlay .overlay-section2  {
    box-sizing: border-box;
    width: 1320px;
    margin: 60px auto 0px auto;
    height: auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap:80px;
    padding: 0px 20px;
}

#overlay .overlay-section2 figure {
    margin: 0px;
}

#overlay .overlay-section2 figure img {
    width: 100%;
    height: auto;
    margin: 0px;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: .8;
    transition: 1s all;
}

#overlay .overlay-section2 figure img:hover {
    margin: 0px;
    filter: none;
    opacity: .8;
}

@media (max-width:1320px) {
    #overlay .overlay-section1 {
        width: auto;
    }

    #overlay .overlay-section2 {
        width: auto;
    }
}

@media (max-width:1100px) {
    #overlay .overlay-section2 {
        gap: 40px;
    }
}

@media (max-width:1000px) {
    #overlay .overlay-section2 {
        gap: 30px;
    }
}

@media (max-width:900px) {
    #overlay .overlay-section2 {
        gap: 20px;
    }
}

@media (max-width:790px) {
    #overlay .overlay-section2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap:80px;
    }
}

@media (max-width:600px) {
    #overlay .overlay-section2 {
        gap:40px;
    }
}

@media (max-width:400px) {
    #overlay .overlay-section2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap:40px;
    }
}

@media (max-width:890px) {
    #overlay .overlay-section1 {
        display: block;
    }
    #overlay .overlay-section1 .col1 {
        text-align: center;
    }
}


