@import "../../fonts/yekanbakh/stylesheet.css";
html,
body {
    font-family: "Yekan Bakh", serif;
    user-select: none;
    background-color: #1f1f1f;
}

.section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-1 {
    background-image: url('../../assets/face-detect-2/section1.png');
}

.section-2 {
    background-image: url('../../assets/face-detect-2/section2.png');
}

.section-3 {
    background-image: url('../../assets/face-detect-2/section3.png');
}

.section-4 {
    background-image: url('../../assets/face-detect-2/section4.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.section-5 {
    background-image: url('../../assets/face-detect-2/section5.png');
}

.login-container {
    position: absolute;
    top: 24px;
    right: 0;
    background-color: #7c41a8;
    border-radius: 50px 0 0 50px;
}

.social-media-container {
    position: fixed;
    top: 50%;
    right: 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #7c41a8;
    max-width: 50px;
    border-radius: 20px 0 0 20px;
}

.progress-image {
    max-width: 250px;
}

.loading-image {
    max-width: 100px;
}

.detect-beauty {
    font-size: 33px !important;
    font-weight: bold;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(180, 150, 197, 0.2);
    color: #b496c5;
    box-shadow: 0px 0px 15px 0px #b496c5;
    text-shadow: 1px 3px 1px black;
}

.detect-beauty:hover {
    color: #FFD700;
}

.send-picture-text {
    /*background-color: #b496c5;*/
    font-size: 30px;
}

.gallery-title {
    color: black;
    background-color: #b496c5;
    padding: 2px 15px 5px 15px;
    border-radius: 6px;
    border: 2px solid #b496c5;
    box-shadow: 1px 1px 2px #b496c5 inset;
    position: absolute;
    top: -25px;
    right: -2px;
    z-index: 0;
    font-size: 15px
}

.gallery-container {
    background-color: transparent;
    padding: 0px;
    border-radius: 8px;
    border: 3px solid #b496c5;
    box-shadow: 1px 1px 2px #b496c5 inset;
    z-index: 10;
    min-height: 200px;
}

.gallery-picture-logo {
    height: 50px;
}

.select-picture {
    font-size: 28px;
    padding: 6px 10px;
    background-color: rgb(74, 65, 78, 0.5);
    color: white;
    border-radius: 8px;
}

.custom-btn {
    background: url(../../assets/face-detect-2/btn-bg-min.png) center no-repeat transparent;
    background-size: contain;
    border: none;
    color: white !important;
    text-decoration: none;
    display: block;
    font-family: "B Yekan+";
}

.main-custom-btn {
    width: 100%;
    height: calc(var(--bs-gutter-x) * 4.5);
    padding: calc(var(--bs-gutter-x) * 1.35);
    font-size: calc(var(--bs-gutter-x) * 0.9);
    font-weight: bold;
    text-shadow: 1px 2px 10px #3a3a3a;
}

.card-background {
    scale: 1 1.6;
}

.custom-card {
    background: url(../../assets/face-detect-2/card-bg-min.png) center no-repeat transparent;
    background-size: cover;
    border: none;
    color: black !important;
    text-decoration: none;
    display: block;
    font-family: "B Yekan+";
}

.custom-field {
    background: url(../../assets/face-detect-2/field-bg-min.png) center no-repeat transparent;
    background-size: cover;
    border: none;
    color: black !important;
    text-decoration: none;
    display: block;
    font-family: "B Yekan+";
}

.custom-field:focus {
    background: url(../../assets/face-detect-2/field-bg-min.png) center no-repeat transparent;
    background-size: cover;
}

.contact-custom-btn {
    height: 40px;
    width: 115px;
    padding: 0px;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 1px 2px 10px #3a3a3a;
}

.upload-image {
    width: 100%;
    padding: 2px 5px;
    border-radius: 10px;
    box-shadow: 0 26px 68px rgba(0, 0, 0, 0.26);
    background-color: #e8bfff;
    color: black;
    font-weight: 300;
    font-size: 15px;
}

.go-away-button {
    background-color: transparent;
    padding: 0;
    border-radius: 16px;
    box-shadow: none;
    border: none;
}

.custom-file {
    background: transparent;
    width: 100%;
    padding: 1.5px;
}

.custom-file input {
    display: none;
}

.social-icon {
    width: 27px;
    padding-bottom: 7px;
    ;
}

.social-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.face-recognition {
    height: 370px;
}

.face-detect-container {
    background-image: url("../../assets/face-detect-2/bg-min.png");
    background-size: contain;
    margin-top: -60px;
    padding-top: 80px;
}

.upload-face-btn {
    background: #b6ff5c;
    border-radius: 8px;
    border-left: 2px solid var(--bs-body-bg);
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    box-shadow: inset 0px 0px 6px 3px var(--bs-body-bg);
    padding-top: 1px;
    border: 2px solid #34491a !important;
    margin-top: 20px;
}

.upload-face-btn::hover {
    background: var(--bs-body-color);
    border: 2px solid white !important;
}

#face-detect img[src=""],
#face-detect img[src="#"] {
    display: none;
}

