/* html, body {
    min-height: 100vh;
    width: 100vw;
} */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;
    font-family: "Barlow Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 4px;
    min-width: 360px;
    overflow-y: auto;
}

.ora-button {
    transition: all 0.3s ease;
    opacity: 1;
}
.ora-button:hover {
    opacity: 0.7;
}

#logo {
    position: relative;
    width: auto;
}

#header-bar {
    background: linear-gradient(135deg, #1f5ea2, #42aeef);
}

input {
    font-family: "Barlow Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
input::placeholder, textarea::placeholder {
    color: #888;
}
input:focus, textarea:focus {
    outline: none;
}

#content {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow-y: hidden;
}

/* #create-window.popup-window{
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
} */

/* #create-window.popup-window::-webkit-scrollbar {
    display: none;
  } */

.hidden {
    display: none;
}

#check-window {
    background-color: #f5f3f0;
    position: absolute;
    top: 50%;
    left: 50%;  
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    border-radius: 6px;
    opacity: 1;
    overflow: hidden;
    animation: windowhidden 1.5s cubic-bezier(.31,.91,.57,1) 1s 1 both;
}


.sh-1 {
    animation: starthidden 1.5s cubic-bezier(.31,.91,.57,1) 1.7s 1 both;
}
.sh-2 {
    animation: starthidden 1.5s cubic-bezier(.31,.91,.57,1) 1.9s 1 both;
}
.sh-3 {
    animation: starthidden 1.5s cubic-bezier(.31,.91,.57,1) 2.1s 1 both;
}
.sh-4 {
    animation: starthidden 1.5s cubic-bezier(.31,.91,.57,1) 2.3s 1 both;
}


#check-window info {
    color: #252525;
    font-size: 14px;
}

@keyframes windowhidden {
    0% {transform: translate(-50%,100vh);opacity: 0;}
    100% {transform: translate(-50%,-50%);opacity: 1;}
}
@keyframes starthidden {
    0% {transform: translateY(50vh);opacity: 0;}
    100% {transform: translateY(0);opacity: 1;}
}

@media (max-width: 490px) {
    #logo {
        width: 71vw;
    }
}

@media (max-width: 1099px) {
    #logo {
        height: 70px;
        display: inline;
        margin: 0 0 0 6vw;
    }
    #menu-bar {
        background-color: #252525;
        height: 46px;
        width: 100%;
        overflow-y: hidden;
        overflow-x: scroll;
        transition: height 0.4s ease;
        -ms-overflow-style: none; 
        scrollbar-width: none; 
        white-space: nowrap;
    }
    .menu-bar-hidden#menu-bar {
        height: 0;
        overflow-y: hidden;
    }
    #menu-bar::-webkit-scrollbar {
      display: none; 
    }
    .header.header-link {
        display: none;
    }
    #home-account-btn {
        display: none;
    }
    .menu-link {
        /* letter-spacing: 2px; */
        text-decoration: none;
        font-size: 17px;
        margin: 0 30px;
        line-height: 46px;
        text-align: center;
        color: #f5f3f0;
        font-weight: 600;
    }
    #menu-button {
        width: 40px;
        height: 40px;
        float: right;
        margin: 18px 5vw 18px 0;
        padding: 6px 0;
        border-radius: 20px;
        transition: all 0.4s ease;
    }
    #menu-button div {
        background-color: #f5f3f0;
        height: 2px;
        width: 20px;
        margin: 5px auto;
    }
    #menu-button:hover {
        background-color: rgba(80,80,80,0.3);
    }
    #menu-account-btn {
        font-weight: bold;
        /* letter-spacing: 2px; */
        text-decoration: underline;
        float: right;
        border: none;
        /* margin-top: 13px;  */
        line-height: 70px;
        transition: all 0.3s ease;
        opacity: 1;
        color: #f5f3f0;
        font-size: 18px;
    }
    #home-logout-btn {
        display: none;
    }
    #menu-logout-btn {
        /* letter-spacing: 2px; */
        text-decoration: none;
        float: right;
        width: 96px;
        height: 38px;
        border-radius: 25px;
        border: none;
        margin-top: 6px;
        background-color: #ff914d;
        background: linear-gradient(90deg, #ff3131, #ff914d);
        text-align: center;
        line-height: 38px;
        transition: all 0.3s ease;
        opacity: 1;
        color: #f5f3f0;
        font-size: 16px;
    }
    #menu-logout-btn:hover {
        opacity: 0.7;
    }
    #content {
        padding: 30px 50px;
        min-height: max(calc(100vh - 73px), 400px);
        color: #252525;
    }
    #check-window {
        height: 400px;
        min-width: 360px;
        width: 74vw;
    }
}


