/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Cairo/Cairo-Regular.ttf) format('truetype');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

.custom-html {
    height: 100%;
    padding: 16px;
}

.custom-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    direction: rtl;
    background-image: url('../images/web-background.png');
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Cairo', sans-serif;
    color: #fff;
}

.custom-header {
    flex-shrink: 0;
}

.custom-section {
    margin-top: 16px;
    margin-bottom: 16px;
    flex-grow: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.custom-main {
    margin-bottom: 16px;
    flex-grow: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-main > *:not(:last-child) {
    margin-bottom: 16px;
}

.custom-footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-footer > *:not(:last-child) {
    margin-bottom: 16px;
}

.custom-header-text {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    text-align: center;
}

.custom-section-image {
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(64, 224, 208, 0.8));
    padding: 8px;
    box-shadow: 4px 4px 32px rgb(255, 255, 255), 4px 4px 32px rgb(64, 224, 204), -4px -4px 32px rgb(0, 0, 205), -4px -4px 32px rgb(138, 43, 226);
}

.custom-main-input {
    border: 0;
    border-radius: 16px;
    padding: 8px 32px;
    background-color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    text-align: center;
    color: #5D3063;
    direction: ltr;
}

.custom-main-input::placeholder {
    color: #5D3063;
    opacity: 1;
}

.custom-main-input:focus {
    outline: none;
}

.custom-main-input-group {
    border-radius: 16px;
    padding: 8px 32px;
    background-color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    text-align: center;
    color: #5D3063;
}

.custom-main-input-group > input {
    border: 0;
    background-color: transparent;
    text-align: center;
    direction: ltr;
}

.custom-main-input-group > input:focus {
    outline: none;
}

.custom-main-input-group > input::placeholder {
    color: #5D3063;
    opacity: 1;
}

.custom-main-button {
    border: 4px solid #2d6984;
    border-radius: 16px;
    padding: 2px 32px;
    background-color: #fff;
    font-weight: bold;
    color: #182d8c;
    height: 55px;
    width: 220px;
}

.custom-main-button:focus {
    outline: none;
}

.custom-main-text {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    text-align: center;
}

.custom-footer-text {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5)
}

.custom-footer-link:link, .custom-footer-link:visited, .custom-footer-link:hover, .custom-footer-link:active {
    text-decoration: none;
    color: #fff;
}

.custom-footer-link:focus {
    outline: none;
}

.operator-logo {
    width: 128px;
    border: 4px solid #2d6984;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.7);
}

.operator-modal-logo {
    width: 56px;
}

.operator-modal-text {
    margin: 0;
    font-size: 10px;
    color: #000;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .custom-section-image {
        height: 256px;
    }

    .operator-modal-logo {
        width: 94px;
    }
    
    .operator-modal-text {
        font-size: 16px;
    }
}

/* Medium devices (desktops, 992px and up) */
/* @media (min-width: 992px) {

} */

/* Large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) {

} */