body {
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    transition: background-color 0.6s ease-out;
    background-color: rgb(246,247,248,1);
    display: flex;
    justify-content: center;
}

html {
    -webkit-tap-highlight-color: transparent;
  }

.rotate-message {
    display: none;
    font-size: clamp(1rem, 0.446rem + 2.768vw, 2.938rem);
}

.main-frame-div {
    width: 100%;
    max-width: 1440px;
    position: relative;
}

.under-frame-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #2a4872;
    background: linear-gradient(180deg, #315e9e, #2a3647);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3971c0, #293d58);
    cursor: pointer;
  }

:root {
    --logo-color: #2a3647; 
    --highlight-color: #29abe2; 
}

.path1, .path2, .path4, .path5, .path6 {
    fill: var(--logo-color);
}

.path3 {
    fill: var(--highlight-color); 
}


.j-logo-img {
    width: 274px;
    height: 334.07px;
    object-fit: cover;
    object-position: center;
    opacity: 0; 
    transition: opacity 0.2s ease; 
}

.start-position {
    position: absolute;
    top: 51%;
    left: 49%;
    transform: translate(-51%, -49%);
    opacity: 1; 
}

.animate-logo {
    position: absolute;
    top: 51%;
    left: 49%;
    animation: logoShrink 0.7s ease forwards;
    animation-delay: 0.2s;
}

@keyframes logoShrink {
    0% {
        width: 274px;
        height: 334.07px;
        transform: translate(-51%, -49%) scale(1);
    }
    100% {
        width: 100.03px;
        height: 121.97px;
        transform: translate(0, 0) scale(1);
        top: 80px;
        left: 77px;
    }
}

.sign-up-div {
    width: 100%;
    height: 120px;
}

