
@import url('https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap');

h1, p {
    margin: 0
}

h1{
    padding-bottom: 10px;
}

::-webkit-scrollbar{
    width: 0px;
}

@supports(scrollbar-color: red blue){
    *{
        scrollbar-width: none;
    }
}

.hidden-text {
    display: none; /* Hide by default */
    position: fixed; /* Keeps it in view */
    top: 0; /* Start at the top */
    left: 50%; /* Start at the left */
    width: 100vw; /* Full width of the viewport */
    height: 100dvh; /* Full height of the viewport */
    transform: translateX(-50%);
    background-image: linear-gradient(#263bb2, #100046); /* Semi-transparent black background */
    color: #ffffff; /* White text color */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center the text */
    z-index: 1000; /* Ensure it's above all other elements */
    font-size: 1.2rem; /* Adjust text size */
    padding: 20px; /* Add padding for better readability */
    box-sizing: border-box; /* Include padding in dimensions */
}

/* Media query to show the text on small screens */
@media (max-width: 300px) {
    .hidden-text {
        display: flex; 
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: linear-gradient(#263bb2, #100046, #2b1c6e);
    font-family: Arial, sans-serif;
    /* overflow: hidden; */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80%;
    max-width: 1920px;
}

/* sections */

.section{
    max-width: 1200px;
    height: 100vh;
}

#main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#about {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.linkscontainer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-height: 10%;
    flex-direction: row;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Button width */
    height: 50px; /* Button height (makes it circular) */
    border-radius: 50%; /* Makes the button round */
    background-color: #1825bb; /* Background color */
    color: #747ff6; /* Icon color */
    font-size: 24px; /* Icon size */
    text-decoration: none; /* Removes underline */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #3f4de4; /* Change color on hover */
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.social-icon i {
    pointer-events: none; /* Prevent icon from interfering with link clicks */
    font-size: 35px;
}

.skillscontainer {
    display: flex;
    align-items: center;
    justify-content: left;
    max-height: 20%;
    flex-direction: row;
    padding-top: 10px;
}

.skill-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px; /* Button width */
    height: 45px; /* Button height (makes it circular) */
    border-radius: 50%; /* Makes the button round */
    background-color: #1825bb; /* Background color */
    color: #747ff6; /* Icon color */
    font-size: 24px; /* Icon size */
    text-decoration: none; /* Removes underline */
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-right: 5px;
}

.skill-icon:hover {
    background-color: #3f4de4; /* Change color on hover */
    transform: scale(1.1); /* Slight zoom effect on hover */
}


.scroll{
    display: flex;
    align-items: center;
    justify-content: left;

    .text{
        flex: 1;
        padding: 10px;
        font-size: 1.0rem;
        font-family: 'Zen Dots';
        color: #3d49d1;
    };

    .scrollicon{
        animation: bounce 1.5s infinite;
        left: 10px;
        display: flex;
        max-width: 10px;
        height: auto;
        color: #3d49d1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5px); 
    }
    50% {
        transform: translateY(5px); 
    }
}

#about.ri-info-card-fill{
    font-size: 1rem;
}

.text {
    flex: 1;
    padding: 10px;
    font-size: 1.5rem;
    font-family: 'Zen Dots';
    color: #747ff6;
}

#smalltext {
    font-size: 0.75rem;
}

.logocontainer {
    max-width: 50%;
    justify-content: flex-end;
    padding-left: 0px;
}

.logo {
    display: flex;
    max-width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}


.logo img {
    flex: 1;
    display: flex;
    max-width: 100%;
    height: auto;
}




@media (max-width: 768px) {
    /* Adjust the layout for tablets and smaller screens */
    .main {
        position: relative;
        flex-direction: column-reverse; /* Stack elements vertically */
        height: 100vh; /* Allow content to adjust height */

    }

    #main {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }
    
    #about {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    

    .mainleft, .logocontainer {
        width: 100%; /* Full width for both sections */
        text-align: center; /* Center content */
    }


    .logocontainer {
        margin-top: 20px; /* Add spacing between sections */
        justify-content: center;
        align-items: center;
    }

    .logo{
        flex: 1;
        display: flex;
        max-width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
    }

    .text {
        font-size: 1.2rem; /* Adjust font size */
        padding: 5px; /* Reduce padding */
    }

    .linkscontainer {
        flex-wrap: wrap; /* Allow links to wrap onto new lines */
        justify-content: center;
    }

    .linkscontainer a {
        margin: 5px; /* Add spacing between links */
    }

    .social-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px; /* Button width */
        height: 40px; /* Button height (makes it circular) */
        border-radius: 50%; /* Makes the button round */
        background-color: #1825bb; /* Background color */
        color: #747ff6; /* Icon color */
        font-size: 24px; /* Icon size */
        text-decoration: none; /* Removes underline */
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .social-icon:hover {
        background-color: #3f4de4; /* Change color on hover */
        transform: scale(1.1); /* Slight zoom effect on hover */
    }

    .social-icon i {
        pointer-events: none; /* Prevent icon from interfering with link clicks */
        font-size: 24px;
    }
    

    .scroll {
        position: absolute; /* Position the `.scroll` section relative to `.main` */
        bottom: 58px; /* Place it 20px from the bottom */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center alignment fix */
        flex-direction: column; /* Stack icon and text */
        align-items: center; /* Center contents */
        text-align: center; /* Center text */
    }


    .logo img {
        max-width: 80%; /* Shrink logo to fit smaller screens */
    }
}

@media (max-width: 480px) {
    /* Adjust layout for very small screens (e.g., phones) */
    .text {
        font-size: 1rem; /* Smaller font size */
    }

    .linkscontainer a {
        font-size: 0.9rem; /* Smaller link text */
    }

    .scroll .text {
        font-size: 0.8rem; /* Smaller scroll text */
    }
}