*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* transition: width 0.3s ease-in-out; */
}
html{
    scroll-behavior: smooth;
}

:root{
    font-size: 10px;
    
}

.braah-one-regular {
    font-family: "Braah One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  

.protest-strike-regular {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
  }
  
  .noto-sans-lao-looped-normal {
    font-family: "Noto Sans Lao Looped", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }
  body{
    background-image: url(./assets/img/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    min-width: 280px;
}

main{
    width: 100%;
    height: 100%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    text-align: center;

}
h1{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 1);
    text-shadow: 2px 0px 0px #a44af8, 
    3px 2px 0px #b163f1, 
    3px 0px 3px #b660f0, 
    5px 0px 3px #b268eed0, 
    6px 0px 9px #b877f5, 
    8px 0px 9px #ab74f3, 
    9px 0px 18px #ab74f3, 
    11px 0px 18px #ab74f3;
}
.main-text{
    font-size: 4rem;
    width: 900px;
    border: 5px solid #e99924;
    padding: 15px 5px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 1);


}

.h1-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 200px;
}
.h1-bg{
    background: #9b8a6d61;
    border-radius: 10px;
    margin: 5px 0;
}
.btn{
    height: 70px;
    width: auto;
    padding: 0 40px;
    font-size: 2rem;
    border: 3px solid #e99924;
    background: linear-gradient(0deg, rgba(138,17,19,1) 0%, rgba(200,16,17,1) 47%, rgba(136,15,19,1) 100%);
    text-transform: uppercase;
    vertical-align: middle;
    color: #e7e7e7;
}
.hide{
    display: none !important;
}
*:disabled{
    cursor: not-allowed;
}
.btn-wrapper{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}
.btn-wrapper .btn{
    margin: 0;
}


button.not-btn{
    cursor: context-menu;
    margin: 0;
}

button.not-btn:hover{
    border: 3px solid #e99924;
    color: #e7e7e7;
}

.btn:hover{
    border: 3px solid #7e6819;
     ;
    
}
.result{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 20px 0;
}

.lantern-right{
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    width: 450px;
    height: 600px;
    border-radius: 0 0 0 10px;
}
img[alt="cloud-1"]{
    position: fixed;
    z-index: -2;
    top: -70px;
    left: -250px;
    width: 600px;
    height: 350px;
    animation: moveClouds1 20s linear infinite;
}
img[alt="cloud-2"]{
    position: fixed;
    z-index: -1;
    bottom: 0;
    right: 0;
    width: 450px;
    height: 250px;
    animation: moveClouds2 30s linear infinite;
}
img[alt="cloud-3"]{
    position: fixed;
    z-index: -2;
    bottom: 100px;
    left: 0;
    width: 450px;
    height: 250px;
    animation: moveClouds3 40s linear infinite;
}

@keyframes moveClouds1 {
    0% { transform: translateX(-100%) rotateY(180deg); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%) rotateY(180deg); opacity: 0;}
  }
@keyframes moveClouds2 {
    0% { transform: translateX(100%); opacity: 1;}
    90% { opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0;}
  }
@keyframes moveClouds3 {
    0% { transform: translateX(-100%) rotateY(150deg); opacity: 1;}
    90% { opacity: 1; }
    100% { transform: translateX(100%) rotateY(150deg); opacity: 0;}
  }

.form{
    background: rgb(226 209 255 / 71%);
    border: 5px solid #e99924;
    border-radius: 20px;
    box-shadow: 3px 5px 11px 4px #c9759591;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    width: 600px;
    margin: 20px auto;
}
.result .form{
width: 600px;
height: 400px;
margin: 0;
}
.dob, .zodiacs {
    display: flex;
    width: 100%;
    gap: 5px;
}
.dob select{
    font-size: 18px;
    overflow-y: auto;
    text-align: center;
}

.dob select::-webkit-scrollbar{
    width: 12px;
}
.dob select option{
    font-size: 18px;
}
.dob select:disabled{
    background-color: #000000b7;
}
option{
    background: #fff;
    color: #000;
}
#error-message{
    width: 100%;
    margin: 5px 0;
}
#error-message p{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    text-align: right;
    padding: 0;
}
.zodiac-wrapper{
    display: block;
    width: 50%;
}
.zodiac-wrapper label{
    font-size: 1.8rem;
    margin-top: 5px;
}

