@font-face {
    font-family: lato-hairline;
    src: url('Lato-Hairline.ttf');
}

body{
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

.sect{
    overflow: hidden;
}

#Vid{
    position: fixed;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* opacity: 0.7; */
    z-index: -100;
}

.sect1 h1{
    transition: 3s;
}

.sect1 {
    background: linear-gradient(135deg, #000000a1, #272727a1);
    color: #f5f5f5;
    flex-direction: column;
    height: 100vh;

    p{
        text-align: center;
        padding: 1px;
        margin: 10px;
        max-width: 500px;
        font-size: 1.25rem;
        font-family: lato-hairline;
    }
}

.sect1, .sect3{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .sect1, .sect2, .sect3{
    overflow-x: hidden;
} */

.sect2 h4, p{
    text-align: center;
}

.sect2 .fact{
    max-width: 300px;
    min-width: 150px;
    text-align: justify;
}

.sectInner{
    position: absolute;
    align-items: center;
    justify-content: center;
}

.sect3{
    background: #ffffff;
    height: 10vh;
}

/* .sect2{
    opacity: 0;
} */



@media (width < 500px) {
    .sect1 {
        h1{
            top: 50%;
        }
        p{
            max-width: 200px;
        }
    }

    .sect2{
        position: relative;
        padding: 3px;
        height: 160vh;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 98%;
        background: #f5f5f5;
        /* display: grid;
        grid-template-columns: auto auto auto;
        grid-auto-rows: max-content; */

        .item{
            position: absolute;
            top: 0;
            height: 50vh;
            width: 300px;
            background: url('kingcopy\ packet\ photo\ pose\ -2\ transparent.png');
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 100;
        }
    }

    .sectInner{
        background: #f5f5f5;
        display: grid;
        /* grid-auto-rows: max-content;
        justify-content: space-evenly;
        align-items: stretch;
        align-content: space-evenly;
        justify-items: stretch; */
    }

    .sectI1{
        grid-template-columns: auto;
        position: absolute;
        top: 30%;
        height: 60vh;
    }

    .sectI2 img{
        width: 30px;
    }

    .sectI2{
        grid-template-columns: auto auto;
        background-color: transparent;
        position: absolute;
        top: 78%;
        height: 20vh;
    }

    .fact5 , .fact6 , .fact7,  .fact8{
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media (width > 499px) {
    /* .sect1 {
    } */

    .sect2{
        position: relative;
        height: 150vh;
        background: #f5f5f5;
        display: grid;
        align-items: center;
        justify-content: center;
        justify-items: center;
        grid-template-rows: auto;
        /* grid-auto-rows: max-content;
        justify-content: space-evenly;
        align-items: stretch;
        align-content: space-evenly;
        justify-items: stretch; */
    }

    .sectInner{
        /* height: 40vh; */
        background: #f5f5f5;
        display: grid;
        grid-template-columns: auto auto;
        /* grid-auto-rows: max-content;
        justify-content: space-evenly;
        align-items: stretch;
        align-content: space-evenly;
        justify-items: stretch; */
    }

    .item{
        position: absolute;
        height: 70vh;
        top: 15%;
        width: 450px;
        background: url('kingcopy\ packet\ photo\ pose\ -2\ transparent.png');
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 100;
    }

    .sectI1{
        position: absolute;
        top: 0%;
    }

    .fact{
        margin: 150px;
    }

    .sectI2{
        position: absolute;
        top: 70%;
        min-height: 20vh;
        display: grid;
        align-items: center;
        justify-content: center;
        grid-template-columns: auto auto auto auto;
        padding: 0;
    }

    .sectI2 .fact{
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 19vh;
    }

    .sectI2 img{
        width: 50px;
    }

    .sectI2 span{
        border: 2px solid #081a79;
        border-radius: 50%;
        height: 50px;
        width: 50px;
        padding: 20px;
        display: flex;
        align-items: center;
        box-shadow: 0 0 10px #000000;
    }
}