*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    padding-left: 100px;
    padding-top: 100px;
    align-items: center;
    
}
#head_txt{
    font-family: "Candal", sans-serif;
    font-weight: 100;
    font-size: 3rem;
    font-style: normal;
    max-width: 580px;
}
#name_bold_color{
    color: rgb(40, 74, 145);
}
#intro_txt{
    font-family: "Carlito", sans-serif;
    font-weight: 400;
    font-size: medium;
    font-style: normal;
    max-width: 580px;
    margin-top: 10px;
    margin-bottom: 10px;

}
.sp_cont{
    display: none;
 }
.sp_cont.active, .si_cont{
    display: flex;
    flex-direction: column;
    margin-left: 450px;
    margin-top: 50px;
    padding: 20px;
    align-items: center;
    background-color: rgba(48, 83, 159, 0.877);
    border-radius: 40px;
    box-shadow: 0px 4px 12px rgba(96, 111, 142, 0.877);
    width: 400px;
    height: 500px;
}
#name_input_txt, #account_pin_input_txt, #account_id_input_txt, #email_input_txt, #email_verification_code_sp, #dob_input_sp, #gender_selection,
#sign_up_password, #amount_input_sp, #sign_up_password_confirmation, #acc_num_txt, #sign_in_password, #amount_txt{
    width: 325px;
    height: 30px;
    border-radius: 10px;
    border-style: none;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}
#sign_up_btn_sp, #email_verification_btn_sp, #password_creation_btn_sp, #sign_in_submit_btn{
    width: 200px;
    height: 35px;
    color: white;
    background-color: #FF6B00;
    border-radius: 10px;
    border-style: none;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;    
}
#email_verification_btn_sp{
    margin-bottom: 0;
}
#email_verification_sp, #email_txt_sp{
    font-size: 1.2rem;
    color: white;
}
#email_verification_code_sp{
    margin-top: 20px;
}
#already_have_an_account{
    color: white;
}
#sign_in_link{
    text-decoration: none;
    color: #FF6B00;
}
.logo_cont_sp{
    margin-top: 15px;
    margin-bottom: 30px;
    width: 200px;
    height: 80px;
    overflow: hidden;
}
.logo_cont_sp img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.container{
    display: none;
}
.container.active{
    display: flex;
}
#get_started_btn{
    width: 150px;
    height: 40px;
    margin-top: 50px;
    margin-left: 90px;
    color: white;
    background-color: rgba(48, 83, 159, 0.877);
    border-style: none;
    border-radius: 25px;
    font-family: "Aleo", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: medium;
    font-style: oblique;  
}
#get_started_btn:hover{
    transition: 0.3s;
    box-shadow: 0px 4px 12px rgba(68, 127, 255, 0.877) ;
}
#sign_in_btn{
    background-color: white;
    width: 150px;
    height: 40px;
    margin-top: 50px;
    margin-left: 30px;
    color: rgb(0, 0, 0);
    border-style: none;
    border-radius: 25px;
    font-family: "Aleo", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: medium;
    font-style: oblique;

}
#sign_up_container2{
    width: 700px;
    height: 300px;
    margin-left: 315px;
}
#welcome_container{
    display: flex;
    gap: 16px;
}
.welcome_cont{
    flex: 1;
}
#img_container{
    width: 600px;
    height: 600px;
    margin-right: 100px;
    overflow: hidden;
}
#img_container img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.features{
    margin-top: 30px;
}
.feature-item{
    list-style: none;
    margin-left: 80px;
    font-family: "Carlito", sans-serif;
    font-weight: 400;
    font-size: medium;
    font-style: normal;
    line-height: 1.3cm;
}
#sign_up_container3, #sign_in_container{
    height: 350px;
}
.error_sp{
    color: red;
}

@media (max-width: 1100px){
    body{
        padding: 48px 32px;
    }
    #welcome_container{
        align-items: center;
    }
    #head_txt{
        font-size: 2.5rem;
    }
    #img_container{
        width: min(45vw, 500px);
        height: auto;
        aspect-ratio: 1;
        margin-right: 0;
        flex-shrink: 0;
    }
    .sp_cont.active, .si_cont{
        margin-left: auto;
        margin-right: auto;
    }
    #sign_up_container2{
        width: min(700px, 100%);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px){
    body{
        padding: 24px 18px;
    }
    #welcome_container{
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .welcome_cont{
        width: 100%;
    }
    #head_txt{
        max-width: none;
        font-size: 2.2rem;
        line-height: 1.15;
    }
    #intro_txt{
        max-width: none;
        line-height: 1.5;
    }
    #img_container{
        width: 100%;
        max-width: 460px;
        align-self: center;
    }
    .feature-item{
        display: flex;
        align-items: center;
        gap: 14px;
        margin-left: 0;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    .feature_icon{
        width: 32px;
        flex: 0 0 32px;
        text-align: center;
    }
    #get_started_btn, #sign_in_btn{
        margin: 20px 8px 0 0;
    }
    .sp_cont.active, .si_cont{
        width: min(400px, 100%);
        height: auto;
        min-height: 350px;
        margin: 20px auto;
        padding: 20px 16px;
        border-radius: 24px;
    }
    #name_input_txt, #account_pin_input_txt, #account_id_input_txt, #email_input_txt,
    #email_verification_code_sp, #dob_input_sp, #gender_selection, #sign_up_password,
    #amount_input_sp, #sign_up_password_confirmation, #acc_num_txt, #sign_in_password,
    #amount_txt{
        width: 100%;
        max-width: 325px;
    }
    #sign_up_container2{
        height: auto;
    }
    #email_verification_sp{
        text-align: center;
        line-height: 1.4;
    }
    #sign_up_container3, #sign_in_container{
        height: auto;
    }
}

@media (max-width: 380px){
    #get_started_btn, #sign_in_btn{
        width: calc(50% - 8px);
        margin-right: 0;
        font-size: 0.9rem;
    }
    .feature-item{
        font-size: 0.95rem;
    }
    .logo_cont_sp{
        max-width: 100%;
    }
}