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

body {
    height: 100vh;
    display: flex;
    font-family: sans-serif;
    color: rgb(255, 255, 255);
}

.testimonials {
    background-image: url("../img/diagmonds.webp");
    height: 100%;
    width: 55%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.test {
    margin: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
}

.test img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.test .testname {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.5rem 0;
    letter-spacing: 2px;
}

.test .testtext {
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0.5rem 0;
}

.test .position {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.test .rating {
    font-size: 1rem;
    margin: 0.3rem 0;
    letter-spacing: 3px;
}

.container {
    color: black;
    display: flex;
    flex-direction: column;
    background-color: rgb(255, 255, 255, 0.95);
    background-image: url("../img/triangle.webp");
    width: 45%;
    justify-content: center;
    align-items: center;
    justify-content: center;
    padding: 5% 5%;
    backdrop-filter: blur(5px);
}

h1 {
    text-align: center;
    letter-spacing: 2px;
    font-size: clamp(1.5rem, 1.266vw + 0.677rem, 2.5rem);
    margin-bottom: 1.5rem;
}

.features li {
    list-style: none;
    letter-spacing: 1px;
    margin: 1rem 0rem 1rem 2rem;
    font-size: clamp(1rem, 0.316vw + 0.794rem, 1.25rem);
    font-family: sans-serif;
}

.features li::before {
    content: "-";
    margin-right: 0.75rem;
}

.subscribe {
    color: white;
    display: inline-block;
    text-transform: uppercase;
    text-align: center;
    margin: clamp(2rem, 3.797vw - 0.468rem, 5rem) 0 0;
    padding: 1rem;
    cursor: pointer;
    outline: none;
    border-radius: 0.25em;
    font-size: 1rem;
    letter-spacing: 2.5px;
    font-weight: 700;
    background-color: black;
    transition: all 150ms ease-in-out;
    text-decoration: none;
}

.subscribe:hover {
    transform: scale(1.025);
}

.back {
    position: absolute;
    color: white;
    bottom: 1.5rem;
    left: 6rem;
    transform: translateX(-50%);
    font-size: 1rem;
    cursor: pointer;
    margin: -0.5rem -0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    transition: all 100ms ease-in-out;
}

.back a {
    color: black;
    padding: 0.5rem 0.75rem;
    margin: -0.5rem -0.75rem;
    text-decoration: none;
}

.back:hover {
    color: rgba(0, 0, 0, 0.95);
    scale: 1.025;
}

@media screen and (max-width: 650px) {
    body {
        flex-direction: column;
        height: auto;
    }

    .testimonials {
        width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
    }

    .test {
        margin: 1rem;
        width: 80%;
    }

    .test2 {
        display: none;
    }


    .test img {
        width: 3rem;
        height: 3rem;
    }

    .test .testname {
        font-size: 1rem;
        margin: 0.25rem 0;
    }

    .test .testtext {
        font-size: 1rem;
        text-align: center;
        letter-spacing: 1px;
        font-weight: 300;
        margin: 0.5rem 0;
    }

    .test .position {
        font-size: 0.75rem;
    }

    .features li {
        margin: 1rem 0rem 1rem 1rem;
    }

    .back {
        display: none;
    }
}