body,
html {
    margin: 0;
    background-color: #c7ad7a;
}

.selfintro {
    height: auto;
    width: 100vw;
    padding-bottom: 2em;
    background-color: #c7ad7a;
    display: flex;
    flex-direction: column;
}

.selfintro .part1 {
    display: flex;
    padding-top: 4em;
}

.selfintro .part1 .left1 {
    display: block;
}

.selfintro .selfie-wrapper {
    height: auto;
    width: 50vw;
    position: relative;
    overflow: hidden;
}

.selfintro .selfie {
    position: absolute;
    bottom: 0;
    max-height: 100%;
    width: 100%;
    object-fit: contain;
}

.selfintro .phrase1 {
    color: #8752be;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 1em;
    padding-bottom: 1em;
    font-weight: bolder;
}

.selfintro .phrase2 {
    color: #f43c3a;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 1em;
    padding-bottom: 1em;
    font-weight: bolder;
}

@media screen and (max-width: 370px) {
    .selfintro .phrase1 {
        font-size: 11px;
    }

    .selfintro .phrase2,
    .selfintro .part2,
    .self-examples .content {
        font-size: 14px;
    }
}

@media screen and (min-width: 370px) and (max-width: 600px) {
    .selfintro .phrase1 {
        font-size: 14px;
    }

    .selfintro .phrase2,
    .selfintro .part2,
    .self-examples .content {
        font-size: 16px;
    }
}

@media screen and (min-width: 600px) and (max-width: 900px) {
    .selfintro .phrase1 {
        font-size: 18px;
    }

    .selfintro .phrase2,
    .selfintro .part2,
    .self-examples .content {
        font-size: 20px;
    }
}

@media screen and (min-width: 900px) {
    .selfintro .phrase1 {
        font-size: 24px;
    }

    .selfintro .phrase2,
    .selfintro .part2,
    .self-examples .content {
        font-size: 26px;
    }
}

.selfintro .part2 {
    padding: 0.3em;
    background-color: #603232;
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.self-examples {
    padding-bottom: 2em;
}

.self-examples .title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.self-examples .content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.self-examples .item {
    width: 100vw;
    height: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px 0 10px 0;
    gap: 10px;
}

.self-examples .item button {
    background-color: #f0ebd8;
    color: rgb(228, 194, 0);
    font-size: 24;
    font-weight: bold;
    padding: 1em 3% 1em 3%;
    border-radius: 1em;
    border-width: 0;
}

.self-examples .item button:hover {
    animation: borderani 2s ease;
}

@keyframes borderani {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
    }

    60% {
        box-shadow: 0px 0px 0px 36px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.self-examples .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.self-examples .modal .modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0 20px 50px 20px;
    width: 80%;
    max-width: 600px;
    background-color: #fefefe;
}

.self-examples .modal .close.icon {
    color: #aaa;
    font-size: 38px;
}

.self-examples .modal .close {
    color: #000;
    float: right;
    font-weight: bold;
    font-size: 28px;
}

.self-examples .modal .close:hover,
.self-examples .modal .close:focus {
    box-shadow: 2px 2px 2px 2px rgb(228, 221, 198, 0.9);
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.self-examples .modal video {
    object-fit: contain;
    width: 100%;
    max-height: 90vh;
}