* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Roboto;
    font-size: 125%;
    background-color: #F5F5F5;
    color: #3D3A3A;
}

#slider {
    margin: 0 auto;
    width: 100%;
    max-height: 90%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#slider input[type=radio] {
    display: none;
}

#slides {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: auto;
}

#slides .inner {
    display: flex;
    width: 400%;
    transition: margin-left 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#slides .slide {
    width: 25%;
    padding: 40px;
    color: #3D3A3A;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    box-sizing: border-box;
    min-height: 300px;
}

#slides .slide .img {
    max-width: 20%;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 600px) {
    #slides .slide {
        max-height: 30%;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        height: 50%;
    }

    #slides .slide .img {
        max-width: 50%;
    }
    .text-painel{
        align-items: center;
    }
    .title-painel{
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .subtitle-painel{
        display: none;
    }

    .slider-dots, .dot{
        display: none;
    }
}

.text-painel {
    display: flex;
    flex-direction: column;
    margin: 0;
    max-width: 55%;
}

.title-painel {
    margin: 2% 0%;
    color: #EA7A00;
}

.controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.controls label.arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    user-select: none;
    transition: background-color 0.3s ease;
    pointer-events: auto;
    display: none;
}

.controls label.arrow:hover {
    background: rgba(255, 255, 255, 0.8);
}

.controls label.arrow.prev {
    margin-left: 10px;
}

.controls label.arrow.next {
    margin-right: 10px;
}

#slide1:checked~.controls .slide-1-arrow {
    display: block;
}

#slide2:checked~.controls .slide-2-arrow {
    display: block;
}

#slide3:checked~.controls .slide-3-arrow {
    display: block;
}

#slide4:checked~.controls .slide-4-arrow {
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background-color: #D9D9D9;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

#slide1:checked~.slider-dots .dot:nth-child(1),
#slide2:checked~.slider-dots .dot:nth-child(2),
#slide3:checked~.slider-dots .dot:nth-child(3),
#slide4:checked~.slider-dots .dot:nth-child(4) {
    background-color: #EA7A00;
}

#slide1:checked~#slides .inner {
    margin-left: 0%;
}

#slide2:checked~#slides .inner {
    margin-left: -100%;
}

#slide3:checked~#slides .inner {
    margin-left: -200%;
}

#slide4:checked~#slides .inner {
    margin-left: -300%;
}

.button {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 2%;
    margin-right: 2%;
}

.main-section {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border-radius: 10px;
    margin: 10px auto;
    padding: 5%;
    width: 100%;
    max-width: 100%;
    max-height: 90%;
    position: relative;
}

@media screen and (max-width: 1300px) {
    .main-section {
        flex-direction: column;
        padding: 10px;
    }

    .img-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .img {
        max-width: 30%;
        height: auto;
        justify-content: center;
    }
}

.text-section {
    display: flex;
    flex-direction: column;
}

.title-section {
    margin: 1% 0%;
    color: #EA7A00;
}

.subtitle-section {
    margin: 2% 0%;
}

.description-section {
    margin: 2% 0%;
}

.cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
}

.technologies-section {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    margin: 20px auto;
    padding: 5%;
    width: 100%;
    max-width: 100%;
    max-height: 90%;
    position: relative;
}

.description-section {
    color: #5D5D5D;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 512px) {
    .technologies-section {
        flex-direction: column;
        padding: 10px;
    }

    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .tech-image {
        margin-left: auto;
        margin-right: auto;
    }

    .img-box {
        display: flex;
        width: 30%;
        margin: 0%;
        flex-direction: row;
        justify-content: center;
    }
}

.tech-image {
    min-height: 15%;
    max-height: 80px;
    width: auto;
    margin: 0% 5%;
}

.card-container{
    margin: 2%;
}

.paragraph-section {
    margin: 2% 0%;
}

.img-web-device-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.img-web-devices {
    width: 100%;
    /* max-width: 600px; */
    height: auto;
    border-radius: 10px;
}