:root {
    --sidebar: #3f5558;
    --intro: #789093;
    --section-dark: #52696c;
    --section-light: #6f8689;
    --accent: #d6a2aa;
    --heading: #ffffff;
    --text: #edf2f2;
    --muted-text: #d3dddd;
}


/* Main backgrounds */

#sidebar {
    background-color: var(--sidebar) !important;
    background-image: none !important;
}

#intro,
.wrapper.style1 {
    background-color: var(--intro) !important;
}

.wrapper.style2 {
    background-color: var(--section-dark) !important;
    background-image: none !important;
}

.wrapper.style3 {
    background-color: var(--section-light) !important;
    background-image: none !important;
}

#footer {
    background-color: var(--sidebar) !important;
}

#sidebar nav a {
    color: rgba(255, 255, 255, 0.62);
}

#sidebar nav a:hover {
    color: #ffffff;
}

#sidebar nav a.active {
    color: #ffffff;
}

#sidebar nav a::before {
    background: rgba(255, 255, 255, 0.15);
}

#sidebar nav a::after {
    background-image: none;
    background-color: var(--accent);
}

a {
    color: #f2c9ce;
}

a:hover {
    color: #ffffff;
}

.button {
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px #ffffff;
}

#intro .intro-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}

.profile-wrapper {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
    padding: 10px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 50%;
}

.profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.intro-text {
    flex: 1;
    min-width: 0;
}

.intro-text h1 {
    margin-bottom: 25px;
}

/* Mobile layout */
@media screen and (max-width: 736px) {
    #intro .intro-layout {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .profile-wrapper {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
        padding: 7px;
    }

    .intro-text {
        width: 100%;
    }

    .intro-text h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .intro-text .actions {
        justify-content: center;
    }

    .cv-container {
        height: 75vh;
        min-height: 600px;
    }

    #cv > .inner {
        width: 100%;
    }
}

/* Very small phones */
@media screen and (max-width: 480px) {
    .profile-wrapper {
        flex-basis: 150px;
        width: 150px;
        height: 150px;
    }

    .intro-text h1 {
        font-size: 1.65rem;
    }
}

#cv > .inner {
    width: 95%;
    max-width: none;
}

.cv-container {
    width: 100%;
    height: 85vh;
    min-height: 800px;
    margin-top: 2rem;
}

.cv-pdf {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media screen and (max-width: 736px) {
    .cv-container {
        height: 75vh;
        min-height: 600px;
    }

    #cv > .inner {
        width: 100%;
    }
}

.template-credit {
    font-size: 0.75rem;
    opacity: 0.6;
}

body {
    background-color: #5f7470 !important;
    background-image: none !important;
}

#footer,
#footer .menu,
#footer .menu li {
    color: #ffffff !important;
    opacity: 1;
}

#footer a {
    color: #ffffff !important;
    opacity: 1;
}

#footer a:hover {
    color: #d8b7bb !important;
}

body,
.wrapper {
    color: var(--text);
}

.wrapper p,
.wrapper li,
.wrapper span {
    color: var(--text);
    opacity: 1;
}

h1,
h2,
h3,
h4 {
    color: var(--heading) !important;
}

