html, body {
    min-height: 100%;
    height: auto;
}
@keyframes flipinx {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }
  8% {
    -webkit-transform: perspective(400px) rotateX(-20deg);
    transform: perspective(400px) rotateX(-20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  12% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
    opacity: 1;
  }
  16% {
    -webkit-transform: perspective(400px) rotateX(-5deg);
    transform: perspective(400px) rotateX(-5deg);
  }
  20% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}
@keyframes swinging {
    5% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }
    10% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    15% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }
    20% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
    25% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
.custom-logo-animate {
  animation: swinging 4s 0s linear infinite;
}
.logo-wrapper{
    position: absolute;
    top:5%;
    left:50%;
    transform: translateX(-50%);
    z-index:10;
    opacity: 0;
}
.logo-img{
    width:auto;
    height:50px;
}
.d-section {
    transition-property: opacity;
    transition-duration: 1.5s;
}
.d-section-active {
    opacity: 1;
}
.d-section-inactive {
    opacity: 0;
}
#home {
    min-height: 100vh;
    width:100%;
    max-width: 555px;
    margin:0 auto;
    position: relative;
    justify-content: center;
}
#register {
    min-height: 100vh;
}
#home-ply-btn{
    position: relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.defender-icon{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}
.defender-img{
    background-image:url('../assets/defender.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width:250px;
    height:110px;
}
.margin-gap{
    margin-top:80px;
}
.margin-gap.gap{
    margin-top:20px;
}
.circle{
    position: absolute;
    background-image: url('../assets/circle.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width:100%;
    height:350px;
    left:50%;
    top:-18%;
    transform: translateX(-50%);
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin {
    100% {
        -moz-transform: translateX(-50%) rotate(360deg);
    }
}
@-webkit-keyframes spin {
    100% {
        -webkit-transform: translateX(-50%) rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: translateX(-50%) rotate(360deg);
    }
}
.top-title{
    background-image: url('../assets/title-bg.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width:calc(100% - 100px);
    height:90px;
    display:flex;
    align-items: center;
    justify-content: center;
    color:white;
    font-family: 'KasBold';
    font-size:30px;
    position: absolute;
    top:15%;
}
.signup-text{
    color:white;
    font-family: 'KasRegular';
}
.info-wrapper .info-link{
    color:var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.right-arrow{
    height:10px;
    margin-left:5px;
    width: auto;
}
.form-control:focus{
    background-color: transparent;
    outline: none;
}
/* mobile */
@media(max-width:720px){
    #home{
        width:100%;
        max-width: 100%;
    }
    #home-section{
        padding:0 60px;
    }
    .margin-gap{
        margin-top:35px;
    }
    .circle{
        top:-20%;
        height:252px;
    }
    .box-box{
        width:100%;
    }
    .defender-img{
        background-size: contain;
        height:80px;
    }
    .info-wrapper{
        font-size:14px;
    }
    .top-title{
        font-size:18px;
        top:12%;
        height:60px;
    }
    .logo-img{
        height: 30px;
    }
    .kas-btn{
        width:165px;
        height:45px;
    }
}
@media(max-width:840px) and (orientation:landscape){
    .content-gap{
        padding:0 50px 25px;
    }
    .logo-wrapper{
        top:25px;
    }
    .logo-img{
        height:30px;
    }
    .defender-img{
        background-size: contain;
        height:70px;
    }
    #home-ply-btn{
        margin-top:3rem;
    }
    .circle{
        height:230px;
    }
    .big-title{
        font-size:25px;
    }
    .margin-gap{
        margin-top:20px;
    }
    .kas-btn{
        width:165px;
        height:45px;
    }
    .top-title{
        height:60px;
        font-size: 22px;
        top:70px;
    }
    .form-wrapper{
        margin-top:10rem;
    }
    .form-control, .form-select{
        font-size:16px;
    }
    .forgotten-password{
        font-size:12px;
    }
    .input-error{
        font-size:12px!important;
    }
    .signup-text,.info-wrapper .info-link{
        font-size:12px;
    }
}
/* ipad potrait */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1) {
}
/* laptop */
@media(min-width:1200px) and (max-width:1600px) and (min-height:600px) and (max-height:800px){
    .logo-img{
        height:30px;
    }
    #home-section{
        padding:0 70px;
    }
    #home{
        max-width:450px;
    }
    .defender-img{
        width:180px;
        height:80px;
    }
    .circle{
        height:235px;
        top:-15%;
    }
    .margin-gap{
        margin-top: 50px;
    }
    .top-title{
        height:60px;
        font-size:22px;
        top:12%;
    }
    .info-wrapper{
        font-size:14px;
    }
    .kas-btn{
        width:165px;
        height:45px;
    }
}
