* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

p,
h1,
h2,
h3,
h4 {
    margin: 0;
}

.row {
    --bs-gutter-x: 0rem;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Raleway-Regular;
    color: white;
}


.footer{
    font-family: arial;
}


#success-screen {
    position: fixed;
    background-color: rgb(12 33 65 / 77%);
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #0c2141;
    display: none;
    padding: 0.5rem;
}

#success-screen .inner-box {
    background-color: #fff;
    padding: calc(2.5vh + 2.5rem) calc(2.5vw + 2.5rem);
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 55%;
    text-align: center;
    border: 2px solid #fdf48e;
    background: #3a2652;
    color: #fdf48e !important;
}

#success-screen .inner-box h2 {

    color: #fdf48e !important;
}

#success-screen .inner-box h2 {
    font-weight: 900;
    font-size: calc(0.5rem + 1.7vw);
}

#success-screen .inner-box h4 {
    font-size: 1.2rem;
}

.error {
    position: absolute;
        color: red !important;
        display: none;
        font-size: calc(0.6rem + 0.5vw) !important;
        font-weight: normal !important;
        bottom: -27px;
}



.btn-circle {
    border-radius: 50%;
    font-family: Raleway-bold;
    background: #80d3f6;
    border: 0;
    color: #ffffff;

}


button:focus {
    outline: unset;
    outline: none;
}

input:focus-visible {
    outline: unset;
    outline: none;
}

#page-1 {
    height: 100vh;
    display: flex;
}

#page-2 {
    display: none;
    height: 100vh;
}

/* page 1 */
#start_page {
    width: 100%;
}

#start_btn {
    width: 12rem;
    height: 12rem;
    font-size: calc(1.5rem + 1.5vw);
}

#start_page h1 {
    font-size: calc(1.6rem + 1.5vw);
    font-family: Raleway-bold;
    color: #ffffff;
}

.gradient_bg {
    background: rgb(102, 25, 100);
    background: linear-gradient(90deg, rgba(102, 25, 100, 1) 0%, rgba(149, 50, 146, 1) 35%, rgba(234, 53, 66, 1) 100%);
}

.footer ul {
    text-decoration: none;
    list-style: none;
    color: black;
    font-size: calc(5px + 0.4vw);
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

.footer_title{
    font-weight: bold;
    color: black;
        font-size: calc(5px + 0.4vw);
        margin: 0;
        padding: 0;
        line-height: 1.1;
}

.start_wrapper {
    position: relative;
}

.start_btn_wrapper {
    position: absolute;
    right: -29px;
    bottom: -38px;
}

.start_wrapper .start_text {
    padding-block: 8rem;
    position: relative;
}

.start_wrapper .start_text h3 {
    font-size: calc(.2rem + 1.5vw);
}

/* page-2 */
#calc_page {
    flex-grow: 1;
}

.calc_header {
    background: #80d3f6;
}

.calc_text {
    border-bottom-right-radius: 3rem 3rem;
    padding-block: 1rem;

}

.calc_text h1 {
    font-family: Raleway-bold;
    font-size:2.8rem;

}

.calc_text h3 {
    font-size: 1.7rem;

}

.calc_input_wrapper {
    border-bottom-right-radius: 3rem 3rem;
    padding-block: 2rem;
    background: #80d3f6;
    box-shadow: 209px 8px 0px 13px rgb(255 255 255)
}

.calc_btn_wrapper {
    background: #ffffff;
        box-shadow: 209px 8px 0px 13px rgb(255 255 255)
}

.calc_input_wrapper h4 {
    color: #992a88;
    font-family: Raleway-bold;
    font-size: calc(.3rem + 1.1vw);
}

.calc_input_wrapper p {
    font-size:1.1rem;
    font-family: Raleway-LightItalic;
    color: #992a88;
}

#calc_input {
    font-size: calc(1.5rem + 1.4vw);
    padding-inline: 0;
    width: 70%;
    font-weight: bold;
    font-family: Raleway-bold;
    color: #992a88;
    border: 0;
    outline: 0;
    min-height: 4rem;
    height: 50%;
    text-align: center;
}

#calc_btn {
    width: 8rem;
    height: 8rem;
    font-size: 1.4rem
}

.res_left {
    background: #80d3f6;
    color: #992a88;
}

.circle {
    border-radius: 50%;
    font-family: Raleway-bold;
    background: #fe2525;
    border: 0;
    color: #ffffff;
    width: 20vh;
    height: 20vh;
    font-size: calc(.4rem + 1vw);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.res_wrapper {
    flex-grow: 1;
}

.res_left h3 ,.res_right h3 {
    color: #992a88;
    font-family: Raleway-bold;
    font-size: 1.7rem;
    text-align: end;
    
}
.res_left h1 ,
.res_right h1 {
    color: #ffffff;
    font-family: Raleway-bold;
    font-size: calc(1.5rem + 1.3vw);

}
.left_footer ,.right_footer{
    height: 10%;
}
.left_footer p ,
.res_right p {
    color: black;
    font-size: calc(4px + 0.4vw);
    margin: 0;
    padding: 0;
    line-height: 1.1;
    
}
#reset_btn{
background: #80d3f6;
    color: #ffffff;
    font-size: 1.7rem;
        padding-block: 0.1vw;
    padding-inline: 0.9vw;
    font-family: 'Raleway-bold';
    border: 0;
    border-radius: 0.5rem;
}
.inner_circle{
    opacity: 0;
}
.rotateMessage {
    text-align: center;
    display: none;
    position: absolute;
    top: 0;
    background-color: #000000e3;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    z-index: 9999;
}

.rotateMessage-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.rotateMessage-content {
    position: relative;
    width: 100%;
    max-width: 60%;
    height: 100%;
    max-height: 42%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 25px;
}

.rotateMessage-text {
    text-align: center;
    color: #01303f;
    font-size: 27px;
    line-height: 29px;
}