@container(width<50em){.QES{justify-content:space-evenly;}}



body, h1, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #232428;
    color: #333;
    text-align: center;   
    padding: 10px;
}


.topbar {
    background-color: #1e1f22;
    color: #caccce;
    padding: 30px;
    text-align: center;
}

.ENG {
    border-radius: 2px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));     
    margin-left: 10px;
    height: 28px;
    margin: auto 5px;

}


.QES{
    height: 50px;
    margin: auto 5px;
    margin-left: 10px;

}
.content {
    color: #caccce;
    padding: 20px;
    margin-top: 20px;
    background-color: #313338;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


img {
    height: clamp(48px, round(up, 4vw, 4px), 96px);
    cursor: crosshair;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;

}
.TEXT {
    display: flex;
    justify-content: center;  /* Centers content horizontally */
    align-items: center;      /* Centers content vertically */
    margin: auto 0;           /* Centers the element itself */
    flex-direction: row;
    
}




.PYTHON:hover, .LUA:hover, .HTML:hover, .CSS:hover, .LINUX:hover, .C:hover, .ARCH:hover, .BLENDER:hover, .CPP:hover {
    transform: scale(1.3); 
}


.LINUX:hover {
    filter: 
        drop-shadow(0px -10px 20px rgba(0, 0, 0, 0.8)) 
        drop-shadow(0px 10px 20px rgba(255, 255, 0, 0.8));
    animation: shake 0.5s ease-in-out;
}



.PYTHON:hover {
    filter: 
        drop-shadow(10px 10px 20px rgba(255, 255, 0, 0.8)) 
        drop-shadow(-10px -10px 20px rgba(0, 0, 255, 0.8));
    animation: shake 0.5s ease-in-out;
}
.LUA:hover {
    filter: drop-shadow(0 0 15px rgba(0, 0, 255, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}

.HTML:hover {
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));
    animation: shake 0.5s ease-in-out; 
}

.CSS:hover {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}

.C:hover {
    filter: drop-shadow(0 0 15px rgba(3, 89, 156, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}



.CPP:hover:hover {
    filter: drop-shadow(0 0 15px rgba(3, 89, 156, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}

.QES:hover {
    filter: drop-shadow(0 0 15px rgba(6, 41, 12, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}

.ARCH:hover{
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}


.BLENDER:hover{
    filter: drop-shadow(0 0 15px rgba(243, 117, 0, 0.8)); 
    animation: shake 0.5s ease-in-out; 
}





.education-item {
    align-items: center;
    margin-bottom: 20px;
    background-color:#383A40;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.education-item .education-text {
    display: flex;
    align-items: center; 
}

.education-item img {
    margin-right: 15px; 
    border-radius: 50%;
}




.education-item p {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.6;
}


.problue {
    color: #89cff0;
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 

}




.skills {
    display: flex;
    
    align-items: center;
    margin-bottom: 20px;
    background-color:#383A40;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    gap: 8px;
}

.AboutMe {
    align-items: center;
    background-color:#383A40;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 0 auto;
    display: inline-block;
}

.TEXT {
    border-right: 2px solid #fffa;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block; /* Changed from flex */
    position: relative;
    margin: 0 auto; /* Center the text */
}

.TEXT {
    animation:
        typewriter 1.5s steps(14) 1s 1 normal both,  /* Typewriter animation */
        blinkTextCursor 1000ms steps(8) infinite normal; /* Blinking cursor */
}

@keyframes typewriter {
    from {
        width: 0;  /* Starts with no width */
    }
    to {
        width: 20em; /* Ends with full width */
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: #c53;  /* Cursor color */
    }
    50% {
        border-right-color: transparent; /* Cursor disappears */
    }
    to {
        border-right-color: #c53; /* Cursor reappears */
    }
}

.whatpeoplesay-section {
    margin-top: 30px;
}

.whatpeoplesay {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whatpeoplesay-item {
    display: flex;
    align-items: flex-start;
    background-color: #383A40;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #89cff0;
}

.whatpeoplesay-text h3 {
    color: #89cff0;
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 
    color: #89cff0;
    margin-bottom: 5px;
    text-align: left;
}

.role {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.whatpeoplesay-text p {
    font-size: 1em;
    line-height: 1.4;
    text-align: left;
}

/* Hover effects */
.whatpeoplesay-item:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    filter: drop-shadow(0 0 8px rgba(137, 207, 240, 0.5));
    transition: filter 0.3s ease;
}

.h3{
    text-align: left;
    color: #89cff0;
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 
}


/* Add these CSS modifications */
.whatpeoplesay-item {
    justify-content: space-between; /* Spread content horizontally */
}

.GITHUB-pic {
    order: 2; /* Move GitHub icon to the far right */
    align-self: center; /* Keep vertically centered */
    margin-left: 20px; /* Add spacing from text */

}

.left-content-wrapper {
    display: flex;
    align-items: flex-end;
    flex-grow: 1; /* Take available space */
}

.whatpeoplesay-text {
    flex-grow: 1; /* Prevent width changes */
    min-width: 0; /* Allow text truncation */
}

.profile-pic {
    flex-shrink: 0; /* Prevent image from shrinking */
}
.LAGSWITCH {
    width: 100%; /* Makes the video responsive to its container */
    max-width: 300px; /* Limits the maximum width */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Rounds the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block; /* Ensures it behaves as a block element */
    margin: 20px auto; /* Centers the video and adds spacing */
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 

}

.LAGSWITCH:focus {
    outline: none; /* Removes the default focus outline */
}
.h4 {
    font-size: 10px;
    font-weight: bold;
    display: flex;
    text-align: center;
    display: flex;
    
}

.website-frame {
    width: 100%;
    max-width: 800px; /* Optional, adjust the size as needed */
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    
}



.ARCHIMG {
    width: 100%; /* Makes the video responsive to its container */
    max-width: 300px; /* Limits the maximum width */
    height: auto; /* Maintains aspect ratio */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block; /* Ensures it behaves as a block element */
    margin: 20px auto; /* Centers the video and adds spacing */
    filter: drop-shadow(0 0 15px rgba(137, 207, 240, 1)); 

}

.ARCHIMG:focus {
    outline: none; /* Removes the default focus outline */
}

.ARCHIMG img {
    border-radius: 0; /* Ensures it's not rounded */
}
