:root {
    --section-cqw-font-size: 5.3cqw;
}

main {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    background-color: #f1f1f1;
    background-color: #303030;
    color: rgb(24, 24, 24);
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 3rem;
    display: grid;
    /* grid-template-columns: repeat(3, 1000px); */

    font-size: 0px;
    /* overflow: hidden; */


    /* background-color: greenyellow; */
}

main section {
    width: 100%;
    height: 100%;
    /* height: fit-content; */
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    overflow-x: scroll;
}


main section::-webkit-scrollbar {
    background-color: rgb(219, 219, 219);
    padding: 2px;
    height: 10px;
}

main section::-webkit-scrollbar-track {
    background-color: rgb(0, 0, 0);
    /* box-shadow: 0px 0px 2px 2px rgb(80, 80, 80) inset; */
    /* border: 3px solid rgb(119, 119, 119); */
}

main section::-webkit-scrollbar-thumb {
    background-color: rgb(255, 255, 255);
    border: 2px solid rgb(128, 128, 128);
    border-radius: 50px;
}

main section:hover {
    /* animation-duration: 1000s; */
}

figure {
    /* position: absolute;
    left: 0;
    margin: 0; */
    margin: 0;
    padding: 0;
    /* width: 1440px; */
    /* height: 100%; */
    min-width: 1440px;
    height: 100%;
    /* max-width: 1440px; */
    /* height: fit-content; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    border-radius: 7px;
    /* overflow-x: hidden; */
    box-shadow: 0px 0px 130px 3px rgb(37, 37, 37);
}

figure:hover {
    box-shadow: 0px 0px 30px 3px rgb(61, 61, 61);
}

figure:hover {
    /* box-shadow: 0px 0px 30px 7px rgb(133, 255, 208); */
    
}

figcaption {
    padding-left: 10px;
    padding-right: 10px;
    color: wheat;
    font-size: 1rem;
    align-self: flex-start;
    height: 110px;
}

figcaption>h1 {
    color: white;
}

iframe {
    width: 100%;
    height: 100%;
}

iframe:hover {
    /* background-color: aliceblue;
    color: rgb(31, 31, 31); */
    /* transition: .3s; */
}

@media screen and (max-width: 1000px) {
    main {
        padding: 10px;
        padding-top: 70px;
        gap: 2rem;
    }

    figcaption {
        font-size: .7rem;
    }

    iframe {
        margin-top: auto;
    }

    main section {
        margin: 0;
        padding: 0;
        gap: 1rem;
    }

    figure {
        min-width: 90vw;
        width: 90vw;
        margin: 0;
        padding: 0;
    }
}