* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-attachment: fixed;
    overflow-x: hidden;
}

#menuToggle {
    position: fixed;
    top: 22px;
    left: 50px;
    font-size: 24px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

#menuToggle i {
    transition: transform 10s;
    color: rgba(216, 27, 96, 1);
}

#menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #d7e3eb;
    border-bottom: 1px solid #ccc;
    padding: 25px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#menu.show {
    display: flex;
    justify-content: center;

}

#menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#menu ul li {
    padding-right: 25px;
    margin-left: 30px;
}

#menu ul li a {
    text-decoration: none;
    color: rgba(216, 27, 96, 1);
    font-family: 'Kodchasan', sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.2s;
}

#menu ul li a:hover {
    color: #e6a4c8;
}

.language-switcher {
    position: fixed;
    top: 22px;
    right: 30px;
    z-index: 9999;
}

.language-switcher a {
    display: inline-block;
    padding: 4px 8px;
    margin-left: 5px;
    background: #D81B60;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-family: sans-serif;
    z-index: 2;
}

.language-switcher a:hover {
    background: #ff8da6;
}

.page_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    z-index: 10;
}

.pageLogo {
    position: absolute;
    max-width: 195px;
    height: 97px;
    right: 550px;
    top: 10px;
    z-index: 10;
}

/* .back-button {
    position: fixed;
    top: 22px;
    left: 15px;
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background: #D81B60;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 9999;
}

.back-button:hover {
    background: #ff8da6;
}*/

.about_me {
    position: relative;
    right: 5rem;
    display: flex;
    justify-content: flex-end;
    top: 12rem;
    font-size: 4rem;
    font-family: 'Kodchasan', sans-serif;
    font-style: italic;
    color: #D81B60;
}   

.my_background {
    position: relative;
    top: -20rem;
    font-size: 3rem;
    font-family: 'Kodchasan', sans-serif;
    text-align: left;
    left: 11rem;
    font-weight: 100;
}

.my_backgroundPL {
    position: relative;
    top: -20rem;
    font-size: 3rem;
    font-family: 'Kodchasan', sans-serif;
    text-align: left;
    left: 1rem;
    font-weight: 100;
}

.my_path {
    position: relative;
    top: -27rem;
    font-size: 5rem;
    font-family: 'Kodchasan', sans-serif;
    text-align: left;
    font-weight: 50;
    left: 12rem;
}

.my_pathPL {
    position: relative;
    top: -27rem;
    font-size: 3rem;
    font-family: 'Kodchasan', sans-serif;
    text-align: left;
    font-weight: 50;
    left: 5rem;
}


.mainText1 {
    position: relative;
    width: 550px;
    text-align: left;
    font-family: 'Kodchasan', sans-serif;
    font-size: 17px;
    font-weight: 500;
    left: 45rem;
    top: -33rem;
}

.mainText2 {
    position: relative;
    width: 750px;
    text-align: left;
    font-family: 'Kodchasan', sans-serif;
    font-size: 17px;
    left: 2rem;
    top: -16rem;
}

.mainText3 {
    position: relative;
    top: -25rem;
    width: 600px;
    left: 5rem;
    text-align: left;
    font-family: 'Kodchasan', sans-serif;
    font-size: 17px;
    margin-bottom: -18rem;
}

.portrait1 {
    position: relative;
    width: 500px;
    height: 750px;
    left: 100px;
    /* border-radius: 45%;
    object-fit: cover; */
    /* transform: scaleX(-1); */
    top: 4rem;
}

.portrait2 {
    position: relative;
    width: 500px;
    height: 650px;
    top: 20rem;
    left: 51rem;
    border-radius: 45%;
    object-fit: cover;
}

.portrait3 {
    position: relative;
    width: 500px;
    height: 750px;
    top: 24rem;
    left: 48rem;
    border-radius: 40%;
    object-fit: cover;
    top: 18rem;
}

.floating-words {
    position: relative;
    width: 100%;
    height: 160px;
}

.floating-words span {
    position: absolute;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    opacity: 0.4;
}

.fw1 {
    top: -12rem;
    left: 30%;
    font-size: 120px;
}

