body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-image: linear-gradient(#0005, #000), url('img/cover.webp'),
        linear-gradient(#000, #000);
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    height: 100vh;
    text-align: center;
    padding: 2rem 1rem;
    color: #fff !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
}

header h1 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: #ccc solid 1px;
    padding: 20px 0;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    width: 90%;
    transition: .3s ease-in-out;

    &:hover {
        background: #928038;
    }
}

section {
    padding: 2rem 1rem;
    max-width: min(1000px, 100%);
    margin: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h1,
h2 {
    color: #5e688f;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;


    & li {
        margin-bottom: 0.5rem;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        font-weight: 600;

        &::before {
            content: url('img/check-2.svg');
            margin-right: 0.5rem;
        }
    }
}

.container {
    width: min(1000px, 100%);
    margin: auto;
    padding: 2rem 1rem;
}

#cases {

    & #testimonials {
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow: auto;
        justify-content: space-between;

        &::-webkit-scrollbar {
            display: none;
        }

        & blockquote {
            display: grid;
            grid-template-rows: 1fr;
            min-width: 250px;
            border-radius: 5px;
            max-width: 250px;
            margin: 1rem 0;
            background: #5e688f50;
            border: 5px solid #fff;
            padding: 40px;
            box-shadow: 5px 5px 5px #0003;
            animation: infiniteScroll 10s linear infinite;

            & span {
                display: block;
                margin-top: 0.5rem;
                font-weight: bold;
            }
        }
    }
}

#wrong,
#laws {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    overflow: auto;
    justify-content: space-around;

    & ul {
        width: 300px;
    }

    & .container {
        align-items: center;
        justify-content: center;
        background-color: #5e688f50;
        border-radius: 10px;
        margin: 100px 0;
        padding: 30px;
        width: min(300px, 100%);
        align-items: center;
        justify-content: center;

        & img {
            width: 100%;
            margin: auto auto -30px -50px;
            display: block;
            scale: 1.5;

        }

        & .statue {
            mask-image: linear-gradient(to top, transparent 0, #000 10%);
        }

    }
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1048px);
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
textarea,
button {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #ffcc00;
    color: #fff;
    cursor: pointer;
    transition: .3s ease-in-out;
}

button:hover {
    background-color: #ac963d;
}


dl {
    margin: 1rem 0;
    padding: 1rem;


    dt {
        font-weight: bold;
        border: 1px solid #858585;
        background: #fff;
        padding: 0.5rem;
        z-index: 999;
        position: relative;
        border-radius: 5px;
        transition: .3s ease-in-out;
        cursor: pointer;

        &.open {
            background: #5e688f50;
        }

    }

    dd {
        margin-bottom: 0.5rem;
        height: 0;
        padding: 0.5rem;
        overflow: hidden;
        position: relative;
        top: -10px;
        opacity: 0;
        transition: .3s ease-in-out;

        &.openQuestion {
            height: auto;
            top: 0;
            opacity: 1;
        }
    }
}

footer {
    text-align: center;
    padding: 1rem;
    background: #5e688f50;
    color: white;
}