* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        180deg,
        #141e36 0%,
        #040b27 100%
    );
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

/* Header */

.header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.header img {
    width: 220px;
    height: 220px;
    border-radius: 45px;
}

.header h1 {
    color: white;
    margin-top: 5px;
    margin-bottom: 5px;
}

.header p {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
}

.header .univ {
    text-decoration: none;
    color: #bbbbbb;
}

.header .univ:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact {
    display: flex;
    gap: 30px;
}

.contact a {
    flex: 1;
    display: flex;
    gap: 8px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.contact a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.contact a i {
    color: white;
    font-size: 24px;
}

/* Education */

.education {
    color: white;
    margin-top: 35px;
    margin-bottom: 35px;
    margin-left: 25px;
    margin-right: 25px;
}

.education .card {
    margin-bottom: 20px;
}

.education h2 i {
    margin-right: 8px;
}

.education h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.education h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.education ul {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #efeeee;
}

/* Experience */

.experience {
    color: white;
    margin-top: 35px;
    margin-bottom: 35px;
    margin-left: 25px;
    margin-right: 25px;
}

.experience .card {
    margin-bottom: 20px;
}

.experience h2 i {
    margin-right: 8px;
}

.experience h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.experience h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.experience ul {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #efeeee;
}

/* Activity */

.activity {
    color: white;
    margin-top: 35px;
    margin-bottom: 35px;
    margin-left: 25px;
    margin-right: 25px;
}

.activity .card {
    margin-bottom: 20px;
}

.activity h2 i {
    margin-right: 8px;
}

.activity h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.activity h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.activity ul {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #efeeee;
}

/* Project */

.project {
    color: white;
    margin-top: 35px;
    margin-bottom: 35px;
    margin-left: 25px;
    margin-right: 25px;
}

.project .card {
    margin-bottom: 20px;
}

.project h2 i {
    margin-right: 8px;
}

.project h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.project p {
    color: #efeeee;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Skill */

.skill {
    color: white;
    margin-top: 35px;
    margin-left: 25px;
    margin-right: 25px;
}

.skill .skill-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 10px
}

.skill-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%);
}

.skill-grid .card:nth-child(even) {
    padding-left: 10px;
}

.skill .card {
    margin-bottom: 10px;
}

.skill h2 i {
    margin-right: 8px;
}

.skill h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.skill p {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #efeeee;
}

/* Responsive */

@media (max-width: 900px) {
    .header {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header img {
        width: 170px;
        height: 170px;
        border-radius: 35px;
    }

    .contact {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 32px 16px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header img {
        width: 140px;
        height: 140px;
        border-radius: 28px;
    }

    .contact {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }

    .contact a {
        width: 100%;
    }

    .skill .skill-grid {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .skill-grid::before {
        display: none;
    }

    .skill-grid .card:nth-child(even) {
        padding-left: 0;
    }
}
