body {
    font-family: "Lexend", sans-serif;
    margin: 0;
    height: 100%;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    color: #212121;
    flex-direction: column;
    align-items: center;
    padding: 1.7rem 0 0;
}

html{
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

button {
    all: unset;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    font-size: inherit;
}

.headbar {
    width: 90%;
    max-width: 300px;
    height: 50px;
    display: flex;
    align-items: center;
    background: rgb(206, 212, 218, 0.7);
    border-radius: 100px;
    padding: 0 10px;
    z-index: 10;
    margin-bottom: 2.2rem;
    position: sticky;
    top: 20px;
    backdrop-filter: blur(100px);
}

.headitems {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 280;
    flex-wrap: nowrap;
}

.headitems button {
    margin: 0 8px;
    text-align: center;
    color: black;
    padding: 5px 12px;
    border-radius: 100px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: scale(1);
    transition-duration: 0.3s;
    --webkit-transition: all 0.3s ease;
}

.headitems button:hover {
    background-color: #ffffff;
    cursor: pointer;
    transform: scale(1.1);
    transition-duration: 0.3s;
    --webkit-transition: all 0.3s ease;
}

.headitems button.active {
    background-color: #ffffff;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    max-width: 650px;
    font-size: 3.7rem;
    flex-wrap: wrap;
    text-align: center;
    z-index: 5;
    margin-bottom: 4rem;
    margin-top: 2rem;
    animation: slideInFromLeft 1.75s ease;
}

.maintext {
    margin: 7px 0;
}

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

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px;
    border-radius: 25px;
    background: rgba(152, 152, 152, 0.2);
    margin-bottom: 15px;
    width: 100%;
    max-width: 550px;
    animation: slideInFromRight 1.75s ease;
}

.exp {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
    
}

.exptitle {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}

.explang {
    padding: 10px 15px;
    border-radius: 100px;
    text-align: center;
    background: rgb(173, 181, 189, 0.5);
    font-size: 0.8rem;
    transition: all 0.3s ease-out;
    margin: 5px;
}

.explang:hover {
    background-color: #f9f9f9;
    border-color: #c0c0c0;
    transition-duration: 0.5s;
}


.edu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}

.edutitle {
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.edudesc {
    font-size: 0.8rem;
    font-weight: 350;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conttitle {
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.contdesc {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5rem;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.contitem {
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    background: rgb(173, 181, 189, 0.5);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 5px;
    color: black;
}

.contitem:hover {
    background-color: #f9f9f9;
    border-color: #c0c0c0;
    transform: scale(1.1);
}

.testing {
    min-height: 100vh;
}

.footbar {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    height: 100px;
    background: rgb(108, 117, 125);
    padding: 0 50px;
    z-index: 10;
    margin-top: 2.2rem;
    bottom: 0;
    backdrop-filter: blur(100px);
    font-weight: 250;
    font-size: 10px;
    color: white;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }    
}

@media (max-width: 1200px) {
    .main {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .main {
        font-size: 2.5rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    .explang {
        font-size: 0.8rem;
    }
    .exp-container {
        width: 100%;
        align-items: center;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .main {
        font-size: 2rem;
        justify-content: center;
    }
    .explang {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    .headitems {
        font-size: 0.8rem;
    }
    .footbar {
        font-size: 8px;
        padding: 0 25px;         
    }
}