.zodiac-list, .zodiac-list .form{
    width: 100%;
}

textarea{
    padding: 10px;
    font-size: 1.8rem;
}
.modal-body{
    padding: 0;
}
#edit-zodiac {
    margin-top: 30px;
}
td, th{
    font-family: "Braah One", sans-serif;
    font-weight: 400;
    font-style: normal;
}
th{
    text-transform: uppercase;
    text-align: center;
    font-size: 2.4rem;
    color: #e7e7e7;
    text-shadow: 2px 0px 0px #a875fa, 
    3px 2px 0px #8038fc, 
    3px 0px 3px #643afa,
    9px 0px 18px #6f48fc;
}
p, h2, input, select{
    font-size: 1.8rem;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    color: #fffefe;
}
label{
    font-size: 2.4rem;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: rgba(255, 255, 255, 1);
    text-shadow: 2px 0px 0px #a875fa, 
                3px 2px 0px #8038fc, 
                3px 0px 3px #643afa,
                9px 0px 18px #6f48fc;
}
.horoscope{
    padding: 20px;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    height: auto;
    min-height: 400px;
    position: relative;
    box-shadow: 3px 5px 11px 4px #00000091;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.horoscope p {
    color: #000;
    font-weight: 600;
    height: auto;
    margin: 8px 0;
}
.horoscope p::-webkit-scrollbar {
    width: 8px;
    
  }
  
  .horoscope p::-webkit-scrollbar-track {
    background-color: #f5f5f55b;
    border-radius: 10px;
  }
  
  .horoscope p::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #f5f5f5;
  }
  
  .horoscope p::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }
#stellar-horoscope p{
    color: #fff;
    font-weight: 400;
}
#stellar-horoscope p, .horoscope p {
    font-size: 1.1rem;
    text-transform: none;
    /* position: absolute;
    top: 220px;
    left: 10px;
    transform: translate(28px, 0); */
    text-shadow: none;
    text-align: justify;
    width: 90%;
    height: 150px;
    display: block;
    overflow: auto;
}
#chinese-horoscope{
    background-image:  url(./assets/img/Chinese.webp);
}
#stellar-horoscope{
    background-image: url(./assets/img/Stellar.webp);
}
input, select, textarea{
    border: 2px solid rgb(106 39 155 / 79%);
    background: #42404065 !important;
    color: #e7e7e7 !important;
    width: 100%;
}
input{
    padding: 5px;
    
}
#month, #year{
    text-align: center;
}

input::placeholder{
    color: #e7e7e7;
    font-size: 18px;
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#result h2{
    justify-content: center;
    font-size: 4rem;
    margin: 10px 0;
    color: #fff;
    text-shadow: 2px 0px 0px #a875fa, 
    3px 2px 0px #8038fc, 
    3px 0px 3px #643afa,
    9px 0px 18px #6f48fc;

}

#result p{
    text-transform: capitalize;
    font-size: 2.1rem;
    width: 100%;
    margin: 0;
    color: #fff;
    text-shadow: 2px 0px 0px #a875fa, 
    3px 2px 0px #8038fc, 
    3px 0px 3px #643afa,
    9px 0px 18px #6f48fc;


}

span{
    width: 50%;
    text-transform: uppercase;
    margin-left: 20px;
}
.title{
    margin-left: 0;
    margin-right: 20px;
}

.logo{
    width: 200px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 30px auto;
}
.livechat_button img{
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
}
#message p{
    display: inline;
    text-transform: none;
    font-size: 2rem;
    text-align: justify;
    color: rgb(255, 255, 255);
  text-shadow: -1px -1px 1px rgba(99, 75, 119, 0.2), 
               1px 1px 1px rgba(78, 12, 104, 0.6);

}
#message p:first-child{
    text-align: center;
    font-size: 2.3rem;
    font-weight: 600;
}
#message p span {
    width: auto;
    margin-left: 0;
}
#message p #accnt-name{
    font-weight: 600;
}

