*{
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
}
.container{
    width: 100%;
    min-height: 100vh; 
    background: linear-gradient(130deg, blue, cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-attachment: scroll;

    background-repeat: repeat;
    overflow: scroll;
}
.webimg{
    width: 30%;
    border-radius: 50px;
    padding: 20px;
}
.description{
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
}
#navbar{
    background-color: blue;
    position: fixed; /* Stays fixed at the top */
    width: 100%;
    height: 150px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: height 0.3s ease, background-color 1s;
    box-shadow: 2px 0px 20px 5px black; 
}
a{
    color: white;
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    font-size: 25px;
    padding: 10px;
    position: relative;
    width: max-content;
}
a::after{
    content: '';
    background: linear-gradient(to right, rgb(72, 28, 103), rgb(37, 26, 202));
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 2px;
    bottom: 0;
    left: 0;
    transition: 1s;
}
a:hover::after{
    width: 0;
}
a::before{
    content: '';
    background: linear-gradient(to right, rgb(24, 124, 190), red);
    position: absolute;
    width: 0%;
    height: 100%;
    z-index: -2;
    left: 0;
    transition: 1s;

}
a:hover::before{
    width: 100%;
}
    #navbar.hidden {
    height: 0; 
    overflow: hidden; 
}
#button{
    width: 5%;
    height: 150px;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
}
#btn-down{
    width: 60px;
    height: 60px;
   background-color: rgb(12, 52, 145);
   border-radius: 10px;
   color: white;
   cursor: pointer; 
   font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
border: none;
    position: fixed;
}
#btn-down img{
    width: 60px;
}
.background{
    width: 95%;
    height: 75vh;
    margin-top: 200px;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 10px;
    text-transform: capitalize;
    text-align: left;
}
.background p{
    width: 100%;
    height: auto;
    font-size: 30px;
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.autotyper{
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: lighter;
}
.header{
    color: red;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font: 200;
    font-size: 40px;
}
.Second_header{
    color: orangered;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font: 200;
    font-size: 30px;
}
@media screen and (max-width: 768px) {
    body {
        background-size: auto; /* Allows natural scrolling of the background */
        background-attachment: scroll; /* Ensures the background scrolls */
        background-repeat: no-repeat;
        background-position: top; /* Adjusts position for better view on smaller screens */
    }
    #navbar {
        background-color: blue;
        position: fixed;
        width: 100%;
        height: 150px; 
        top: 0;
        left: 0;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        transition: height 0.3s ease, background-color 1s;
        flex-direction: column;
    }
    #navbar a{
        color: white;
        text-decoration: none;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        cursor: pointer;
        font-size: 25px;
        padding: 0px;
    }
    .container{
        width: 100%;
        height: 100vh;
        background: linear-gradient(130deg, blue, cyan);
        overflow: hidden;
        display: block;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        align-items: center;
        background-attachment: scroll;
        overflow-y: scroll;
    }
    .webimg{
        width: 90%;
        border-radius: 50px;
    }
    .autotyper{
        color: white;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 20px;
    }
    #button{
        width: 5%;
        height: 150px;
        position: relative;
        float: right;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #btn-down{
        width: 60px;
        height: 60px;
       border-radius: 10px;
       color: white;
       margin-right: 60px;
       cursor: pointer; 
        border: none; 
    }
    #btn
    .background p{
        width: 60%;
        height: 100vh;

        color: white;
    }
    .header{

        font-size: 25px;
    }
    .Second_header{
        font-size: 20px;
    }

}
@media screen and (max-width: 480px) {
    body {
        background-size: contain; /* Fits the background to the screen dimensions */
        background-position: center;
    }
}