
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

:root {
    --bg-light: #F6F2EC;
    --bg-dark: #000000;
    --text-light: #000;
    --text-dark: #000000;
    --grain-opacity: 0.1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
}

body {
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background 0.5s, color 0.5s;
    height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    font-weight: 500;
    color: black;
    text-decoration: none;
}

.back:hover {
    text-decoration: underline;
}



.page-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 90vh;
}

.title {
    font-size: 6vw;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    text-align: left;
    position: absolute;
    top: 10%;
    left: 5%;
}

.title a {
    color: inherit;
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.title a:hover {
    transform: scale(1.1);
}

.info {
    max-width: 400px;
    position: absolute;
    bottom: 15%;
    right: 5%;
    text-align: left;
}

.name {
    font-size: 1.8rem;
    font-weight: bold;
}

.role {
    font-size: 1.2rem;
    margin-top: 5px;
    font-style: italic;
}

.desc {
    font-size: 1rem;
    margin-top: 10px;
}

footer {
    position: absolute;
    bottom: 5%;
    left: 5%;
}

button {
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: var(--text-light);
    color: var(--bg-light);
    transition: 0.3s;
}

button:hover {
    opacity: 0.8;
}

.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.dark-mode button {
    background: var(--text-dark);
    color: var(--bg-dark);
}

.scroll-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-indicator {
    width: 10%;
    height: 100%;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease-in-out;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color : purple;
}

.dot {
    width: 10px;
    height: 10px;
    background: gray;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

.dot.active {
    background: black;
}

.cv-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 85vh;
    gap: 10px;
}

.cv-image {
    width: 48%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.cv-download {
    font-size: 1.2rem;
    text-decoration: none;
    color: purple;
    transition: color 0.3s ease-in-out;
    margin-top: 0px;
}

.cv-download:hover {
    color: darkpurple;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

label {
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: rgb(15, 15, 15);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 5px;
}

button:hover {
    background-color: darkpurple;
}

#statusMessage {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
    gap: 20px;
    padding: 20px;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-size: 1.5rem;
    margin-top: 15px;
}

.about-text p, .about-text ul {
    font-size: 1rem;
    line-height: 1.6;
}

.about-text ul {
    padding-left: 20px;
}

.contact-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: purple;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.contact-button:hover {
    background-color: darkpurple;
}

@media screen and (max-width: 768px) {
    .cv-image {
        width: 90vw;
    }
}


@media screen and (max-width: 768px) {
    .title {
        font-size: 8vw;
        left: 10%;
    }

    .info {
        max-width: 80%;
        right: 10%;
        bottom: 20%;
    }

    .container {
        height: 85vh;
    }
}

@media screen and (max-width: 480px) {
    .title {
        font-size: 10vw;
        left: 5%;
    }

    .container {
        height: 90vh;
    }

    .info {
        max-width: 90%;
        right: 5%;
        bottom: 25%;
    }
}

@media screen and (max-width: 1024px) {
    .project-card {
        width: 90vw;
        height: auto;
    }

    .project-back {
        font-size: 1.5rem;
        padding: 30px;
    }

    .prev-btn, .next-btn {
        padding: 15px;
        font-size: 25px;
    }
}

