*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --white: #fff;
    --black: #000;
    --purple : #47167D;
    --gradient: linear-gradient(78deg, #3494E6, #EC6EAD);
}

body {
    background-image: var(--gradient);
    font-size: 1.3rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    width: 100vw;
    overflow-X: hidden;
}

.cv-pdf {
    position: absolute;
    color: var(--white);
    font-size: 0.75rem;
    text-decoration: underline;
    right: 12px;
}

a {
    color: var(--black);
}

ul {
    list-style: none;
}

.mobile-none {
    display: none;
}

p.error-form {
    color: var(--white);
    font-size: 0.9rem;
    background: red;
    margin-top: 0.2rem;
    display: inline;
    border-radius: 6px;
    padding: 0.2rem;
}

.success {
    z-index: 10;
    position: fixed;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 45rem;
    padding: 1.2rem;
    border-radius: 6px;
    background-color: var(--white);
    color: var(--purple);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 1;
    animation: 5.5s disapear 2s forwards;
}
@keyframes disapear {
    from { opacity: 1; }
    to { opacity: 0; }
}

.font2-4 {
    font-size: 2.4rem;
}
.nowrap {
    white-space: nowrap;
    
}

.header {
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 15rem;
}
.header .title {
    font-family: 'Podkova', serif;
    display: flex;
    align-items: center;
    line-height: 3.5rem;
    font-size: 2.8rem;
}

.header p {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    max-width: 72rem;
    padding: 0 1rem;
}
.header img {
    opacity: 0;
    max-width: 250px;
    max-height: 250px;
    border-radius: 50%;
    box-shadow: 3px 2px 5px rgba(0, 0, 0, 0.2);
    animation: 1s apparition 0.6s ease-in forwards;
}
@keyframes apparition {
    from { opacity: 0; }
    to { opacity: 1; }
}

#link-mcts {
    color: var(--white);
}




.container {
    display: grid;
    grid-template-columns: 25rem auto;
    grid-template-rows: 1fr;
}

.sidebar {
    padding: 0 1rem;
}
.sidebar .title-section {
    color: var(--white);
    border-bottom: 1px solid var(--white);
}
.sidebar .title-section {
    margin-left: 1rem;
}
.coordonnees {
    margin: 1.5rem 1.5rem 0rem 1.5rem;  
}
.coordonnees, .coordonnees a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    transition: 0.2s;
}
.coordonnees a:hover {
    color: var(--purple);
}
.coordonnees i {
    font-size: 2rem;
}






.title-section {
    font-family: 'Podkova', serif;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: inline-block;
    font-size: 1.8rem;
    color: var(--purple);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--purple);
}

/* Main content */
.main {
    margin-left: auto;
    
    background: var(--white);
    height: 100%;
    padding: 2rem;
    display: grid;
    column-gap: 2.5rem;
    row-gap: 3.5rem;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    animation: apparition-main 1.2s forwards;
    transform: translateX(100%);
    opacity: 0;
}
@keyframes apparition-main {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0%); opacity: 1; }
}

.subtitle {
    text-transform: uppercase;
}


.competences ul {
    list-style-position: inside;
    color: var(--purple);
    margin-top: 1.5rem;
}

.xp, .formation, .competences {
    color: var(--purple);
    max-width: 700px;
}
.formation {
    margin-top: 3rem;
}
.xp h4.subtitle, .formation h4.subtitle {
    margin-top: 1.5rem;
}
.xp ul, .formation ul {
    margin-top: 0.5rem;
}


div.footer {
    /* background: red; */
    max-width: 72rem;
    margin: 2.5rem auto;
}
.footer h2 {
    color: var(--white);
    text-align: center;
    font-family: 'Podkova', serif;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
}
.footer form {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}
form .form-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

form .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
}
.form-group label {
    font-family: 'Podkova', serif;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.form-group input, .form-group textarea {
    padding: 0.8rem;
    border-radius: 3px;
    border: none;
    outline: none;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--purple);
}

form button {
    width: 100%;
    max-width: 400px;
    margin: 1.5rem auto 0 auto;
    border: none;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--white);
    color: var(--purple);
    text-transform: uppercase;
    font-size: 1.5rem;
    transition: 0.2s;
    border: 1px solid var(--purple);
    box-sizing: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
form button:hover {
    background-color: var(--purple);
    color: var(--white);
}


/* Responsive */

@media(max-width: 2000px) {
    .header {
        padding: 2.5rem 7.5rem;
    }
}

@media(max-width: 1400px) {
    .header {
        padding: 2.5rem 3.5rem;
        gap: 3rem;
    }
}

@media(max-width: 1200px) {
    .header {
        flex-direction: column-reverse;
        padding: 2.5rem 2.5rem;
        gap: 3rem;
        text-align: center;
    }
    .header .title {
        font-size: 1.3rem;
        line-height: 2.75rem;
        text-align: center;
        justify-content: center;
    }
    .header .title .nowrap {
        font-size: 1.5rem;
    }
    .sidebar .title-section {
        margin-left: 0rem;
    }
    .header p {
        font-size: 1.2rem;
    }
    .header img {
        width: 200px;
        height: 200px;
    }
    .mobile-none {
        display: block;
    }

    .main {
        width: calc(100% - 1rem);
    }

    /* Container & Sidebar */
    .container {
        display: block;
        text-align: center;
        margin: 2.5rem 0;
    }
    .coordonnees {
        justify-content: center;
        margin-bottom: 2.5rem;
    }


    /* Main content */
    .main {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 800px) {
    form .form-inline {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media(max-width: 500px) {
    
}