.fw2 {
    left: 7%;
    font-size: 150px;
}

.fw3 {
    top: -3rem;
    left: 70%;
    font-size: 130px;
}

.fw4 {
    top: 15rem;
    left: 50%;
    font-size: 110px;
}

.second_part {
    margin-top: -38rem;
    margin-bottom: 15rem;
}

.third_part {
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(255, 253, 253);
    overflow: hidden;
    filter: blur(15px) brightness(1) contrast(0.8) saturate(1.2) hue-rotate(15deg);
    z-index: -1;
}

@media (min-width: 1400px){
    .pageLogo{
        margin-right: 12.5rem;
    }
    
    .about_me {
        right: 15rem;
    }

    .my_background, .my_path{
        left: 20rem;
    }

    .my_backgroundPL{
        left: 7rem;
    }

    .my_pathPL{
        left: 21rem;
        margin-bottom: 1rem;
    }

    .portrait1{
        left: 18rem;
        box-shadow: 0 0 20px black;
    }

    .portrait2{
        left: 67rem;
    }

    .portrait3{
        left: 65rem;
    }

    .mainText1{
        left: 58rem;
        font-size: 20px;
        width: 700px;
    }

    .mainText2{
        left: 10rem;
    }

    .mainText3{
        left: 10rem;
        width: 700px;
    }
}

@media (max-width: 1024px) {
    #menuToggle {
        top: 15px;
        left: 15px;
        font-size: 22px;
    }

    #menu {
        display: none;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(253, 213, 223, 0.98);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #menu.show {
        display: flex;
    }

    #menu ul {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 10rem;
    }

    #menu ul li {
        margin: 0;
        padding: 0;
    }

    #menu ul li a {
        text-decoration: none;
        color: rgba(216, 27, 96, 1);
        font-family: 'Kodchasan', sans-serif;
        font-weight: bold;
        font-size: 20px;
    }

    .language-switcher {
        position: fixed;
    }

    .page_logo {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px 0 0 40px;
        left: 1rem;
    }

    .pageLogo {
        position: static;
        max-width: 150px;
        height: auto;
    }

    .page_logo a {
        z-index: 1002;
    }

    .portrait1 {
        top: -5rem;
        width: 400px;
        height: auto;
        left: 3rem;
    }

    .portrait2 {
        width: 500px;
        height: auto;
        left: 35rem;
        top: 17rem;
    }

    .portrait3 {
        top: 20rem;
        width: 450px;
        height: 650px;
        left: 1.5rem;
    }

    .floating-words {
        margin-bottom: 10rem;
    }

    .second_part {
        margin-top: -35rem;
        margin-bottom: 2rem;
    }

    .about_me {
        top: 4rem;
        font-size: 3rem;
        width: 450px;
        left: 33rem;
    }

    .mainText1 {
        top: -31rem;
        left: 32rem;
    }

    .my_background {
        margin-top: 2rem;
        left: 4rem;
    }

    .my_backgroundPL {
        margin-top: 2rem;
        left: 3rem;
        margin-bottom: -2rem;
    }

    .my_path {
        margin-top: 4rem;
        left: 38rem;
        font-size: 4rem;
    }

    .my_pathPL {
        left: 38rem;
        font-size: 3rem;
        width: 400px;
        margin-top: 3rem;
    }

    .mainText2 {
        left: 3rem;
        width: 500px;
    }

    .mainText3 {
        left: 33rem;
        width: 30rem;
    }

    .fw2 {
        margin-top: 4rem;
    }

}



