/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* KEYFRAMES ANIMATION */
@keyframes showRight {
    100% {
        width: 0;
    }
}

/* BASE CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.body {
    color: black ;
}
/* background */
.home {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: white;
    background: url('image.png') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0 10%;
    position: relative;
}

/* AJAX XML */

.XML{
    color: black;
}

.XML:hover{
    text-decoration: blink;
    transition: .3s;
    color: red;
}

.home-content h1 {
    position: relative;
    font-size: 50px;
    font-weight: 700;
    height: 55px;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20px;
    width: 100%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 {
    position: relative;
    font-size: 22px;
    font-weight: 650;
    max-width: 620px;
    color: gray;
}

.home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 110%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-content p {
    position: relative;
    font-size: 12px;
    margin: 10px 0 25px;
    max-width: 590px;
}

.home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 110%;
    height: 100%;
    background: white;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}
/* RESPONSIVE DESIGN */

@media screen and (max-width: 1280px) {
    .home {
        background-size: 70%;
        background-position: right bottom;
    }

    .home-content h1::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 165%;
        background: white;
        animation: showRight 1s ease forwards;
        animation-delay: 1s;
    }


    .home-content .btn-box::before {
        content: '';
        position: absolute;
        top: 0;
        right: -20px;
        width: 120%;
        height: 110%;
        background: white;
        animation: showRight 1s ease forwards;
        animation-delay: 1.9s;
        z-index: 2;
    }
}
/* Adjusting font sizes and layout for smaller screens */
@media screen and (max-width: 768px) {
    .home-content h1 {
        font-size: 35px;
        display: flex;
        height: 50px;
    }

    .home-content h1::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: white;
        animation: showRight 1s ease forwards;
        animation-delay: 1s;
    }

    .home-content h3 {
        font-size: 16.5px;
        top: 0;
    }

    .home-content h3::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: white;
        animation: showRight 1s ease forwards;
        animation-delay: 1.3s;
    }

    .home-content p {
        font-size: 10px;
        top: 0;
        max-width: 282.5px;
    }

    .home-content p::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0px;
        width: 100%;
        height: 100%;
        background: white;
        animation: showRight 1s ease forwards;
        animation-delay: 1.6s;
    }

    .youtube {
        display:  flex;
        width: 400px;
        height: 240px;
    }
}


/* Mobile Screen Adjustments */
@media screen and (max-width: 480px) {
    .header {
        padding: 10px 3%;
    }

    .home-content h1 {
        font-size: 30px;
        position: relative;
        bottom:8px;
    }

    .home-content h3 {
        font-size: 12.5px;
        position: relative;
        top: -20px;
    }
    

    .home-content p {
        font-size: 8px;
        top: -30px;   
    }

    .youtube {
        margin: center;
        position: relative;
        display:  flex;
        width: 310px;
        height: 200px;
        
    } 

}
