.about-intro-text > p {
    margin-top: 32px;
}

.about-intro-text {
    width: 50%;
}

.about-flexbox {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
}

.hobbies-list li p {
    color: black;
    font-size: 19px;
}

.hobbies-list li {
    margin-bottom: 16px;
    /* list-style: none; */
}

.hobbies-list li::marker {
    color: black;
}

#memo1 {
    rotate: -8deg;
    z-index: 1;
}

#memo2 {
    rotate: 12deg;
    position: absolute;
    left: 50%;
    top: 90%;
    z-index: 2;
}

#memo2 .selector {
    color: black;
}
#memo2 .selector a {
    color: #0077ff;
}
#memo2 .selector .active {
    color: black;
}

#memo3 {
    rotate: -2deg;
    position: absolute;
    left: 0%;
    top:180%;
    z-index: 3;
}

#memo4 {
    position: absolute;
    rotate: 5deg;
    top: 90%;
    left: 60%;
    z-index: 4;
}

.memo {
    position: relative;
    background-color: #FFFF88;
    display: inline-block;
    padding: 32px;
    width: 320px;
    height: 400px;
    border: 2px black solid;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.7);
}

.memo .pin {
    width: 128px;
    height: 120.4px;
    position: absolute;
    left: 60%;
    top: 5%;
}

.memo h2 {
    color: black;
}

.memo-board {
    display:flex;
    flex-direction: column;
    position: relative;
    height:100%;
}

#worldmap {
    margin-top: 36px;
    z-index: 100;
}

#worldmap svg {
    position: relative;
  margin-top: 15px;
  background-color:burlywood;
  padding: 16px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  z-index: 100;
}

#worldmap svg:hover {
  transform: scale(4.5);
}

#CA {fill:red}
#UA {fill: blueviolet}
#PL {fill:red}
#DE {fill:red}
#IT {fill:red}
#HR {fill:red}

.worldlist {
    list-style: none;
}

.worldlist li p {
    color: black;
    font-size: 24px;
}

.list {
    list-style: none;
}

.list a {
    color: blue;
    font-size: 24px;
}

.bottom-block {
    height: 150px;
}

#memo2 .selector a {
        text-decoration: underline;
    }

@media(max-width:400px) {
    .about-intro-text {
        width: auto;
    }

    .about-flexbox {
        flex-direction: column;
    }

    /* .memo-board {
        visibility: collapse;
        display: none;
    } */

    .memo-board {
        padding-bottom: 440px;
    }

    #memo1,
    #memo2,
    #memo3,
    #memo4,
    .memo {
        position: relative;
        margin: 0px;
        left: -5%;
        width: 240px;
        height: 370px;
    }

    #memo1 h2 {
        width: 80%;
    }

    #memo2 {
        top: -50%;
    }

    #memo4 {
        position: absolute;
        top: 95%;
        left: -5%;
        rotate: 7deg;
    }

    .memo .pin {
        width: 96px;
        height: 92.2px;
        left: 65%;
    }

    .hobbies-list li p {
        font-size: 17px;
    }

    #worldmap svg {
        transform-origin: center center;
    }

    #worldmap svg:hover {
         transform: scale(3.5) translate(19%, 19%);
    }

    .bottom-block {
        height: 0px;
    }
}