@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;600&family=Outfit:wght@100;200;400&family=Quicksand&display=swap');


* {
    margin: 0px;
    padding: 0px;
    --red-color: #bd3030;
    --bg-color: #000000;
    --bg-color-sec: #1d1d1d;
    --bg-comp: #715df2;
    --text-color: #ffffff;
    --button-hover: #ffffff4a;
}

html {
    scroll-behavior: smooth;
}

body {
    background: rgb(20, 20, 20);
} 

.color-red {
    color: var(--red-color);
}

/* button */
.buttonlink {
    display: inline;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: medium;
    margin-top: 7px;

}

.buttonlink a {
    margin-top: 2px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
    border: var(--text-color) solid 1.5px;
    padding: 6px;
    transition: 0.3s;
}

.buttonlink a:hover {
    border: var(--button-hover) solid 1px;
    transition: 0.3s;
}

.button-red {
    display: inline-block;
    margin-top: 5px;
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--red-color);
    color:white;
    padding: 5px;
    text-decoration: none;
    border-radius: 5px;
    transition: 1s;
}

.button-red:hover {
    background-color: #ec4e4e74;
}
/* navbar */
#navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'IBM Plex Sans', sans-serif;
    text-transform: uppercase;
}

.buttonnav {
    float: right;
}

.buttonnav a {
    display: block;
    color: white;
    text-align: center;
    font-size: larger;
    margin: 8px;
    padding: 9px 14px;
    text-decoration: none;
    position: relative;
}

.buttonnav .link::before {
    position: absolute;
    content: '';
    border-bottom: var(--red-color) solid 4px;
    border-radius: 4px;
    transition: 0.3s;
    width: 50%;
    bottom: 1px;
}

.buttonnav .link:hover::before {
    transition: 0.3s;
    width: 80%;
}


.nom {
    font-family: 'Outfit', sans-serif;
}


/* main panel  */

.containermain {
    z-index: 999;
    display: block;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-color);
    width: 90%;
    margin: 0 auto;
}

.bigcontainer {
    margin: 3% auto;
    display: flex;
    width: 100%;
}

.presentation-card {
    width: 50%;
    margin: auto;
}

.buttoncont {
    margin-top: 15px;
}

.containermain h1 {
    font-size: 35px;
}

.presentation-card img {
    display: block;
    width: 75%;
    margin: 0 auto;
    filter: drop-shadow(0 0 1.25rem var(--red-color));
    transition: 0.8s;
}




.containermaintext p {
    font-size: 25px;
}

.title {
    text-align: center;
    margin-top: 70px;
}

/* arrow down */
#arrowdown {
    animation: arrow 1.5s linear infinite;
    text-decoration: none;
    color: var(--red-color);
    height: 50px;
    width: 50px;
    stroke-linecap: 2;
    transition: 0.3s;
}

#arrowdown:hover {
    color: var(--button-hover);
    transition: 0.3s;
    transform: translateY(9px);
}

#arrowdowna {
    display: table;
    margin: 0 auto;
}

@keyframes arrow {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0px);
    }


}

/* competences */

.choix-comp {
    display: flex;
    width: 20%;
    margin: 0 auto;
    padding: 5px;
    margin-top: 20px;
    background: var(--bg-color-sec);
    border-radius: 3px;
}

.choix-comp .c-comp {
    color: var(--text-color);
    margin: 0 auto;
    font-weight: 800;
    font-size: 20px;
    cursor: grab;
}

.choix-comp .c-comp:hover {
    color: var(--red-color);
}



.choix-comp .activ {
    font-size: 20px;
    color: var(--red-color);
}

.comp-maincontainer {
    margin: 1% auto;
    display: flex;
    width: 100%;
}

.comp-container {
    width: 50%;
    margin: 50px auto;
    ;
    padding: 25px;
    background: var(--bg-color-sec);
    border-radius: 4px;
    border-left: solid var(--red-color) 5px;
    filter: drop-shadow(0 0 0.75rem var(--red-color));
    transition: 0.3s;
}

.disable {
    display: none;
}

.comp-container:hover {
    filter: drop-shadow(0 0 0.75rem var(--bg-color));
    transition: 0.3s;
}

.comp-container h2 {
    text-align: center;
    font-weight: 800;
    font-size: 35px;
    margin-bottom: 25px;
}

.comp-container .competences {
    column-count: 2;
}

.comp-container .competences p {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}

.comp-container .competences .comp-info {
    font-weight: 600;
    font-size: 18px;
    color: var(--red-color);
    text-align: center;
}

.comp-container .competences p img {
    width: 20px;
    vertical-align: middle;
    margin-bottom: 1px;

}

/* portfolio */

.portf-maincontainer {
    margin: 3% auto;
    display: flex;
    width: 100%;
}

.portf-container {
    width: calc(100%/3);
    margin: 5px;
    padding: 25px;
    border-radius: 10px;
    transition: 1s ease;
}

.portf-container img {
    width: 100%;
    border-radius: 5px;
}

.portf-container:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    transition: 1s ease;
}

/* footer */

.footer {
    margin-top: 25px;
    background-color: var(--bg-color-sec);
    color: #fff;
    padding: 60px 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.footer-content {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px;
}

.footer-section.about {
    max-width: 300px;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.links ul {
    list-style: none;
    padding: 0;
}

.links li {
    margin-bottom: 10px;
}

.links a {
    color: var(--red-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.links a:hover {
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    display: block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: var(--red-color);
    color: white;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
}

/* responsive */
@media screen and (max-width: 1150px) {
    .bigcontainer .a {
        display: none;
    }

    .bigcontainer .b {
        width: 100%;
        text-align: center;
    }
    .choix-comp{
        width: auto;
    }
    .buttonnav {
        font-size: 12px;
    }

    .presentation-card h1 {
        margin-top: 35px;
        font-size: 25px;
    }

    #arrowdown {
        margin-top: 35zpx;
    }

    .comp-maincontainer {
        display: block;
    }

    .comp-container {
        width: auto;
    }

    .comp-container h2 {
        font-size: 20px;
    }

    .comp-container .competences p {
        font-size: 15px;
    }

    .comp-container .competences .comp-info {
        font-size: 12px;
    }

    .portf-maincontainer {
        display: block;
    }

    .portf-container {
        width: 90%;
        padding: 15px;
    }

    .containermain h1 {
        margin-top: 35px
    }
}

/* background */

@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Exo', sans-serif;
}


.context {
    width: 100%;
    position: absolute;
    top: 50vh;
}

.context h1 {
    text-align: center;
    color: #fff;
    font-size: 50px;
}

