.carousel {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    background: #EEE;
    ;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
}

.img-checkbox-unit {
    position: relative;
}

.cert-bg {
    background: conic-gradient(from 0deg at center, #fff5f5e3, #fff4df, #eeffffe3);
    padding: 10px;
    border-radius: 7px;

    border: 1px solid darkgreen;
}

.checkbox-image {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 25px;
    height: 25px;
    color: green;
    cursor: pointer;
}

.sole-png-repr {
    margin: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chose-image {
    margin: 10px;
    padding: 10px;
    border: solid 1px green;
    border-radius: 7px;
    background: conic-gradient(from 0deg at center, #fff5f5, #fff4df, #eeffff);
}

.stylish-btn {
    cursor: unset;
}

.stylish-btn button {
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: 7px;
    background-color: lightblue;

}

.sole-png-repr img {
    padding: 15px;
    border-radius: 7px;
    width: 100%;
    height: auto;
    min-width: 150px;
}

.absolute-err {
    position: fixed;
    transform-origin: left center;
    transform-style: preserve-3d;
    animation: pageFlip 0.5s alternate ease-in-out;
    background: linear-gradient(to right, #e0e0e0 0%, #ffffff 10%, #ffffff 100%);
    border: 1px solid #ccc;
    box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.1), 5px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0 10px 10px 0;
}

.absolute-err h2 {
    animation: h2err 0.5s alternate ease-in;
}

.err-message {
    text-align: center;
    font-size: 1.2em;
}

.flex-col-layout {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    justify-items: center;
    align-items: center;

}

.spinner {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    /* The light grey background track */
    border: 5px solid #f3f3f3;
    /* The colored spinning part */
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinwrapper {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    /* Optional: darkens the screen behind it */
    z-index: +1;
    /* Ensures it sits on top of everything else */
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes h2err {
    0% {
        color: white;
    }

    80% {
        color: wheat;
    }

    100% {
        color: black;
    }
}

@keyframes pageFlip {
    0% {
        transform: rotateY(-160deg);
        background: white;
        color: white;
    }

    100% {
        transform: rotateY(0deg);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (min-width:300px) and (max-width: 900px) {
    .main-content {
        width: calc(100% - 20px);
        left: 10px;
        top: 0;

    }
}