@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: black;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    height: 100svh;
    background: var(--bg-color);
    color: var(--text-color);
}

section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 10rem 9% 2rem;
}

/* Home Section */
.home {
    flex-direction: column;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--main-bg-color);
    color: white;
    font-family: 'Jost', sans-serif;
    padding: 20px;
}

.slideshow-container {
    position: relative;
    left: 0;
    width: 100%;
    height: 33%;
    overflow: hidden;
    z-index: -1;
}

.slideshow {
    display: flex;
    animation: slideShow 30s linear infinite;
}

    .slideshow img {
        width: calc((100% / 4) - 20px);
        height: 100%;
        object-fit: cover;
        margin-right: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    }

        .slideshow img:last-child {
            margin-right: 0;
        }

@keyframes slideShow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

    .btn-box .btn {
        position: relative;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 15rem;
        height: 100%;
        background: var(--main-color);
        border: .2rem solid var(--main-color);
        border-radius: .8rem;
        font-size: 1.8rem;
        font-weight: 600;
        letter-spacing: .1rem;
        color: var(--bg-color);
        z-index: 1;
        overflow: hidden;
        transition: .5s;
    }

        .btn-box .btn:hover {
            color: var(--main-color);
        }

        .btn-box .btn:nth-child(2) {
            background: transparent;
            color: var(--main-color);
        }

            .btn-box .btn:nth-child(2):hover {
                color: var(--bg-color);
            }

            .btn-box .btn:nth-child(2)::before {
                background: var(--main-color);
            }

        .btn-box .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: var(--bg-color);
            z-index: -1;
            transition: .5s;
        }

        .btn-box .btn:hover::before {
            width: 100%;
        }

/*
.about-img {
    position: relative;
    width: 25rem;
    height: 25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .about-img img {
        width: 90%;
    }

    .about-img .circle-spin {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0);
        width: 98%;
        height: 98%;
        border-radius: 50%;
        border-top: .2rem solid var(--second-bg-color);
        border-bottom: .2rem solid var(--second-bg-color);
        border-left: .2rem solid var(--main-color);
        border-right: .2rem solid var(--main-color);
        animation: aboutSpinner 8s linear infinite;
    }
*/
.about-content {
    text-align: center;
    padding: 20px;
}

    .about-content h3 {
        position: relative;
        display: inline-block;
        font-size: 2.6rem;
    }

    .about-content p {
        position: relative;
        font-size: 1.6rem;
        margin: 2rem 0 3rem;
    }


.heading {
    position: relative;
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span {
    color: var(--main-color);
}

.btn-box.btns {
    display: inline-block;
    width: 15rem;
}

    .btn-box.btns a::before {
        background: var(--second-bg-color);
    }



/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    section {
        padding: 10rem 4% 2rem;
    }

    .home {
        padding: 0 4%;
    }
}

@media (max-width: 850px) {
    .animate.home-img {
        width: 55%;
    }
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }
}

@media (max-width: 462px) {
}

@media (max-width: 371px) {
    .home {
        justify-content: center;
    }
}