@media (max-width: 1550px) {
    .horoscope p {
        font-size: 1.1rem;
    }
}
@media (max-width: 1501px) {
    #result p{
        font-size: 1.8rem;
    }
    /* #stellar-horoscope p, .horoscope p {
        width: 90%;
        transform: translate(5px, 0);
    } */
}
@media (max-width: 1303px) {
    #result h2{
        font-size: 3rem;
    }
    #result p{
        text-transform: capitalize;
        font-size: 1.8rem;   
        width: 100%;
        
    }
    .lantern-right{
        width: 350px;
        height: 500px;
    }
    img[alt="cloud-1"]{
        top: 30px;
        left: -100px;
        width: 400px;
        height: 250px;
    }
    img[alt="cloud-2"]{
        bottom: 0;
        right: 0;
        width: 350px;
        height: 180px;
    }
    img[alt="cloud-3"]{
        bottom: 100px;
        left: 0;
        width: 300px;
        height: 150px;
    }

    #stellar-horoscope p, .horoscope p {
        font-size: 1rem;
        /* width: 90%;
        transform: translate(5px, 0); */
    }
    #start-btn{
        margin-bottom: 200px;
    }
} 
@media (max-width: 1197px) {
    .main-text{
        width: 600px;
    }

    main{
        max-width: 95%;
    }
    .result .form{
        width: 500px;
    }
    
    .result{
        gap: 10px;
    }
    img[alt="cloud-1"]{
        top: 10px;
        left: -100px;
        width: 300px;
        height: 150px;

    }
    img[alt="cloud-2"]{
        bottom: 40px;
        right: 0;
        width: 250px;
        height: 150px;

    }
    img[alt="cloud-3"]{
        bottom: 100px;
        left: 0;
        width: 270px;
        height: 150px;

    }
    #result p{
        font-size: 1.6rem;   
    }
    .horoscope p {
        margin: 0;
        margin-bottom: 13px;
    }
} 
@media (max-width: 1030px) {
    .result .form{
        width: 350px;
        height: 400px;
        padding: 10px;
    }
    #result h2{
        font-size: 2rem;
    }
    #result p{
        font-size: 1.3rem;   
    }
    .result{
        gap: 10px;
    }
    .horoscope{
        width: 300px;
        height: 300px;
        padding: 10px;
    }
    #stellar-horoscope p, .horoscope p {
        font-size: .88rem;
        /* width: 85%;
        top: 160px;
        transform: translate(12px, 0);
        margin-bottom: 0; */
        
    }
} 

@media (max-width: 930px) {
    #result h2{
        font-size: 1.8rem;
    }
    .result{
        gap: 10px;
    }
    #result p{
        font-size: 1.1rem;   
    }
    #stellar-horoscope p, .horoscope p {
        font-size: .88rem;
        /* width: 92%;
        top: 160px;
        transform: translate(-1px, 0);
        margin-bottom: 0; */
    }
}

@media (max-width: 826px) {
    .main-text{
        font-size: 3rem;
        width: 100%;
    }
    .h1-bg{
        width: 85%;
    }
    .h1-wrapper{
        margin-top: 150px;
    }
    #result{
        order: 3;
    }
    #chinese-horoscope{
        order: 1;
    }
    #stellar-horoscope{
        order: 2;
    }

    .logo{
        width: 100px;
    }
    .form{
        width: 500px;
    }
    .result{
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    #result-main .btn-wrapper{
        margin: 0;
    }

    main{
        width: 100%;
        height: 100%; 
    }

    .result .form{
        width: 400px;
        height: auto;
        padding: 20px;
        
    }
    .horoscope{

        width: 400px;
        height: 400px;
    }

    #result h2{
        justify-content: center;
        font-size: 4rem;
        margin: 10px 0;
    }
    
    #result p{
        text-transform: capitalize;
        font-size: 1.6rem;
        width: 100%;
        margin: 0;
    }
    .lantern-right{
       display: none;
    }

    #stellar-horoscope p, .horoscope p {
        font-size: 1.2rem;
        /* width: 85%;
        top: 220px;
        transform: translate(19px, 0);
        margin-bottom: 0; */
    }
    .livechat_button img{
        width: 70px;
        height: 70px;
        position: absolute;
        bottom: -28%;
        right: 1%;
    }

    input::placeholder{
        font-size: 12px;
    }

    .dob select{
        font-size: 12px;
    }
}

