/* Importer google fonts - Oswald */
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

* {
    font-family: "Oswald", sans-serif;
    margin: 0;
    padding:0;
    box-sizing: border-box;
}

body {
    background-color: #FFFCF2;
    /*display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    flex-direction: column; */
}

#container-home {
    background-color: #FEEEE5;
}
#container-home h1 {
    font-family: "Oswald", sans-serif;
    font-size: "36px";
}
#container-home h2 {
    font-family: "Oswald", sans-serif;
    font-size: "24px";
}
#container-home h3 {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
}
#container-home p {
    font-family: "Oswald", sans-serif;
    font-size: "14px";
}

/* PROFIL */

#profil {
    display: flex;
    padding: 18px;
    background-color: #2c2c2c;
    color: #fff;
    gap: 3em;
    
}

.txteffect {
    font-family: "Permanent Marker" !important;
    font-weight: 400;
    font-style: normal;
    color: #ff9e00;
}

.text button {
    background-color: #ff9e00;
    color: #fff;
    font-family: "Oswald", sans-serif;
    border-radius: 4px;
    text-align: center;
    animation: ease 1s;
}
.text button:hover {
    transform: scale(1.2);
}

#profil img {
    justify-content: right;
    width: 454px;
}

/* SECTION HARD SKILLS*/

#hard-skills{
    padding: 18px;
}

#skills {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
}

.card .card-item {
    list-style: none;
}


/* LOGICIELS */

#carousel-software {
margin: 100px auto;
width: 100%;
display: flex;
overflow-x: auto;
}

#carousel-software::-webkit-scrollbar {
display: none;
}

.software-container{
display: flex;
align-items: center;
justify-content: center;
gap: 1em;
animation: spin 50s infinite linear;
padding-right: 1em;

}

.card-software{
flex: 0 0 5em;
height: 10em;
padding: 1em;
background-color: transparent;
font-size: 1em; 
text-align: center;
align-content: center;
border-radius: .2em;
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}


/* CARROUSEL*/


.card-wrapper {
    justify-content: center;
    margin: 0 60px 35px; 
    padding: 20px 10px;
    overflow: hidden;
}


.card-list .card-item{
    list-style: none;
}

.card-list .card-item .card-link {
    user-select: none;
    /*width: 400px;*/
    display: block;
    background-color: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;

}

.card-list .card-item .card-link:active{
    cursor: grabbing;
}

.card-list .card-item .card-link:hover{
    border-color: #ff9e00;
}

.card-list .card-link .card-img {
    width: 100%;
    aspect-ratio: 16 /9;
    object-fit: cover;
    border-radius: 10px;
}

.card-list .card-link .card-title {
    font-size: 1.19rem;
    color: black;
    font-weight: 400;
}

.card-list .card-link .card-button {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin: 30px 0 5px;
    background: none;
    color: #ff9e00;
    border: 2px solid #ff9e00;
    cursor: pointer;
}

.card-list .card-link:hover .card-button{
    color: #fff;
    background: #ff9e00;
}

.card-wrapper .swiper-pagination-bullet{
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #ff9e00;
}

.card-wrapper .swiper-pagination-bullet-active{
    opacity: 1;
}

.card-wrapper .swiper-slide-button { 
    color: #ff9e00;
    margin-top: -35px;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px;
    }

    .card-wrapper .swiper-slide-button {
        display: none;
    }

}
