:root {
    --white: #EAE1FF;
    --primary: #6F34ED;
    --secondary: #4E34ED;
    --actions: #E1D40E;
    --black: #2A223D;
    --beige: #E5C5B8;
    --greyBlue: #292E3A;
    --yellow: #F7D794;
}

/* SIZES */
.row {
    display: flex;
    width: 100%;
    white-space: nowrap;
}

.row div {
    padding: 10px;
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.67%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.67%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.67%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.67%;
}

.col-12 {
    width: 100%;
}

/* GENERAL */
* {
    font-family: "Raleway", sans-serif;
}

body {
    background: var(--black) !important;
}

p, .p, a {
    font-weight: normal;
    font-size: 1rem;
}

div div {
    margin: 10px !important;
    border-radius: 20px;
    overflow: hidden;
}

div div div {
    border-radius: 10px;
}

.bg-pur {
    background: var(--primary);
}

.bg-bei {
    color: var(--greyBlue);
    background: var(--beige);
}

.bg-gb {
    color: var(--white);
    background: var(--greyBlue);
}

.bg-yel {
    color: var(--greyBlue);
    background: var(--yellow);
}

h1, .h1 {
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

h2, .h2 {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

h4, .h4 {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto 20px auto;
    max-width: 1360px;
    color: var(--white);
}

header div {
    border-radius: 20px;
    width: 8vh;
    height: 8vh;
    background: linear-gradient(transparent 65%, var(--primary) 100%), url("assets/img/profil_picture.PNG"), var(--primary);
    background-size: 130%;
    background-position: 30% -100%;
    background-repeat: no-repeat;
}

/* MAIN */
main {
    margin: auto;
    max-width: 1380px;
}

.l1 {
    height: 350px;
}

.l1 .welcome-box {
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
    background: no-repeat center center / 90% url("assets/img/Product\ Management\ ·\ Webdev.svg"), repeat top center / 70% url("assets/img/pattern.png"), var(--primary);
}

.l1 .id {
    color: var(--white);
}

    .l1 .id div {
        display: flex;
        column-gap: 20px;
        align-items: center;
    }

    .l1 .id div a {
        color: var(--white);
    }

.l2 {
    height: 60vh;
    max-height: 600px;
}

    .l2 div {
        padding: 20px;
        white-space: wrap;
        transition: .2s;
    }

    .l2 div:hover {
        transform: scale(1.01);
    }

    .l2 div h2 {
        margin: 5px 0 0 0;
        font-size: 1.3rem;
    }

    .l2 div h3 {
        margin: 0;
        font-size: 1.2rem;
    }

    .l2 div a {
        color: var(--black);
    }

    /* PROJECTS */
    .l2 .eris {
        background: no-repeat center bottom / 100% url("assets/img/eris.png"), var(--beige);
    }

    .l2 .worldWhere {
        background: no-repeat center bottom / 100% url("assets/img/world_where.png"), var(--greyBlue);
    }

    .l2 .worldWhere a {
        color: var(--white);
    }


    .l2 .paper {
        background: no-repeat -90% bottom / 105% url("assets/img/paper.png"), var(--yellow);
    }

        .l2 .paper p {
            max-width: 70%;
        }

.l3 {
    height: 310px;
}

    .l3 div {
        border-radius: 20px;
        padding: 0;
        color: var(--white);
    }

        .l3 div div {
            border-radius: 0;
            margin: 0 !important;
        }

            .l3 div div span {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin: auto;
                width: 90%;
            }

                .l3 div div span span {
                    display: flex;
                    align-items: center;
                }

                    .l3 div div span span h2 {
                        margin: 10px 0;
                    }
    
    .l3 .jymeo .banniere {
        height: 200px;
        background: no-repeat center center / 50% url("assets/img/jymeo-logo.png"), no-repeat center center / 110% url("assets/img/jymeo-illustration.png");
    }

    .l3 .jymeo .infos {
        height: 200px;
        background: no-repeat center bottom / 200% url("assets/img/jymeo-blur.png");
    }

    .l3 .ocs .banniere {
        height: 200px;
        background: no-repeat center center / 50% url("assets/img/ocs-logo.png"), no-repeat center center / 110% url("assets/img/ocs-illustration.png");
    }

    .l3 .ocs .infos {
        height: 200px;
        background: no-repeat center bottom / 200% url("assets/img/ocs-blur.png");
    }

.tools-knowledge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 15px;
    padding: 20px 30px !important;
    border: solid var(--white) 1px;
}

    .tools-knowledge i {
        font-size: 2rem;
        width: 2.5rem;
        height: 2.5rem;
        text-align: center;
        transition: .3s all;
    }
    
    .tools-knowledge i.pm {
        opacity: .9;
    }
    
    .tools-knowledge i.dev {
        opacity: .7;
    }
    
    .tools-knowledge i:hover {
        transform: scale(1.1);
        opacity: 1;
        transition: .1s;
    }

.old-work {
    border: solid var(--greyBlue) 1px;
}

    .old-work img {
        border-radius: 5px;
        transform: scale(0.8);
        opacity: .6;
        transition: .1s;
    }

    .old-work img:hover {
        opacity: 1;
        transform: scale(0.9);
    }

    .old-work span:hover::after {
        content: attr(data-title);
        display: inline-block;
        z-index: 100;
        position: absolute;
        margin-top: -100px;
        margin-left: -50px;
        padding: 15px;
        border-radius: 10px;
        white-space: wrap;
        max-width: 200px;
        color: var(--white);
        background: #000;
    }