html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    background-color: white;
    padding: 10px 20px;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img, video {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

.name {
    text-align: left;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    color: #121113;
    font-size: 15px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 40px;
    background-color: #fdfdfd ;
    opacity: 0.9;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid #D3CDD6 opacity: 0.3;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #706c72;
    text-decoration: none;
}

.menu a:hover {
    color: #121113;
}

.myphoto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
}

.myphoto img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.description {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.description p {
    font-family: 'Poppins', sans-serif;
    text-align: justify;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
    color: #4a484b;
}

.description h3 {
    display: flex;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    justify-content: center;
    color: #181D20;
    font-size: 25px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title-myprojects {
    font-family: 'Poppins', sans-serif;
    color: #121113;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 130px;
}

.container {
    width: 100%;
    max-width: 1000px;
    height: auto;
    background-color: #d8dac9;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.container .box {
    flex: 1;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.2));
}

.box1 a, .box2 a, .box3 a {
    display: block;
    width: auto;
    height: 340px;
    padding: 20px;
    background-color: #F7F9F7;
    color: #121113;
    text-decoration: none;
    border-radius: 8px;
}

.box1 h3, .box2 h3, .box3 h3 {
    font-family: 'Poppins', sans-serif;
    color: #121113;
    margin-top: 1px;
    font-size: clamp(10px, 1.2vw, 18px);
}

.desc-1, .desc-2, .desc-3 {
    font-family: 'Poppins', sans-serif;
    color: #4a484b;
    margin-top: -7px;
    text-align: justify;
    padding-left: 16px;
    padding-right: 15px;
    font-size: clamp(5px, 1.2vw, 12px);
}

.tech-1, .tech-2, .tech-3 {
    font-family: 'Poppins', sans-serif;
    color: #121113;
    margin-top: 20px;
    text-align: left;
    padding-left: 16px;
    font-size: clamp(6px, 1.2vw, 12px);
}

.programming-lang {
    font-family: 'Poppins', sans-serif;
    width: 50px;
    height: 20px;
    background-color: #e3e4de;
    border-radius: 6px;
    padding-top: 2px;
    padding-left: 1px;
    margin-top: -6px;
    margin-left: 16px;
    color: #4a484b;
    font-size: clamp(7px, 1.2vw, 14px);
}

.programming-lang:hover {
    background-color: #b5bbaf;
    transform: translateY(-2px);
    transition: transform 0.3s ease-in-out;
    color: #121113;
}

.box:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.title-myeducation {
    font-family: 'Poppins', sans-serif;
    color: #121113;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 130px;
}

.container-education {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.container-education img {
    margin-top: 30px;
    width: 200px;
    height: auto;
    object-fit: cover;
}

.container-education img:hover {
    transform: scale(1.04);
    transition: transform 0.3s ease-in-out;
}

.title-myskills {
    font-family: 'Poppins', sans-serif;
    color: #121113;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 130px;
}

.container-skills {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: flex;
    gap: 80px;
    padding: 20px;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 100px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.container-skills .skill {
    flex: 1;
    transition: background-color 0.3s ease;
    filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.2));
}

.skillbox1 {
    background-color: #F7F9F7;
    border-style: solid;
    border-color: #d8dac9;
    border-radius: 15px;
    text-align: center;
}

.skillbox1 h3 {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #222729;
}

.skillbox1 svg {
    margin-top: 30px;
    margin-bottom: 5px;
}

.programming-skill {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #222729;
    font-size: 15px;
    margin-top: -60px;
}

.programming-skill .python {
    display: inline-flex;
    align-items: center;
}

.programming-skill .python span {
    position: relative;
    top: 10px;
    right: 5px;
}

.programming-skill .r-language {
    align-items: center;
    margin-top: -50px;
}

.programming-skill .r-language span {
    position: relative;
    top: -45px;
    right: 30px;
}

.programming-skill .python {
    display: inline-flex;
    align-items: center;
}

.programming-skill .postgresql .postgre{
    position: relative;
    top: -65px;
    right: -2px;
}
.programming-skill .postgresql .desc-post {
    position: relative;
    top: -86px;
    right: -4px;
}

.skill:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.footer {
    background-color: #1c2533;
    text-align: center;
    padding: 40px 20px 20px;
    color: #aeb5c0;
    min-height: auto;
    margin-top: auto;
}

.footer-connect {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
    object-fit: cover;
    flex-wrap: wrap;
}

.social-link {
    color: #aeb5c0;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fdfdfd;
}

.footer-line {
    border: none;
    border-top: 1px solid #aeb5c0;
    opacity: 0.3;
    max-width: 70%;
    margin: 0 auto 10px;
}

.footer-copy {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #aeb5c0;
}

@media (max-width: 768px) {
    .name {
        margin-top: -10px;
    }

    .container {
        flex-direction: column;
    }
    
    .container-skills {
        flex-direction: column;
        gap: 20px;
    }
    
    .description p, .description h3 {
        margin-left: 20px;
        margin-right: 20px;
        font-size: auto;
    }
    
    .myphoto img {
        width: 150px;
        height: 150px;
        margin-top: -80px;
    }
    
    .navbar {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 40px;
        background-color: #fdfdfd ;
        opacity: 0.9;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        font-family: 'Poppins', sans-serif;
        border-bottom: 1px solid #D3CDD6 opacity: 0.3;
        transition: all 0.3s ease;
    }
    
    .menu {
        margin-top: -30px;
        text-align: left;
        flex-direction: column;
        gap: 5px;
        margin-left: -266px;
    }
    
    .menu .skill {
        margin-bottom: 15px;
    }
    
    .name {
        margin-left: -190px;
    }

    .description h3 {
        display: flex;
        align-items: baseline;
        justify-content: center;
        text-align: center;
        margin-left: -0.5px;
    }

    .typed-cursor {
        vertical-align: text-bottom; 
        position: relative;
        top: 2px; 
    }
    
    .box1 h3, .box2 h3, .box3 h3 {
        font-family: 'Poppins', sans-serif;
        color: #121113;
        margin-top: 1px;
        font-size: 18px;
    }
    
    .desc-1, .desc-2, .desc-3 {
        font-family: 'Poppins', sans-serif;
        color: #4a484b;
        margin-top: -7px;
        text-align: justify;
        padding-left: 16px;
        padding-right: 15px;
        font-size: 11px;
    }
    
    .tech-1, .tech-2, .tech-3 {
        font-family: 'Poppins', sans-serif;
        color: #121113;
        margin-top: 20px;
        text-align: left;
        padding-left: 16px;
        font-size: 11px;
    }
    
    .programming-lang {
        font-family: 'Poppins', sans-serif;
        width: 50px;
        height: 20px;
        background-color: #e3e4de;
        border-radius: 6px;
        padding-top: 2px;
        padding-left: 1px;
        margin-top: -6px;
        margin-left: 16px;
        color: #4a484b;
        font-size: 12px;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }
}