@media (max-width: 549px) {
    main{
        margin-bottom: 100px;
    }
    .main-text{
        font-size: 3rem !important;
        width: 100%;
        margin-top: 0 !important; 
    }
    .pribon-form{
        margin-top: 0 !important;
    }
    .h1-wrapper{
        margin-top: 150px;
    }

    #error-message p{
        font-size: 12px;
    }
    .btn{
        height: 60px;
        padding: 0 40px;
        font-size: 1.8rem;
    }
    label, input, select{
        font-size: 2rem;
    }
    .zodiac-wrapper label{
        font-size: 1.4rem;
        margin-top: 5px;
    }

    .protest-strike-regular{
        font-size: 4rem;
        margin-top: 50px ;
    }
    .form{
        width: 100%;
        
    }
    .result .form{
        width: 350px;
        
    }
    .horoscope{

        width: 350px;
        height: 350px;
    }

    #stellar-horoscope p, .horoscope p {
        font-size: 1.05rem;
        /* width: 85%;
        top: 190px;
        transform: translate(15px, 0);
        margin-bottom: 0; */
    }
    #start-btn{
        margin-bottom: 0;
    }

    #result h2{
        font-size: 3rem;
    }
    #result p{
        font-size: 1.4rem;   
    }
    .result{
        flex-direction: column;
        gap: 20px;
        width: 100%;

    }
    .btn-wrapper{
        margin: 0;
    }
    img[alt="cloud-1"]{
        top: 50px;
        left: 0;
        width: 180px;
        height: 100px;

    }
    img[alt="cloud-2"]{
        bottom: 40px;
        right: 0;
        width: 250px;
        height: 150px;

    }
    img[alt="cloud-3"]{
        bottom: 200px;
        left: 0;
        width: 250px;
        height: 130px;

    }

    .livechat_button img{
        width: 70px;
        height: 70px;
        position: absolute;
        bottom: -40%;
        right: 1%;
    }
    .modal-content.form{
        padding: 20px 10px;
    }
}
@media (max-width: 473px) {
    .btn{
        height: 50px;
        padding: 0 30px;
        font-size: 1.6rem;
    }
    #result p{
        text-transform: capitalize;
        font-size: 1.4rem;
        width: 100%;
        margin: 0;
    }
    input::placeholder{
        font-size: 10px;
    }

    .dob select{
        font-size: 10px;
    }

}
@media (max-width: 398px) {
    .main-text{
        font-size: 2rem !important;
        
    }
    .h1-wrapper{
        margin-top: 80px !important;
    }
    .protest-strike-regular{
        font-size: 2rem;
        margin-top: 0 ;
    }
    .btn{
        height: 50px;
        padding: 0 30px;
        font-size: 1.4rem;
    }
    .btn-wrapper{
        gap: 10px;
    }
    #error-message p{
        font-size: 10px;

    }
    label, p, h2, input, select{
        font-size: 1.6rem;
    }
    #result h2{
        font-size: 2rem;
    }
    #result p{
        font-size: 1.3rem;   
    }

    .livechat_button img{
        width: 60px;
        height: 60px;
        position: absolute;
        bottom: -28%;
        right: 1%;
    }
    .zodiac-wrapper label{
        font-size: 1.2rem;
        margin-top: 5px;
    }
}
@media (max-width: 378px) {
    #result h2{
        font-size: 2rem;
    }
    #result p{
        font-size: 1.4rem;   
    }
    .horoscope{

        width: 300px;
        height: 300px;
    }
    .result .form{
        width: 300px;
        
    }
    label, input, select{
        font-size: 1.3rem;
    }
    span{
        margin-left: 10px;
    }

    #stellar-horoscope p, .horoscope p {
        font-size: .9rem;
        /* top: 160px;
        width: 85%;
        transform: translate(10px, 0);
        margin-bottom: 0; */
    }
    .zodiac-wrapper label{
        font-size: 1rem;
        margin-top: 5px;
    }

}
@media (max-width: 326px) {
    #result h2{
        font-size: 2rem;
    }
    #result p{
        font-size: 1.2rem;   
    }
    .horoscope{

        width: 260px;
        height: 300px;
    }
    .result .form{
        width: 260px;     
    }
    label, input, select{
        font-size: 1.3rem;
    }
    span{
        margin-left: 10px;
    }

    #stellar-horoscope p, .horoscope p {
        font-size: .85rem;
        /* width: 90%;
        transform: translate(2px, 0);
        margin-bottom: 0; */
    }

}
