@font-face {
    font-family: 'doran';
    font-weight: normal;
    src: url(../fonts/fa-regular.woff2);
}
@font-face {
    font-family: 'doran-b';
    font-weight: bold;
    src: url(../fonts/fa-bold.woff2);
}
@font-face {
    font-family: 'doran-eb';
    font-weight: bolder;
    src: url(../fonts/fa-extrabold.woff2);
}
@font-face {
    font-family: doran-en;
    font-weight: normal;
    src: url(../fonts/en-regular.woff2);
}
* {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth;
}
.toasts {
    position: fixed;
    bottom: 95px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    z-index: 2;
}

.toasts .toast {
    height: 80px;
    border-radius: 59px;
    border: solid 1px #ccc;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    gap: 12px;
    min-width: 380px;
}

.toasts .toast .icon {
    width: 58px;
    height: 58px;
    background-color: #eee;
    border-radius: 50%;
}

.toasts .toast .close {
    width: 30px;
    height: 30px;
    border: 0;
    margin-right: auto;
}

.toasts .toast.error .icon {
    background-color: #c50000;
}

.toasts .toast.error {
    border: solid 1px #c50000;
}

.toasts .toast.success .icon {
    background-color: #008000;
}

.toasts .toast.success {
     border: solid 1px #008000;
}
.popup form > div .field input.error {
    border: solid 1px #d30000;
}

.popup form > div .field input.error:focus {
    border: solid 1px #d30000;
    box-shadow: 0 0 0 2px #d30000;
}
.popup form > div .field textarea.error {
    border: solid 1px #d30000;
}

.popup form > div .field textarea.error:focus {
   border: solid 1px #d30000;
    box-shadow: 0 0 0 2px #d30000;
}
.section-two .btns button:hover {
    background-color: #111d3a;
}
.section-one.light {
    background-color: white;
}
.section-one > svg {
    position: absolute;
    z-index: 4;
    width: 810px;
    transition-duration: 2s;
    transform: scale3d(0, 0, 1);
    opacity: 0;
}

.section-one > svg.active {
    /* transform: scale3d(1, 1, 1); */
    /* opacity: 1; */
}

.section-two > svg {
    /* position: absolute; */
    /* z-index: -1; */
    /* max-width: 100%; */
    /* height: 100%; */
    display: none;
}
body{
    font-family: doran;
    margin: 0;
    direction: rtl;
    /* perspective: 3000px; */
}
.mouse.active {
    visibility: visible;
    opacity: 1;
}

p.scroll.active {
    visibility: visible;
    opacity: 1;
}
.popup > svg {
    position: absolute;
    top: -20px;
    right: -20px;
}
.section-one {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 500px;
    overflow: hidden;
    background-color: #000;
    background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0));
    transition-duration: 1s;
}

.section-one #panafor {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* background-color: #000; */
    transition-duration: 1s;
}
.section-one #panafor.light {
    /* background-color: white; */
    /* background-image: linear-gradient(to bottom, rgb(238 239 239) 0%, rgb(255 255 255)); */
}
p.main-title {
    position: relative;
    font-size: 70px;
    transition-duration: 1s;
    margin: 0;
    transform: translate3d(0px, 190px, 0px)  scale3d(0.6, 0.6, 1) rotate3d(1, 0, 0, -58deg);
    opacity: 0;
    font-family: 'doran-eb';
}

p.main-title.active {
    transform: translate3d(0px, 120px, 0px)  scale3d(1, 1, 1) rotate3d(1, 1, 1, 0deg);
    opacity: 1;
}

.section-two {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
}

.section-two .btns {
    display: flex;
    gap: 12px;
}

.section-two .btns button {
    height: 80px;
    background-color: #0b0f19;
    color: white;
    font-family: doran;
    font-weight: bold;
    width: 312px;
    cursor: pointer;
    border: 0;
    transition-duration: 0.5s;
}

p.copyright {
    position: absolute;
    left: 32px;
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    bottom: 22px;
    margin: 0;
    font-size: 14px;
    font-family: doran-en;
}

