/* Existing CSS for the first section */

body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #1e1e2f;
    color: white;
}

.container {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    margin-bottom: 5vh;
}

.right-sidebar {
    width: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 2.2vh;
    margin-right: 1vh;

}

.vertical-line {
    height: 8vh;
    width: 0.3vh;
    background-color: purple;
    margin-bottom: 2vh;
    margin-top: 2vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle {
    width: 80vh;
    height: 80vh;
    background: linear-gradient(45deg, #6e0dd0, #9a2eff);
    border-radius: 50%;
    margin-left: 8vh;
    margin-top: 8vh;
    position: absolute;
}

.title {
    font-size: 15vh;
    font-weight: 700;
    text-align: center;
    margin-left: 5vh;
    margin-bottom: 1vh;
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgb(251, 251, 251);

}

.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.intro-text {
    text-align: right;
}

.intro-text p {
    margin: 0;
    font-size: 1.5em;
}

.intro-text p.name {
    margin-bottom: 1vh !important;
    margin-right: 8vh !important;
    font-size: 4.4vh;
}

.intro-text h2 {
    margin: 0;
    font-size: 7vh;
}

.profile-pic {
    width: 62vh;
    margin-right: 15vh;
    height: auto;
    border-radius: 1vh;
}

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

.skills p {
    margin: 1vh 0;
    font-size: 2.5vh;
    text-align: right;
}

.skills {
    position: absolute;
    right: 2vh;
    top: 70%;
    margin-top: 2vh;
    transform: translateY(-50%);
}

.buttons-section button {
    font-family: "Montserrat", sans-serif;
    background-color: white;
    border: none;
    color: #111275;
    padding: 2.5vh 3vh;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.2vh;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease;

}

.buttons-section button:hover {
    background-color: #111275;
    color: #fff9f9;
    text-decoration: underline;
}

/* Media queries */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }

    .main-content {
        height: 100vh;
    }

    .circle {
        width: 60vh;
        height: 60vh;
        margin-left: 0;
        margin-top: 0;
    }

    .title {
        font-size: 10vh;
        margin-left: 0;
    }

    .intro-text p.name {
        margin-right: 0;
    }

    .profile-pic {
        width: 50vh;
        margin-right: 0;
    }

    .second-section {
        width: 100%;
        padding: 10px;
    }

    .item {
        flex: 1 1 100%;
        /* One item per row */
    }

    .item-number {
        font-size: 2em;
    }

    .item-content h2 {
        font-size: 1.2em;
    }

    .item-content p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 40vh;
        height: 40vh;
    }

    .title {
        font-size: 8vh;
    }

    .intro-text p.name {
        font-size: 3vh;
    }

    .intro-text h2 {
        font-size: 5vh;
    }

    .profile-pic {
        width: 30vh;
    }

    .item-number {
        font-size: 1.5em;
    }

    .item-content h2 {
        font-size: 1em;
    }

    .item-content p {
        font-size: 0.9em;
    }
}