#courses{
    margin-top:0;
    padding-top: 40px;
}


.draft{
    justify-self: center;
    align-self: center;
    font-size: 30px;
    font-weight: bolder;
    margin: 80px 0 0 0;
}


.products-container{
    display: flex;
    justify-content: center;
    flex-direction: row;
    overflow-x:auto;
    overflow-y: hidden;
    padding: 25px 0px;
    margin-bottom: 2.3rem;
    gap: calc(45px - ((1528px - 100vw) * ((45 - 22) / (1528 - 300))));
}


.products-container::-webkit-scrollbar{
    height: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color:transparent;
}
  
.products-container::-webkit-scrollbar-thumb{
    background-color: #831e5b9a;
    border-radius: 100px;
}

.card-wrapper {
    flex-shrink: 0;
    perspective: 1000px;
    cursor: pointer;
    transform-style: preserve-3d;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.card-wrapper:hover{
    transform: scale(1.05);
    transition: transform 0.2s;
}

.card-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    width: calc(300px - ((1528px - 100vw) * ((300 - 200) / (1528 - 300))));
    max-width: 300px;
}

.card-wrapper h2, .card-wrapper p{
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    align-content: center;
    overflow: hidden;
    height: 27.5%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-wrapper h2 {
    margin: 0;
    font-size: calc(18px - ((1528px - 100vw) * ((18 - 15) / (1528 - 300))));
    color: #ffffff;
}


section[id="services"] img{
    width: 50%;
}

@media (max-width: 768px){
    section[id="services"] img{
        width: 90%;
    }    
}