@media (max-width: 767px) {
    .first-container {
        display: flex;
        flex-direction: column;
        padding: 10px !important;
    }

    .left-section,
    .right-section {
        max-width: 100% !important;
    }

    .animation-div {
        margin-top: 3rem !important;
        height: 12rem;
        width: auto !important;
    }

    .testimonial {
        margin-top: 1rem !important;
        margin-left: 0 !important;
        max-width: 100% !important;
    }

    .try-upper-block {
        flex-direction: column !important;
    }

    .try-left-block {
        width: auto !important;
    }
}

@media (max-width: 1560px) {
    .animation-div {
        margin-top: 0 !important;
    }
}

@media (min-width: 1460px) {
    .references-bottom-div {
        margin: 0 15% !important;
    }
}

@media (min-width: 1500px) {
    .reference-div-header {
        height: 7vh !important;
    }
}

@media (max-width: 1400px) {
    .animation-div {
        width: auto !important;
        height: auto !important;
    }

    @media (max-width: 410px) {
        .right-section {
            margin-top: 40px;
        }

        .contact-header {
            font-size: 1.5rem !important;
        }

        .promo-section {
            padding: 0 !important;
        }

        .eshops-header {
            text-align: center;
            font-size: 1.5rem !important;
        }

        .email-textbox {
            width: calc(100% - 95px) !important;
        }
    }
}

.first-container {
    display: flex;
    align-items: center;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.left-section {
    max-width: 45%;
    list-style: none;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.left-section h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    max-width: 25rem;
}

.left-section ul {
    list-style-type: none;
    padding-left: 0;
}

.left-section ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.left-section li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 500;
    font-size: 1rem;
    color: rgba(61, 190, 113);
    background-color: transparent;
    top: -0.5rem;
    position: relative;
    margin-right: 15px;
}

.cta-button {
    background-color: rgba(61, 190, 113);
    color: white;
    padding: 15px 25px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: normal;
    border-radius: 9999px;
    align-items: center;
    display: flex;
    justify-content: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15),
        inset 0 -4px 6px rgba(0, 0, 0, 0.2),
        inset 0 4px 6px rgba(255, 255, 255, 0.3);
}

