html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.d-none {
    display: none;
}

.search {
    border: 1px solid gray;
    border-radius: 50px;
    display: flex;
    margin: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
}

.search .search-icon {
    width: 20px;
    height: 20px;
    background-image: var(--search-icon);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: 10px;
    margin-top: 5px;
}

.search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 20px;
}

#results {
    display: grid;
    grid-template-columns: 50fr 50fr;
}

.younito-image {
    width: 100%;
    cursor: pointer;
}

.younito-image-animation-available {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: transparent;
    background-image: var(--play-icon);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    padding: 15px;
}

/* Bootstrap Modal */
.modal {
    background-color: white;
}

.modal-content {
    background-color: transparent;
    border: 0;
}

.modal-dialog {
    margin: 0;
}

.modal-header {
    position: fixed;
    top: 15px;
    right: 9px;
    width: 100%;
    border: 0;
    z-index: 999;
}

.modal-body {
    padding: 0;
}

.modal-body .static-image {
    padding-inline: 0.7rem !important; /* Added because of the white margin within image */
}

/* Bootstrap Modal align center */

.fixed-size {
    position: relative;
    display: inline-block;
    min-width: 100%;
    max-width: 100%;
}

.fixed-size::before {
    content: "";
    display: block;
    margin-top: 100%;
}

.fixed-size > img, .fixed-size > video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.btn-younito {
    background-color: #f59a54;
    color: white;
    border: 0;
    border-radius: 8px;
    transition: 0.5s;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #f59a54 50%, gray 50%);
}

.btn-younito:hover {
    color: white;
}

.btn-younito:disabled,
.btn-younito[disabled] {
    background-position: 0 -100%;
    transition: 0.5s;
}

.btn-younito-dark {
    background-color: #535353;
    color: white;
    border: 0;
    border-radius: 8px;
    transition: 0.5s;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #535353 50%, #cccccc 50%);
}

.btn-younito-dark:hover {
    color: white;
}

.btn-younito-dark[data-playing="true"] {
    color: #535353;
    background-position: 0 -100%;
    transition: 0.5s;
}

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

@media screen and (max-width: 1024px) and (min-width: 768px) {
    .younito-image-animation-available {
        top: 24px;
        right: 24px;
        padding: 24px;
    }

    .modal-dialog {
        max-width: 100%;
        font-size: 1.5rem;
    }

    .btn-younito, .btn-younito-dark {
        padding: 14px;
        font-size: 1.5rem;
    }

    .modal-body .static-image {
        padding-inline: 0 !important; /* Added because of the white margin within image */
    }
}