@media (max-width: 768px) {
    .language-switcher {
        position: fixed;
    }

    .page_logo {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px 0 0 40px;
        left: 1rem;
    }

    .pageLogo {
        position: static;
        max-width: 150px;
        height: auto;
    }

    .page_logo a {
        z-index: 1002;
    }

    .portrait1 {
        top: .5rem;
        width: 300px;
        height: auto;
        left: 2rem;
    }

    .portrait2 {
        width: 300px;
        height: 500px;
        left: 28.5rem;
        top: 24rem;
    }

    .portrait3 {
        top: 16rem;
        width: 350px;
        height: 550px;
        left: 1.5rem;
    }

    .floating-words {
        margin-bottom: 10rem;
    }

    .second_part {
        margin-top: -35rem;
        margin-bottom: 2rem;
    }

    .about_me {
        top: 3rem;
        font-size: 2rem;
        width: 300px;
        left: 21rem;
    }

    .mainText1 {
        top: -24rem;
        left: 22.5rem;
        font-size: 0.9rem;
        width: 400px;
    }

    .my_background {
        margin-top: 11rem;
        margin-bottom: -2rem;
        left: 4rem;
        font-size: 2rem;
    }

    .my_backgroundPL {
        margin-top: 10rem;
        left: 3rem;
        margin-bottom: -2.5rem;
        font-size: 2rem;
    }

    .my_path {
        margin-top: 8rem;
        left: 32rem;
        font-size: 2rem;
    }

    .my_pathPL {
        left: 29rem;
        font-size: 2rem;
        width: 300px;
        margin-top: 8.5rem;
    }

    .mainText2 {
        left: 2rem;
        font-size: 0.9rem;
        width: 400px;
    }

    .mainText3 {
        left: 25rem;
        width: 22.5rem;
        font-size: 0.9rem;
    }

    .fw1 {
        left: 10rem;
    }

    .fw2 {
        left: 1rem;
        margin-top: 5rem;
    }

    .fw3 {
        left: 26rem;
    }

    .fw4 {
        left: 18rem;
        margin-top: 3rem;
    }
}


@media (max-width: 600px) {
    .page_logo {
        padding: 10px 0 0 25px;
        left: 15px;
    }

    .pageLogo {
        max-width: 100px;
    }

    .language-switcher {
        margin-right: -1rem;
        gap: 6px;
    }

    .language-switcher a {
        padding: 5px 8px;
        font-size: 13px;
    }

    .second_part {
        margin-top: 6rem;
        margin-bottom: 5rem;
    }

    /* Titles */
    .about_me {
        display: none;
    }

    .my_background {
        position: static;
        font-size: 1.5rem;
        margin-top: 3rem;
        margin-left: 7rem;
    }

    .my_backgroundPL {
        position: static;
        font-size: 1.5rem;
        margin-top: 3rem;
        margin-left: 4rem;
    }

    .my_path {
        position: static;
        font-size: 1.9rem;
        text-align: center;
        margin: 1rem 0;
    }

    .my_pathPL {
        position: static;
        font-size: 1.9rem;
        text-align: center;
        margin: 1.5rem 3.5rem;
    }

    /* Text blocks */
    .mainText1,
    .mainText2,
    .mainText3 {
        position: static;
        width: 90%;
        margin: 1rem auto;
        font-size: 16px;
        text-align: left;
    }

    /* Portraits */
    .portrait1,
    .portrait2 {
        position: static;
        width: 300px;
        height: auto;
        border-radius: 40%;
        display: block;
    }

    .portrait1{
        margin: 3rem auto -6rem auto;
    }

    .portrait2{
        margin: 2rem auto;
    }

    .portrait3 {
        position: static;
        width: 220px;
        height: 300px;
        border-radius: 45%;
        margin: 2rem auto;
        display: block;
    }

    .floating-words {
        margin-bottom: 5rem;
    }

    .floating-words span {
        position: relative;
        display: block;
        font-size: 35px;
        text-align: center;
        opacity: 0.4;
        margin: 1rem 0;
    }

    .fw1 {
        top: 0;
        left: 15%;
        font-size: 50px;
    }

    .fw2 {
        top: 0;
        left: -20%;
        font-size: 60px;
    }

    .fw3 {
        top: -1.5rem;
        left: 25%;
        font-size: 55px;
    }

    .fw4 {
        top: -2rem;
        left: -10%;
        font-size: 45px;
    }
}

@media (max-width: 430px) {
    .my_background {
        margin-bottom: 2rem;
    }

    .my_backgroundPL {
        margin-bottom: 2rem;
        text-align: center;
        margin-left: -1rem;
    }

    .my_pathPL{
        margin-left: 2rem;
    }

    .language-switcher a {
        font-size: 10px;
        padding: 3px 6px;
        margin-right: -.4rem;
    }

    .language-switcher {
        margin-top: -.4rem;
    }
}