.section-two .btns button:nth-child(1) {
    border-radius: 0 100px 100px 0;
}
.section-two .btns button:nth-child(2) {
    border-radius: 100px 0 0 100px;
}
div#logo {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -20px;
    width: 50px;
}
.popup {
    position: fixed;
    top: calc(50% - 300px);
    width: 1000px;
    border: solid 2px #000;
    background-color: #fff;
    border-radius: 0 0 120px;
    padding: 50px 110px 110px;
    height: 600px;
    z-index: 10;
    transform: translate3d(0px, 0, 0px);
    opacity: 0;
    transition-duration: 1s;
    visibility: hidden;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.popup .close {
    position: absolute;
    left: 50px;
    width: 30px;
    height: 30px;
    border: 0;
    top: 40px;
    cursor: pointer;
    background: transparent;
}

.popup .label {
    position: absolute;
    width: 200px;
    height: 80px;
    background-color: #0b0f19;
    border-radius: 100px 0 0 100px;
    top: 30px;
    right: -40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.popup .title {
    text-align: center;
    font-size: 20px;
    color: #0b0f19;
}

.popup form {
    margin: 50px 0 0;
    display: flex;
    gap: 23px;
    flex-direction: row;
}

.popup form > div {
    display: flex;
    flex: 0 0 40%;
    flex-direction: column;
    gap: 30px;
}

.popup form input[type=submit] {
    bottom: -40px;
    position: absolute;
    width: 313px;
    height: 80px;
    left: 0;
    right: 0;
    cursor: pointer;
    border-radius: 40px;
    background-color: #0b0f19;
    color: white;
    font-family: 'doran';
    margin: auto;
    border: 0;
}

.popup form > div .field {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.popup form > div .field input {
    height: 60px;
    border-radius: 100px;
    border: solid 1px #000;
    padding: 30px;
    display: block;
    font-family: 'doran';
    outline: 0;
    transition-duration: 0.5s;
}

.popup form > div .field input:focus, .popup form > div .field textarea:focus {
    border: solid 1px #000;
    box-shadow: 0 0 0 2px #000;
    transition-duration: 0.5s;
}

.popup form > div .field textarea {
    height: 190px;
    resize: none;
    border-radius: 40px;
    outline: 0;
    transition-duration: 1s;
    padding: 20px;
    font-family: 'doran';
}

.popup form > div:nth-child(2) {
    flex: 1 1;
}

.popup.active {
    transform: translate3d(0px, 0, 0px);
    opacity: 1;
    visibility: visible;
}
.forms {
    perspective: 2000px;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    z-index: 2;
}
.input-file {
    height: 60px;
    border-radius: 40px;
    border: solid 1px #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px 0 0;
}

.input-file span {
    background-color: #f1f1f1;
    border-radius: 40px;
    height: 100%;
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: solid 1px #000;
}
.back-drop {
    backdrop-filter: blur(4px);
    background-color: #ffffffa8;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition-duration: 0.5s;
    visibility: hidden;
}

.back-drop.active {
    visibility: visible;
    opacity: 1;
}
.popup form > div .field .label {
    font-size: 14px;
}

.popup form > div .field label {
    font-size: 14px;
    padding: 0 20px 0 0;
}



p.scroll {
    /* margin-top: 50px; */
    /* font-family: "Cabin", sans-serif; */
    letter-spacing: 12px;
    /* text-indent: 12px; */
    color: #fff;
    animation: colorText 5s ease-out infinite, nudgeText 5s ease-out infinite;
    position: absolute;
    bottom: 10px;
    letter-spacing: normal;
    text-align: center;
    margin: 7px;
    visibility: hidden;
    opacity: 0;
    transition-duration: 0.5s;
}
.mouse {
    background: #4e5559 linear-gradient(transparent 0%, transparent 50%, #fff 50%, #fff 100%);
    position: relative;
    width: 52px;
    height: 88px;
    border-radius: 100px;
    background-size: 100% 200%;
    animation: colorSlide 5s linear infinite, nudgeMouse 5s ease-out infinite;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 60px;
    visibility: hidden;
    opacity: 0;
    transition-duration: 0.5s;
    z-index: 6;
    cursor: pointer;
}
.mouse:before, .mouse:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.mouse:before {
    width: 46px;
    height: 82px;
    background-color: #ffffff;
    border-radius: 100px;
}
.mouse:after {
    background-color: #a4a4a4;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    animation: trackBallSlide 5s linear infinite;
}
@keyframes colorSlide {
    0% {
   
        background-position: 0% 100%;
   }
    20% {
       
        background-position: 0% 0%;
   }
    21% {
        background-color: #4e5559;
   }
    29.99% {
        background-color: #fff;
        background-position: 0% 0%;
   }
    30% {
            
        background-color: #4e5559;
        background-position: 0% 100%;
   }
    50% {
        background-position: 0% 0%;
   }
    51% {
        
   }
    59.9% {
        
        background-position: 0% 0%;
   }
    60% {
        
        background-position: 0% 100%;
   }
    80% {
        background-position: 0% 0%;
   }
    81% {
        background-color: #4e5559;
   }
    90%, 100% {
        background-color: #fff;
   }
}
@keyframes trackBallSlide {
    0% {
      
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
    6% {
        opacity: 1;
        transform: scale(0.9) translateY(5px);
   }
    14% {
        opacity: 0;
        transform: scale(0.4) translateY(40px);
   }
    15%, 19% {
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
   }
    28%, 29.99% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
    30% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
    36% {
        opacity: 1;
        transform: scale(0.9) translateY(5px);
   }
    44% {
        opacity: 0;
        transform: scale(0.4) translateY(40px);
   }
    45%, 49% {
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
   }
    58%, 59.99% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
    60% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
    66% {
        opacity: 1;
        transform: scale(0.9) translateY(5px);
   }
    74% {
        opacity: 0;
        transform: scale(0.4) translateY(40px);
   }
    75%, 79% {
        opacity: 0;
        transform: scale(0.4) translateY(-20px);
   }
    88%, 100% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
   }
}
@keyframes nudgeMouse {
    0% {
        transform: translateY(0);
   }
    20% {
        transform: translateY(8px);
   }
    30% {
        transform: translateY(0);
   }
    50% {
        transform: translateY(8px);
   }
    60% {
        transform: translateY(0);
   }
    80% {
        transform: translateY(8px);
   }
    90% {
        transform: translateY(0);
   }
}
@keyframes nudgeText {
    0% {
        transform: translateY(0);
   }
    20% {
        transform: translateY(2px);
   }
    30% {
        transform: translateY(0);
   }
    50% {
        transform: translateY(2px);
   }
    60% {
        transform: translateY(0);
   }
    80% {
        transform: translateY(2px);
   }
    90% {
        transform: translateY(0);
   }
}
@keyframes colorText {
    21% {
        color: #4e5559;
   }
    30% {
        color: #fff;
   }
    51% {
        color: #4e5559;
   }
    60% {
        color: #fff;
   }
    81% {
        color: #4e5559;
   }
    90% {
        color: #fff;
   }
}
.popup.contact-us {
    transform: translate3d(80vw, 0, 0px);
}

.popup.register {
    transform: translate3d(-110vw, 0vh, 0px);
    border-radius: 0 0 0px 120px;
}

.popup.contact-us.active {
    transform: translate3d(0, 0, 0);
}

.popup.contact-us.register {
    transform: translate3d(-80vw, 0, 0px);
}

.popup.register.active {
    transform: translate3d(0, 0, 0);
}

@media only screen and (max-width: 600px) {
   .popup.contact-us{
      transform: translate3d(0, 100vh, 0px);
   }
   .popup > svg{
      display: none;
   }
   .section-two > svg{
      transform: scale3d(1.8, 1.8,1) rotate(90deg) translate(26px, -12px);
   }
   .section-one > svg{
      width: calc(100% - 30px);
   }
   .popup.register{
      transform: translate3d(0, 100vh, 0px);
   }
    .popup{
        width: 100%;
        padding: 110px 12px 20px;
        top: 0;
        height: 100%;
        border-radius: 0;
        overflow-y: auto;
        opacity: 1;
        border: 0;
        border-radius: 0 !important;
    }
    .section-one #panafor{
        transform: scale(2.5);
    }
    p.main-title{
        font-size: 40px;
        text-align: center;
        padding: 0 16px;
    }
  .section-two .btns{
      
/* display: flex; */
      
/* flex-direction: column; */
      
width: 90%;
  }
    .section-two .btns button:nth-child(1) {
    /* border-radius: 50px 50px 0 0; */
}
.section-two .btns button:nth-child(2) {
    /* border-radius: 0 0 50px 50px; */
}
    .section-two .btns button{
        height: 50px;
        flex: 1 1;
        max-width: 50%;
        font-size: 14px;
    }
    .popup .close{
        transform: scale(0.7);
        left: 20px;
        top: 20px;
    }
    .popup .label{
        height: 60px;
        width: 150px;
        top: 20px;
        right: 0;
    }
    .popup form{
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .popup form > div{
        gap: 20px;
    }
    .popup form > div .field input{
        height: 50px;
        padding: 10px;
    }
    .input-file{
        height: 50px;
        font-size: 14px;
    }
    .popup .title{
        font-size: 14px;
    }
    .popup form input[type=submit]{
        position: relative;
        bottom: 0;
        width: 100%;
        height: 50px;
    }
   .popup.contact-us.active{
      transform: translate3d(0px, 0, 0px) !important;
      opacity: 1;
      visibility: visible;
      border: 0;
   }
  }