/* burger */
.burger {
    display: none;
}
label {
    cursor: pointer;
}
.burger-icon {
    width: 100%;
    scale: 1;
    border: 0;
    margin: 0;
}
.burger-icon,
.burger-icon::before,
.burger-icon::after {   
    display: block;
    border-radius: 2px;
    height: 2.5px;
    background: var(--text-color-primary);
}
.burger-icon::before,
.burger-icon::after {
    content: "";
    position: absolute;
    width: 100%;
}
.burger-icon::before {
    top: -6px;
    right: 0;
}
.burger-icon::after {
    top: 6.5px;
    left: 0;
}
.burger-icon::before,
.burger-icon::after {
    transition-duration: 0.15s;
    transition-timing-function: linear;
}
.burger input {
    position: fixed;
    scale: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
.burger input:checked ~ .burger-icon {
    background-color: transparent;
}
.burger input:checked ~ .burger-icon::before,
.burger input:checked ~ .burger-icon::after {
    width: 32px;
}
.burger input:checked ~ .burger-icon::before {
    transform: rotate(-45deg);
    top: 0px;
}
.burger input:checked ~ .burger-icon::after {
    transform: rotate(45deg);
    top: 0px;
}

@media (max-width: 480px) {
    body{
        padding: 0 1rem;
    }
    /* banner */
    .status_logo{
        font-size: 1.25rem;
    }
    .status_text{
        font-size: 0.875rem;
    }
    .language_icon{
        height: 1.25rem;
        width: auto;
    }
    .language_text{
        display: none;
    }
    #banner{
        padding: 1.5rem 1rem;
    }
    header{
        padding: 1rem;
        height: fit-content;
    }
    /* hamburger menu */
    #logo_horizontal, #logo_horizontal img{
        display: none;
    }
    #logo{
        display: block;
    }
    #logo img{
        display: block;
        height: 2.25rem;
    }
    .burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
    }
    .nav_bar .links, #contact-btn{
        display: none;
    }
    .ham_menu_links{
        list-style-type: none;
    }
    .ham_menu_links a{
        display: block;
        text-decoration: none;
        color: var(--color-text-secondary);
        padding: 0.625rem;
        font-size: 1rem;
    }
    .ham_menu_links a:hover{
        background-color: var(--tertiary-color);
        border-radius: 5px;
    }
    #contact-btn_hamburger{
        text-decoration: none;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: 0.625rem 0;
        color: var(--text-color-secondary);
        font-size: 1.25rem;
        border-radius: 5px;
        border: none;
        font-weight: var(--font-weight-medium);
    }
    #contact-btn_hamburger:hover{
        background-color: var(--secondary-color);
    }
    body.open .ham_menu{
        max-height: 600px;
        left: 15px;
        right: 15px;
        top: calc(var(--calc-height) + 10px);
        background-color: var(--quaternary-color);
        border-radius: 15px;
        padding: 1rem;
        gap: 1.25rem;
        box-shadow: 0px 1px 2px 0px rgba(22, 22, 22, 0.10);
    }
    #resume, footer{
        margin-top: 100px;
    }
    #education, .resume_experience{
        margin-top: 50px;
    }
    /* hero */
    #hero{
        flex-direction: column;
        gap: 50px;
        padding: 0 1rem;
        margin-top: 50px;
    }
    .hero_left span{
        font-size: 1.25rem;
    }
    .hero_left h1{
        font-size: 3rem;
        line-height: 48px;
    }
    .hero_left p{
        font-size: 1.125rem;
        line-height: 24px;
    }
    #hero_cta{
        width: 100%;
        text-align: center;
    }
    .hero_right img{
        width: 100%;
    }
    /* cv */
    #resume{
        margin-top: 100px;
        flex-direction: column;
    }
    .study_title h2, .experience_title h2{
        font-size: 2rem;
    }
    .study_title i, .experience_title i{
        font-size: 2.25rem;
    }
    .license_title_header h3, .membership_title_header h3, .language_title_header h3{
        font-size: 1.5rem;
    }
    .license_title_header i, .membership_title_header i, .language_title_header i{
        font-size: 1.75rem;
    }
    .other_language{
        margin-bottom: 0;
    }
    /* education */
    .education_title h2{
        font-size: 2rem;
    }
    .education_title i{
        display: none;
    }
    /* footer */
    footer{
        padding: 1rem;
        border-radius: 15px 15px 0 0;
    }
    .footer_top_container{
        flex-direction: column;
        gap: 1.25rem;
    }
    .footer_nav_list a, .footer_nav_list li{
        font-size: 1rem;
    }
    .footer_top_container iframe{
        width: auto;
    }
    .footer_bottom_container{
        flex-direction: column;
        font-size: 1rem;
        text-align: center;
        gap: 1rem;
    }
}
/* phone-small tablet */
@media (min-width: 481px) and (max-width: 768px) {
    body{
        padding: 0 1rem;
    }
    #banner, .nav_bar, main, .footer_content{
        max-width: 700px;
        width: 100%;
    }
     /* banner */
    .status_logo{
        font-size: 1.25rem;
    }
    .status_text{
        font-size: 0.875rem;
    }
    .language_icon{
        height: 1.25rem;
        width: auto;
    }
    .language_text{
        font-size: 0.875rem;
    }
    #banner{
        padding: 1.5rem 1rem;
    }
    header{
        padding: 1rem;
        height: fit-content;
    }
    /* hamburger menu */
    #logo_horizontal, #logo_horizontal img{
        display: none;
    }
    #logo{
        display: block;
    }
    #logo img{
        display: block;
        height: 2.25rem;
    }
    .burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
    }
    .nav_bar .links, #contact-btn{
        display: none;
    }
    .ham_menu_links{
        list-style-type: none;
    }
    .ham_menu_links a{
        display: block;
        text-decoration: none;
        color: var(--color-text-secondary);
        padding: .625rem;
        font-size: 1rem;
    }
    .ham_menu_links a:hover{
        background-color: var(--tertiary-color);
        border-radius: 5px;
    }
    #contact-btn_hamburger{
        text-decoration: none;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: 10px 0;
        color: var(--text-color-secondary);
        font-size: 1.25rem;
        border-radius: 5px;
        border: none;
        font-weight: var(--font-weight-medium);
    }
    #contact-btn_hamburger:hover{
        background-color: var(--secondary-color);
    }
    body.open .ham_menu{
        max-height: 600px;
        max-width: 700px;
        left: 1rem;
        right: 1rem;
        top: calc(var(--calc-height) + 10px);
        background-color: var(--quaternary-color);
        border-radius: 15px;
        padding: 1rem;
        gap: 1.25rem;
        box-shadow: 0px 1px 2px 0px rgba(22, 22, 22, 0.10);
        box-sizing: border-box;
        @media (min-width: 735px) and (max-width: 768px) {
            max-width: 700px;
            width: 100%;
            left: auto;
            right: auto;
        }
    }
    /* hero */
    #hero{
        flex-direction: column;
        gap: 50px;
        padding: 0 1rem;
        margin-top: 50px;
    }
    .hero_left span{
        font-size: 1.25rem;
    }
    .hero_left h1{
        font-size: 3rem;
        line-height: 48px;
    }
    .hero_left p{
        font-size: 1.125rem;
        line-height: 24px;
    }
    #hero_cta{
        width: 100%;
        text-align: center;
    }
    .hero_right img{
        width: 100%;
    }
    /* cv */
    #resume{
        margin-top: 100px;
        flex-direction: column;
    }
    .resume_study_other, .resume_experience{
        max-width: 100%;
    }
    .study_title h2, .experience_title h2{
        font-size: 2rem;
    }
    .study_title i, .experience_title i{
        font-size: 2.25rem;
    }
    .license_title_header h3, .membership_title_header h3, .language_title_header h3{
        font-size: 1.5rem;
    }
    .license_title_header i, .membership_title_header i, .language_title_header i{
        font-size: 1.75rem;
    }
    .resume_experience{
        margin-top: 50px;
    }
    /* education */
    .education_item{
        max-width: 100%;
    }
    .education_title h2{
        font-size: 2rem;
    }
    .education_title i{
        display: none;
    }
    /* footer */
    footer{
        padding: 2rem 1rem;
        border-radius: 15px 15px 0 0;
    }
    .footer_top_container{
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    .footer_nav_list a, .footer_nav_list li{
        font-size: 1rem;
    }
    .footer_top_container iframe{
        width: auto;
    }
    .footer_bottom_container{
        flex-direction: column;
        font-size: 1rem;
        text-align: center;
        gap: 1rem;
    }
}
@media (min-width: 769px) and (max-width: 1024px){
    #banner, .nav_bar, main, .footer_content{
        max-width: 700px;
        width: 100%;
    }
        /* banner */
    .status_logo{
        font-size: 1.125rem;
    }
    .status_text{
        font-size: .875rem;
    }
    .language_icon{
        height: 1.25rem;
        width: auto;
    }
    .language_text{
        font-size: .875rem;
    }
    #banner{
        padding: 1.5rem 1rem;
    }
    header{
        padding: 1rem;
        height: fit-content;
    }
    /* hamburger menu */
    #logo_horizontal, #logo_horizontal img{
        display: none;
    }
    #logo{
        display: block;
    }
    #logo img{
        display: block;
        height: 2.25rem;
    }
    .burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32x;
        height: 32px;
    }
    .nav_bar .links, #contact-btn{
        display: none;
    }
    .ham_menu_links{
        list-style-type: none;
    }
    .ham_menu_links a{
        display: block;
        text-decoration: none;
        color: var(--color-text-secondary);
        padding: 0.625rem;
        font-size: 1rem;
    }
    .ham_menu_links a:hover{
        background-color: var(--tertiary-color);
        border-radius: 5px;
    }
    #contact-btn_hamburger{
        text-decoration: none;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: .625rem 0;
        color: var(--text-color-secondary);
        font-size: 1.125rem;
        border-radius: 5px;
        border: none;
        font-weight: var(--font-weight-medium);
    }
    #contact-btn_hamburger:hover{
        background-color: var(--secondary-color);
    }
    body.open .ham_menu{
        max-height: 600px;
        max-width: 700px;
        width: 100%;
        top: calc(var(--calc-height) + 10px);
        background-color: var(--quaternary-color);
        border-radius: 15px;
        padding: 1rem;
        gap: 1.25;
        box-shadow: 0px 1px 2px 0px rgba(22, 22, 22, 0.10);
        box-sizing: border-box;
    }
    #resume, footer{
        margin-top: 100px;
    }
    #education, .resume_experience{
        margin-top: 50px;
    }
    /* hero */
    #hero{
        flex-direction: column;
        gap: 50px;
        padding: 0 1rem;
        margin-top: 50px;
    }
    .hero_left span{
        font-size: 1.25rem;
    }
    .hero_left h1{
        font-size: 3rem;
        line-height: 48px;
    }
    .hero_left p{
        font-size: 1.125rem;
        line-height: 24px;
    }
    #hero_cta{
        width: 100%;
        text-align: center;
    }
    .hero_right img{
        width: 100%;
    }
    /* cv */
    #resume{
        margin-top: 100px;
        flex-direction: column;
    }
    .resume_study_other, .resume_experience{
        max-width: 100%;
    }
    .study_title h2, .experience_title h2{
        font-size: 2rem;
    }
    .study_title i, .experience_title i{
        font-size: 2.25rem;
    }
    .license_title_header h3, .membership_title_header h3, .language_title_header h3{
        font-size: 1.5rem;
    }
    .license_title_header i, .membership_title_header i, .language_title_header i{
        font-size: 1.75rem;
    }
    .resume_experience{
        margin-top: 50px;
    }
    /* education */
    .education_item{
        max-width: 100%;
    }
    .education_title h2{
        font-size: 2rem;
    }
    .education_title i{
        display: none;
    }
    /* footer */
    footer{
        padding: 1rem 0;
    }
    .footer_top_container{
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer_nav_list a, .footer_nav_list li{
        font-size: 1rem;
    }
    .footer_top_container iframe{
        width: auto;
    }
    .footer_bottom_container{
        flex-direction: column;
        font-size: 1rem;
        text-align: center;
        gap: 1rem;
    }
}
@media (width > 1024px) and (width < 1250px) {
    body{
        padding: 0 1.25rem;
    }
    #hero{
        gap: 3.75rem;
    }
    /* main */
    #resume{
        gap: 1.5rem;
    }
    .education_item{
        flex: 1 1 calc(50% - 25px);
    }
    /* footer */
    footer{
        padding: 2.25rem 1rem;
        border-radius: 15px 15px 0 0;
    }
    .footer_nav_list a, .footer_nav_list li{
        font-size: 1rem;
    }
    .footer_logo{
        height: 100px;
    }
    .footer_bottom_container{
        font-size: 1rem;
        gap: 1rem;
    }
}