#face-detect-result .list-group-item {
    font-size: 17px;
    font-weight: bold;
}

.scanning::before {
    content: '';
    position: absolute;
    width: 10%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(0, 255, 248, 1) 0%, rgba(0, 255, 248, 0.5153711142660189) 15%, rgba(0, 255, 248, 0) 100%);
    animation: scanning 1s linear infinite;
    z-index: 100;
    margin-right: -8%;
}

@keyframes scanning {
    100% {
        transform: translate(-1000%, 0);
    }
}

.croped-img-box {
    /*width: 300px;*/
    /*height: 300px;*/
    position: relative;
    overflow: hidden;
}

.final-rate {
    font-size: 20px !important;
    color: var(--bs-body-color) !important;
    padding: 18px 25px;
}

.final-rate .ring {
    background-image: url(../../assets/ring.png);
    background-size: cover;
    width: 100px;
    height: 45px;
    padding: 5px;
}

.banner-2-container {
    background-image: url("../../assets/banner-2-min.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-form input {
    color: black;
    border-radius: 18px;
    border: none;
    height: 45px;
    font-size: 18px;
}

.contact-form input::placeholder {
    color: white;
}

.contact-form button {
    float: left;
}

.lead-text {
    font-size: 26px;
    color: white;
    font-weight: bold;
}

.cropping-box {
    display: block;
    max-width: 100%;
    max-height: 500px;
}

.footer p {
    color: white;
    font-size: 15px;
}

@media only screen and (max-width: 767px) {
    .detect-beauty {
        font-size: 24px;
    }
    .send-picture-text {
        font-size: 24px;
    }
    .select-picture {
        font-size: 24px;
    }
}

@media only screen and (max-width: 390px) {
    .main-custom-btn {
        height: calc(var(--bs-gutter-x) * 2);
        padding: calc(var(--bs-gutter-x) * 0.5);
        font-size: calc(var(--bs-gutter-x) * 0.50);
    }
    .lead-text {
        line-height: 38px;
    }
    .face-recognition {
        height: 280px;
    }
}

@media only screen and (max-width: 550px) {
    .main-custom-btn {
        height: calc(var(--bs-gutter-x) * 3.5);
        padding: calc(var(--bs-gutter-x) * 1.1);
        font-size: calc(var(--bs-gutter-x) * 0.65);
    }
    .h1 {
        font-size: calc(1.3rem + 1.5vw);
    }
    .lead-text {
        line-height: 40px;
    }
    .face-recognition {
        height: 330px;
    }
}

@media only screen and (min-width: 768px) {
    .face-recognition {
        height: 370px;
    }
}

@media only screen and (min-width: 1000px) {
    .face-detect-container {
        background-size: cover;
        margin-top: -80px;
    }
}

@media only screen and (min-width: 1200px) {
    .lead-text {
        line-height: 40px;
    }
}