.sign-up-under-div {
    margin-left: 71%;
    margin-top: 67px;
    display: flex;
    align-items: center;
    gap: 35px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.sign-up-button-a {
    width: 91px;
    height: 49px;
}

.sign-up-button {
    width: 91px;
    height: 49px;
    border: none;
    color: rgba(255,255,255,1);
    background-color: rgba(42, 54, 71, 1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration:none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sign-up-button:hover {
    background-color: rgba(41, 171, 226, 1);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.sign-up-button:active {
    background-color:  rgba(42, 54, 71);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.log-in-div {
    width: 652px;
    height: 493px;
    margin-top: 140px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.log-in-header {
    font-size: clamp(2.938rem, 2.54rem + 1.413vw, 3.813rem);
    font-weight: 700px;
    margin-bottom: 15px;
    margin-top: 40px;
}

.divider {
    width: 25%;
    height: 3px;
    background-color: rgba(41, 171, 226, 1);
}

.input-main-div {
    width: 70%;
    height: 196px;
    margin-top: 32px;
}

.log-input {
    height: 48px;
    width: 100%;
    padding-left: 4.7%;
    font-size: clamp(1.125rem, 1.089rem + 0.179vw, 1.25rem);
    font-weight: 400;
    color: black;
    border: solid 1px rgb(209, 209, 209);
    border-radius: 10px;
    outline: none;
    display: flex;
    align-items: center;
}

.log-input.input-error {
    border: solid 1px rgba(255, 0, 31, 1);
}

.log-input:focus {
    outline: none;
    border: solid 1px  rgba(41, 171, 226, 1); 
}

::placeholder {
    color: rgb(209, 209, 209);
    font-size: 20px;
    font-weight: 400;
}

.email-input-div {
    width: 100%;
    height: 48px;
    margin-bottom: 12px;  
    display: flex;
    align-items: center;
    position: relative;
}

.mail-Img {
    width: 24px;
    position: absolute;
    right: 4.3%;
    top: 11.640px;
}

.email-error-msg-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.incorrect-email-format {
    margin-bottom: 10px;
    margin-left: 1.5%;
    font-size: clamp(0.75rem, 0.732rem + 0.089vw, 0.813rem);
    color: rgba(255, 129, 144, 1);
    opacity: 0;
}

.not-registered-msg {
    margin-bottom: 10px;
    font-size: clamp(0.75rem, 0.732rem + 0.089vw, 0.813rem);
    color: rgba(255, 129, 144, 1);
    opacity: 0;
}

.password-input-div {
    width: 100%;
    height: 48px;
    margin-bottom: 12px; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.password-input-div .log-input {
    font-size: clamp(1rem, 0.929rem + 0.357vw, 1.25rem);
    vertical-align:text-bottom; 
}

.password-Img {
    width: 24px;
    position: absolute;
    right: 4.1%;
    top: 11.640px;
}

.password-Img-eye-of {
    width: 24px;
    position: absolute;
    right: 20px;
    top: 11.640px;
    display: none;
    cursor: pointer;
}

.password-Img-eye-on {
    width: 24px;
    position: absolute;
    right: 20px;
    top: 11.640px;
    display: none;
    cursor: pointer;
}

.hidden-input-messages-div {
     display: flex;
     justify-content: space-between;
}

.error-input-message {
    margin-bottom: 20px;
    margin-left: 1.5%;
    font-size: clamp(0.75rem, 0.732rem + 0.089vw, 0.813rem);
    color: rgba(255, 129, 144, 1);
    opacity: 0;
}

.forgot-password-message {
    margin-bottom: 20px;
    margin-right: 1.5%;
    cursor: pointer;
    font-size: clamp(0.75rem, 0.732rem + 0.089vw, 0.813rem);
    color: rgba(41, 171, 226, 1);
    text-decoration: none;
    opacity: 0;
}

.forgot-password-message:active {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.remember-box-div {
    width: 231px;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.r-box-input {
    margin-left: 40px;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-image: url(../assets/icons/check-box-normal.svg);
    background-color: rgba(255, 255, 255,1);
    cursor: pointer;
    transition: transform 0.1s ease, background-image 0.1s ease;
}

.r-box-input:hover {
    border: none;
    outline: none;
    background-color: rgb(237, 242, 250,1);
    transform: translate(0.5px, 0.5px);
    background-image: url(../assets/icons/check-box-normal-hover.svg);
} 

.r-box-input:active {
    transform: translate(0.5px, 0.5px);
    border: none;
    outline: none;
}

.r-box-input:checked {
    border: none;
    outline: none;
    background-image: url(../assets/icons/check-box-checked.svg);
}

.r-box-input-input:checked:hover {
    border: none;
    outline: none;
    background-color: rgb(237, 242, 250,1);
    background-image: url(../assets/icons/check-box-checked-hover.svg);
}

.r-box-input-input:focus {
    outline: none; 
    border: none;
}
.r-box-label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
}

.log-in-buttons-div {
    width: 322px;
    height: 48px;
    margin-top: 30px;
    margin-left: 50px;
    display: flex;
    gap: 35px;
    cursor: pointer;
    
}

.log-in-button {
    width: 110px;
    height: 48px;
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,1);
    background-color: rgba(42, 54, 71, 1);
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.log-in-button:hover {
    background-color: rgba(41, 171, 226, 1);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.log-in-button:active {
    background-color:  rgba(9, 25, 49,1);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.guest-log-in-button {
    width: 175px;
    height: 44px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(42, 54, 71, 1);
    border-radius: 8px;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px rgb(68, 88, 101);
    border-top: solid 2px rgb(130, 152, 166); 
    border-bottom: solid 2px rgb(130, 154, 168);
    cursor: pointer;
}

.guest-log-in-button:hover {
    border: solid 1px rgba(41, 171, 226, 1);
    border-top: solid 2px rgba(41, 171, 226, 1); 
    border-bottom: solid 2px rgba(41, 171, 226, 1);
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: rgba(41, 171, 226, 1);
}

.guest-log-in-button:active {
    color: rgba(9, 25, 49,1);
    border: solid 1px rgba(9, 25, 49,1);
    border-top: solid 2px rgba(9, 25, 49,1); 
    border-bottom: solid 2px rgba(9, 25, 49,1);
    background-color:rgba(255,255,255,1);;
    box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

footer {
    width: 100%;
    height: 35px;
    gap: 8px;
    position: absolute;
    top: unset;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.footer-element-left {
    font-size: 16px;
    font-weight: 400;
    color: rgb(168, 168, 168);
    text-decoration: none;
    cursor: pointer;
}

.footer-element-right {
    font-size: 16px;
    font-weight: 400;
    color: rgb(168, 168, 168);
    text-decoration: none;
    margin-left: 8px;
    cursor: pointer;
}

.footer-element-right:hover {
    color: rgba(41, 171, 226, 1);
}

.footer-element-left:hover {
    color: rgba(41, 171, 226, 1);
}