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

body {
    font-family: 'Courier Prime', monospace;
    margin: 0;
    padding: 0;
    color: white;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    text-align: center;   
}

header {
    text-align: center;
    padding: 1em 0;
    border-bottom: 1px dashed black;
}

a {
    margin: 0 15px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

section {
    padding: 2em;
}

img.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 2px solid black;
    animation: bounce 2s;
    object-fit:cover;
}

.skill-item {
    margin: 1em 0;
}

progress {
    width: 25%;
    height: 1em;
    margin-right: 0.5em;
    border: 1px solid black;
    color: black;
    background-color: #f4f4f4;
}

progress::-webkit-progress-bar {
    background-color: gray;
}

progress::-webkit-progress-value {
    background-color: black;
}

progress::-moz-progress-bar {
    background-color: gray;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

details {
    flex: 1;
    min-width: 300px;
    border: 2px dashed black;
    padding: 1em;
    margin: 10px;
    border-radius: 0;
    transition: all 0.3s;
    cursor: pointer;
}

details:hover {
    border: 2px solid black;
}

summary {
    cursor: pointer;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
