/* PING */
/* General styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url("background.avif");
    background-size: contain;
    color: #333;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

header p {
    margin: 0.25rem 0;
}

header a {
    color: #fff;
    text-decoration: none;
}

.row {
    display: grid;
}

/* Main content */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background-color: azure;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: -25px;
    border-radius: 10px;
}

main a {
    text-decoration: none;
    color: darkred;
}

/* Sections */
section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

section p,
section ul {
    font-size: 1rem;
}

section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact p {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

.get_in_touch {
    margin: 0;
}

/* Contact Links */
.link a {
    color: rgba(23, 5, 5, 0.51);
    text-decoration: none;
    font-weight: normal;
}

.link {
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    margin-top: 2rem;
}

.education {
    position: fixed;
    bottom: 10px;
    background: #333333;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
}

.education_head {
    margin: 0;
    padding: 0;
    color: #fff;
}

.education_date {
    margin: 0;
    font-size: xx-small;
}

.vibrate {
    animation: vibrate 0.2s linear infinite;
}

.blur {
    filter: blur(8px);
    transition: filter 0.2s ease-in-out;
}

.fixed-wave {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    padding: 10px 20px;
    background-color: #666666;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.fixed-wave:hover {
    background-color: #fff;
}

.skill {
    display: flex;
}

.skill-icon {
    width: 25px;
    height: 25px;
}

.degree {
    filter: invert();
}

/*.contact-h2 {*/
/*    margin: auto;*/
/*}*/

@keyframes vibrate {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .education {
        display: none;
    }
}