@media (max-width: 360px){
    .my_background{
        margin-left: 3rem;
    }

    .my_backgroundPL{
        margin-left: .5rem;
        text-align: center;
    }

    .my_pathPL{
        margin-left: .7rem;
    }

    .language-switcher a{
        font-size: 10px;
        padding: 3px 6px;
        margin-right: -.4rem;
    }

    .language-switcher{
        margin-top: -.4rem;
    }
}

@media (min-width: 1440px){
    .pageLogo{
        left: 42rem;
    }

    .portrait1{
        left: 3rem;
        width: 500px;
        height: auto;
        border-radius: 0%;
    }

    .portrait2{
        margin-left: -9rem;
    }

    .portrait3{
        margin-left: -9rem;
    }

    .about_me{
        right: 10rem;
    }

    .mainText1{
        margin-left: -15rem;
    }

    .my_background{
        left: 12rem;
    }

    .my_backgroundPL{
        left: 4rem;
    }

    .my_path{
        left: 10rem;
    }

    .my_pathPL{
        left: 16rem; 
    }

    .mainText2, .mainText3{
        left: 5rem;
    }
}

@media (min-width: 1920px){
    .pageLogo{
        margin-left: 17.5rem;
        width: 800px;
        height: auto;
    }

    .language-switcher a{
        font-size: 18px;
        padding: 6px 10px;
    }

    .about_me{
        top: 13rem;
        margin-right: 3rem;
    }

    .mainText1{
        margin-top: -15rem;
        margin-left: 10rem;
        font-size: 1.8rem;
    }

    .portrait1{
        margin-left: 10rem;
        margin-top: 5rem;
        width: 650px;
    }

    .portrait2{
        top: 35rem;
        width: 900px;
        height: auto;
        left: 70rem;
    }

    .my_path{
        margin-top: -20rem;
        margin-left: 10rem;
        margin-bottom: 10rem;
    }

    .mainText2{
        margin-top: -1rem;
        font-size: 1.8rem;
        width: 900px;
    }

    .portrait3 {
        top: 30rem;
        width: 800px;
        height: auto;
        left: 75rem;
    }

    .my_pathPL {
        top: -38rem;
        margin-left: 3rem;
    }

    .mainText3 {
        width: 900px;
        margin-top: -10rem;
        font-size: 1.8rem;
    }
}

@media (min-width: 2560px){
    .pageLogo{
        left: 60rem;
        width: 500px;
        height: auto;
    }

    .language-switcher a{
        padding: 6px 10px;
        font-size: 2rem;
    }

    .back-button{
        padding: 10px 20px;
    }


    .portrait1{
        width: 800px;
        height: auto;
        left: 10rem;
    }

    .portrait2{
        margin-left: 25rem;
        margin-top: 15rem;
        width: 1100px;
        height: auto;
    }

    .portrait3{
        width: 860px;
        height: auto;
        margin-left: 28rem;
        margin-top: 10rem;
    }


    .about_me{
        right: 20rem;
        font-size: 6.5rem;
        margin-bottom: -3rem;
    }

    .my_path{
        font-size: 8rem;
        margin-top: -28rem;
        margin-bottom: -12rem;
        margin-left: 20rem;
    }

    .mainText1{
        font-size: 2rem;
        margin-left: 20rem;
        width: 1200px;
        margin-top: -25rem;
    }

    .mainText2{
        font-size: 2rem;
        width: 1200px;
    }

    .mainText3{
        font-size: 2rem;
        width: 1200px;
        margin-left: 5rem;
        margin-top: 15rem;
    }

    .my_background{
        margin-top: -20rem;
        font-size: 7rem;
        left: 5rem;
    }

    .my_backgroundPL{
        margin-top: -20rem;
        left: 6rem;
        font-size: 5rem;
    }

    .my_pathPL{
        margin-top: -15rem;
        margin-bottom: -25rem;
        font-size: 6rem;
        left: 28rem;
    }
}

@media (min-width: 375px){
    .my_background{
        margin-left: 5.5rem;
    }
}
