﻿@font-face {
    font-family: 'Zain-Regular';
    src: url('Font/Zain-RegularV2.ttf') format('truetype');
}

body {
    font-family: 'Zain-Regular';
    background: #f6f5f8;
}

.logo-img-white {
    width: 100%;
    max-width: 200px;
}

.index-body {
    background-image: url(../Images/iPhone16/top.png), url(../Images/iPhone16/bottom.png);
    background-repeat: no-repeat, no-repeat;
    background-position: right top, left bottom;
    background-color: black;
    background-size: 100% auto;
}

.index-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}


.btnPreorderNow {
    width: 100%;
    max-width: 300px;
}

.patterns {
    width: 100%;
    max-width: 150px;
}

.hero-device {
    width: 100%;
    max-width: 500px;
}

.slogan{
    width:100%;
    max-width:400px;
}

.iphone-logo{
    width:100%;
    max-width:400px;
}

.iphone-logo-2{
    width:100%;
    max-width:260px;
}

.device-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 65px;
}

.device-logo-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 175px;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.changeLang-link-white {
    color: white !important;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.changeLang-link{
    color:black !important;
    font-size:20px;
    text-decoration:none;
}

.main-content {
    direction: rtl !important;
    text-align: right !important;
    display: flex;
    gap: 15px;
}

.device-images {
    display: flex;
    justify-content: center;
}

.device-img {
    width: unset;
    max-width: 100%;
    height: unset;
    object-fit: contain;
    max-height: 80vh;
}

.device-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.choose-label {
    font-size: 20px;
    font-weight: 700;
}

.TypeRectangle {
    width: 100%;
    padding: 15px 0;
    font-size: 20px;
    border-radius: 8px;
    border: solid 1px;
    border-color: rgba(69, 69, 69, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}

    .TypeRectangle.active, .TypeRectangle:hover, .TypeRectangle:active {
        box-shadow: 0 0 0 1px #000;
    }

.CapacityRectangle {
    width: 100%;
    padding: 15px 0;
    font-size: 20px;
    border-radius: 8px;
    border: solid 1px;
    border-color: rgba(69, 69, 69, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 10px;
}

    .CapacityRectangle.active, .CapacityRectangle:hover, .CapacityRectangle:active {
        box-shadow: 0 0 0 1px #000;
    }


.device-colors, .device-types, .device-capacity, .buying-method {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.device-color {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.device-type, .device-cap, .buy-method {
    display: flex;
    gap: 20px;
}

.ColorRectangle {
    width: 100%;
    max-width: 125px;
    text-align: -webkit-center;
    height: 125px;
    padding: 18px;
    border-radius: 8px;
    border: solid 1px;
    border-color: rgba(69, 69, 69,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: space-evenly;
}

    .ColorRectangle.active, .ColorRectangle:hover, .ColorRectangle:focus {
        border-color: rgba(0, 112, 201,1);
        border: solid 2px !important;
    }

.ColorOval {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: solid 1px #454545;
}

.BuyRectangle {
    width: 100%;
    padding: 15px 0;
    font-size: 20px;
    border-radius: 8px;
    border: solid 1px;
    border-color: rgba(69, 69, 69, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 10px;
}

    .BuyRectangle.active, .BuyRectangle:hover, .BuyRectangle:active {
        border-color: rgba(0, 112, 201,1);
        border: solid 2px !important;
    }

.PlanRectangle {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 130px;
    margin-bottom: 15px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: solid 1px;
    border-color: rgba(69, 69, 69, 0.4);
}

    .PlanRectangle.active, .PlanRectangle:hover, .PlanRectangle:active {
        border-color: rgba(0, 112, 201,1);
        border: solid 2px !important;
    }

.GoPlan-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.Teal {
    background-color: #7FBAB8;
}

.Ultramarine {
    background-color: #607AC3;
}

.White {
    background-color: #FAFAF9;
}

.Pink {
    background-color: #FFA8D6;
}

.Black {
    background-color: #2D2E2E;
}

.DesertTitanium {
    background-color: #C49D88;
}

.BlackTitanium {
    background-color: #222223;
}

.WhiteTitanium {
    background-color: #FAFAF9;
}

.NaturalTitanium {
    background-color: #D5CEC5;
}


.contact-form, .important-notes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.SubmitBtn {
    color: white;
    min-width: 145px;
    max-width: 170px;
    border: none;
    font-size: 15px;
    height: 38px;
    border-radius: 24px;
    margin-bottom: 25px;
    background-color: #e5007e;
}

#preloader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000; /* display: none; */
}

#loader {
    display: block;
    position: relative;
    left: 42%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px -75px 0 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370DB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        right: 5px;
        left: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #ba55d3;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        right: 15px;
        left: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #54b8e9;
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        -ms-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}



@media only screen and (max-width: 900px) {
    .main-content {
        display: flex;
        flex-wrap: wrap;
    }
}
