@font-face { font-family: "MyCustomFontText"; src: url("../subTitle.otf"); }

@font-face { font-family: "MyCustomFont"; src: url("../Title.otf"); }

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to right, #c6b6a9 50%, #5b4b49 50%);
}

.container {
    width: 85vw;
    height: 85vh;
    background-color: #c6b6a9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 16px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.content-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-bar {
    background-color: #2d2525;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    font-size: 3.5vw;
    color: white;
    font-family: 'MyCustomFont', sans-serif;
}

.buttons {
    display: flex;
    gap: 10px;
}

.button {
    background-color: transparent;
    border: none;
    border-top: 2px solid white;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'MyCustomFontText', sans-serif;
    transition: all 0.3s ease;
    color: white;
    width: 10vw;
    margin-right: 10px;
}

.button:hover {
    font-weight: bold;
}

.content {
    display: flex;
    flex: 1;
}

.left-content, .right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-content {
    background-color: #c6b6a9;
    color: black;
}

.right-content {
    background-color: #5b4b49;
    color: white;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3vh;
}

.contact-methods .title {
    font-size: 2vw;
    margin-bottom: 10px;
}

.method {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-size: 1.5vw;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.method img {
    width: 4vw;
    height: auto;
}

.download-cv-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #5b4b49;
    color: #e8dab9;
    border: 2px solid #e8dab9;
    border-radius: 25px;
    font-family: 'MyCustomFontText', sans-serif;
    font-size: 1vw;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    z-index: 1000;
}

.download-cv-button:hover {
    background-color: #e8dab9;
    color: #5b4b49;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90vw;
        height: auto;
        margin: 5vh auto;
    }

    .title {
        font-size: 5vw;
    }

    .button {
        font-size: 4vw;
        padding: 5px 10px;
        width: auto;
    }

    .content {
        flex-direction: column;
    }

    .contact-methods .title {
        font-size: 3.5vw;
    }

    .method {
        font-size: 3.5vw;
    }

    .method img {
        width: 8vw;
    }

    .download-cv-button {
        font-size: 3vw;
    }

    .right-content {
        padding-top: 40px;
        padding-bottom: 80px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95vw;
        height: auto;
        margin: 5vh auto;
    }

    .title {
        font-size: 6vw;
    }

    .button {
        font-size: 5vw;
        padding: 5px 10px;
        width: auto;
    }

    .content {
        flex-direction: column;
    }

    .contact-methods .title {
        font-size: 4vw;
    }

    .method {
        font-size: 4vw;
    }

    .method img {
        width: 10vw;
    }

    .download-cv-button {
        font-size: 3.5vw;
    }
}