@import "vars.css";

body, html {
    height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

embed{
    pointer-events: none;
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */
    /* Content styles start here */
    .items-bg {
        height: auto;
        background-color:var(--section-background2);
        position:relative;
        overflow-x:hidden;
    }

    .items {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .title {
        color: var(--text-color2);
        font-family: var(--font-style);
        font-size: 3rem;
        margin: 1vh 0 1vh 0;
    }

    .textdiv1 {
        width: 80%;
        text-align: center;

    }

    #gallery-container {
        display: flex;
        flex-direction: column;
        width: 90%;
        color: black;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
    }

    .gallery-item {
        width: 100%;
        position: relative;
    }

    .gallery-item:hover {
        z-index: 99;
    }

    #gallery-container img {
        width: 100%;
        border-style: solid;
        border-width: 2px;
        transition: transform 1s;
    }

    @keyframes opacity-changer {
        0% {
            opacity: 0.2;
            transform: scale(0.6);
        }
        100% {
            opacity: 0.9;
            transform: scale(1.2);
        }
    }

    .thumbnail2 {
        transition: transform 1s;
    }

    .gallery-item:hover .thumbnail2 {
        transform: scale(1.2);
    }
    /* Content styles end here */
    /* Scroll wheel style start */
    .scroll4::-webkit-scrollbar {
        width: 10px;
    }

    .scroll4::-webkit-scrollbar-thumb {
        background: #797979;
        border-radius: 20px;
    }

    .scroll4::-webkit-scrollbar-track {
        background: #4e4e4e;
        border-radius: 20px;
    }
    /* Scroll wheel style end */
}

@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .gallery-item {
        width: 80%
    }
}

@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */
    .items-bg {
        padding-bottom: 3vh;
    }
}
@media (min-width:1281px) {  /* hi-res laptops and desktops */
    #gallery-container {
        flex-direction: row;
    }

    .gallery-item {
        width: 32%;
    }
}