@media (min-width: 1100px) {
    #header-bar {
        height: 70px;
    }
    #logo {
        height: 70px;
        width: auto;
        margin: 0 6vw;
    }
    .page-title {
        font-weight: bold !important;
        margin-bottom: 20px;
        font-size: 30px;
    }
    .header {
        display: inline-block;
        position: relative;
    }
    .header-link {
        /* letter-spacing: 2px; */
        text-decoration: underline;
        font-size: 20px;
        margin-right: 45px;
        color: #f5f3f0
    }
    .header-link.en {
        transform: translate(0,-124%);
    }
    .header-link.zh {
        transform: translate(0,-98%);
    }
    #home-logout-btn {
        /* letter-spacing: 2px; */
        text-decoration: none;
        float: right;
        width: 130px;
        height: 50px;
        border-radius: 25px;
        border: none;
        margin: 10px 6vw 10px 0;
        background-color: #ff914d;
        background: linear-gradient(90deg, #ff3131, #ff914d);
        text-align: center;
        padding: 14px 0;
        transition: all 0.3s ease;
        opacity: 1;
        color: #f5f3f0;
    }
    #home-logout-btn:hover {
        opacity: 0.7;
    }
    #home-account-btn {
        font-weight: bold;
        /* letter-spacing: 2px; */
        text-decoration: underline;
        float: right;
        border: none;
        margin: 24px 6vw 0 0;
        transition: all 0.3s ease;
        opacity: 1;
        color: #f5f3f0;
        font-size: 18px;
    }
    #menu-bar {
        display: none;
    }
    #menu-button {
        display: none;
    }
    #menu-account-btn {
        display: none;
    }
    #menu-logout-btn {
        display: none;
    }
    
    #content {
        min-height: max(calc(100vh - 70px), 700px);
        color: #252525;
    }
    #check-window {
        height: 670px;
        width: 900px;
        font-family: "Barlow Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-size: 24px;
        font-style: normal;
        letter-spacing: 2px;
        padding: 15px 50px;
    }
    #check-window h1 {
        margin: 15px 0;
    }
    #check-window p {
        font-size: 20px;
        margin: 4px 0;
    }
    #check-window label {
        margin: 8px 0;
    }
    #window-header {
        letter-spacing: 3px;
    }

    
    .coolinput {
        display: flex;
        flex-direction: column;
        width: 400px;
        position: static;
        /* transform: scale(1.3); */
    }

    .coolinput label.text {
        font-size: 1.25rem;
        color: #818CF8;
        font-weight: 700;
        position: relative;
        top: 0.5rem;
        margin: 0 0 0 7px;
        padding: 0 3px;
        background: transparent;
        width: fit-content;
        /* transform: scale(1.3); */
    }

    .coolinput input[type=text].input {
        padding: 11px 10px;
        font-size: 1rem;
        border: 2px #818CF8 solid;
        border-radius: 5px;
        background: transparent;
        /* transform: scale(1.3); */
    }

    .coolinput input[type=text].input:focus {
        outline: none;
        /* transform: scale(1.3); */
    }
}