.right-section {
    max-width: 45%;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.testimonial {
    font-size: 1rem;
    color: #666;
    max-width: 70%;
    text-align: left;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    margin-top: -2.5rem;
    margin-left: -5rem;
    border: 1px solid #e5e5e5;
}

.testimonial::before {
    content: "“";
    font-size: 2rem;
    color: #fff;
    background-color: #3dbe71;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    position: relative;
    top: -20px;
    left: -20px;
    margin-top: -1rem;
    margin-left: -1rem;
}

.testimonial-source {
    font-size: 0.9rem;
    color: #333;
}

.testimonial-source-strong {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
}

.testimonial-source span {
    color: #888;
}

.form-try {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 1rem;
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.try-container {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
}

.left-section-try, .right-section-try {
    background-color: #fff;
    padding: 20px;
    width: 100%;
    flex-direction: column;
    border-radius: 0 0 1rem 1rem;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-eshops {
    width: 100%;
    margin-bottom: 15px;
    border-color: rgba(229, 229, 229);
    border-radius: .5rem;
    border-width: 1px;
    padding: 1.1rem 1.5rem;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder {
    color: #888;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox input {
    margin-right: 10px;
}

.billing-info {
    margin-top: 20px;
}

.suggestions {
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.eshops-header {
    font-size: 2.4rem;
    font-weight: bold;
}

.green-stripe {
    width: 100%;
    height: 50px;
    background-color: rgba(61, 190, 113);
    border-radius: 1rem 1rem 0 0;
}

.try-subheader {
    font-size: 2rem;
    font-weight: bold;
}

.try-left-block {
    flex-direction: column;
    width: 50%;
    background-color: #fff;
    margin-right: 20px;
}

.try-upper-block {
    display: flex;
    flex-direction: row;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    width: 68%;
    height: 68%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 16%;
}

.decomposed-width {
    width: 50%;
    height: 50%;
    padding: 25%;
}

.grid-link {
    width: 100% !important;
    height: 200px !important;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-content {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
}

@media (max-width: 992px) {
    .grid-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .references-column-direction {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    .reference-div {
        width: auto !important;
    }
}

@media (max-width: 600px) {
    .grid-section {
        grid-template-columns: 1fr;
    }
}

div .solution-not-found {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    gap: 10px;
    text-align: center;
}

.promo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    background-color: rgba(227, 246, 235);
    flex-direction: column;
    padding: 0 7rem;
}

a.button-right-gap {
    text-align: center;
    margin-bottom: 4rem;
}

.promo-section-left {
    display: flex;
    align-items: flex-start;
    font-size: 1.2rem;
    font-weight: bold;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: .3rem;
}

.promo-section-subtext {
    font-size: 1rem;
    font-weight: normal;
}

.contact-section {
    width: 70%;
    margin: 50px 15% 50px 15%;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(227, 246, 235);
    border-radius: 3rem;
}

.contact-header {
    font-weight: bold;
    font-size: 2rem;
    margin: 4rem 0;
    text-align: center;
}

img.first-block-icon {
    position: absolute;
    z-index: -1;
    width: 25rem;
    right: 30rem;
    margin-top: -5rem;
}

h2.eshops-platforms {
    margin-top: 3rem;
}

h2.formular-header-text {
    margin-top: .5rem;
    margin-bottom: 1rem;
}

div.animation-div {
    border: 1px solid #d7cfcf;
    z-index: -1;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 9.5rem;
    width: 40rem;
}

#result_email, #result1 {
    position: absolute;
    margin-top: -10px;
}

.margin-top-2 {
    margin-top: 1.3rem !important;
}

.form-names-label-div {
    display: flex;
    flex-direction: row;
}

.right-section-first-label {
    margin-top: 20.5px;
}

.references-bottom-div {
    display: flex;
    flex-direction: column;
    gap: 5%;
    margin: 0 5%;
    align-items: center;
}

.reference-div {
    background-color: #f4f4f4ba;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 30%;
    text-align: center;
    max-width: 300px;
}

.reference-div-author {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
}

.reference-div-position {
    font-size: .8rem;
}

.reference-div-recenze {
    margin-top: 20px;
    padding: 15px;
    font-style: italic;
}

.reference-div-header {
    width: 100%;
    padding: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    height: 10vh;
}

.references-column-direction {
    display: flex;
    flex-direction: row;
    gap: 4%;
}

.manboxeo-img {
    width: 80%;
    height: 120%;
    max-width: 270px;
}

#show-next-references-div {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 2%;
    font-size: 1.2rem;
    cursor: pointer;
    color: rgba(61, 190, 113);
    margin-bottom: 15px;
    font-weight: bold;
    text-decoration: underline;
}

#show-next-references-text:hover {
    color: rgb(33, 122, 67);
}

.extended-partners-block {
    display: none;
}

.all-partners-container {
    gap: 75px;
}

.nordic-logo {
    width: 90% !important;
    height: 90% !important;
}

.czc-logo {
    width: 100%;
}

.email-main-block {
    height: 100%;
    margin-top: 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(227, 246, 235);
    padding: 30px;
}

.email-main-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.email-subheader {
    text-align: center;
}

.email-textbox-block {
    margin-top: 20px;
}

.mail-icon {
    position: absolute;
    margin-top: 14px;
    z-index: 11;
    margin-left: 10px;
}

.email-textbox {
    padding: 10px 15px 10px 35px;
    width: 350px;
    position: relative;
    z-index: 10;
    border: 1px solid gray;
}

.email-button {
    background-color: rgba(61, 190, 113);
    color: white;
    margin-left: -3px;
    padding: 10px 15px;
    border: 1px solid gray;
}

.email-private-data {
    text-decoration: underline;
    margin-top: 10px;
}

.success-box {
    margin-top: 20px;
    background-color: rgba(61, 190, 113, 0.75);
    border-radius: 1rem;
    padding: 12px 30px;
    text-align: center;
    display: flex;
    flex-direction: row;
}

.fail-box {
    margin-top: 20px;
    border-radius: 1rem;
    padding: 12px 30px;
    text-align: center;
    background-color: rgba(255, 0, 0, 0.50);
    display: flex;
    flex-direction: row;
}

.success-box:before {
    content: url('../img/info-icon.svg');
    margin-right: 5px;
}

.fail-box:before {
    content: url('../img/info-icon.svg');
    margin-right: 5px;
}