@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@900&display=swap');

h1,
h2,
h3 {
    padding: 0;
    margin: 0;
}

.loading-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.loop {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid black;
    margin-right: 10px;
    position: relative;
}

.txt {
    color: black;
}

.inner-loop {
    animation: loopAnim 2.5s linear 2s infinite alternate;
    position: relative;
    right: 4px;
    bottom: 4px;
}

@keyframes loopAnim {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.6);
    }
}

.text-wrap {
    font-family: 'Noto Serif KR', serif !important;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.938);
    border: 1px solid rgb(203 203 203);
    border-radius: 0 20px 20 20px;
    padding: 20px;
    z-index: 3;
}

@media only screen and (max-width: 800px) {
    .text-wrap {
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
        transform: unset;
    }
}

.btns-wings {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
    z-index: 3;
    width: 100%;
    display: none;
    justify-content: center;
}

button {
    cursor: pointer;
}

.wing {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
}

.wing0 {
    background-image: url("/assets/img/btn0.jpg");
}

.wing1 {
    background-image: url("/assets/img/btn1.jpg");
}

.wing2 {
    background-image: url("/assets/img/btn2.jpg");
}

.wing3 {
    background-image: url("/assets/img/btn3.jpg");
}

@media only screen and (max-width: 600px) {
    .quote {
        font-size: 20px;
    }

    .philosopher {
        font-size: 15px;
    }
}


.links {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.github {
    background-color: #ffa60b;
    padding: 3px 15px;
}

@media only screen and (max-width: 400px) {
    .links {
        right: 5px;
        top: 5px;
    }
    .github {
        padding: 3px 10px !important;
    }
    .text-wrap {
        margin: 5px;
    }
}
@media only screen and (max-width: 380px) {
    .links {
        top: unset;
        right: unset;
        left: 5px;
        bottom: 7px;
    }
}

.btn {
    top: 0;
    left: 0;
    transition: all 0.15s linear 0s;
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    color: #404040;
    letter-spacing: 1px;
    box-shadow: -6px 6px 0 #404040;
    text-decoration: none;
    font-size: 30px;
    color: white;
}

.btn:hover {
    top: 3px;
    left: -3px;
    box-shadow: -3px 3px 0 #404040;
}

.btn:hover::after {
    top: 1px;
    left: -2px;
    width: 4px;
    height: 4px;
}

.btn:hover::before {
    bottom: -2px;
    right: 1px;
    width: 4px;
    height: 4px;
}

.btn::after {
    transition: all 0.15s linear 0s;
    content: "";
    position: absolute;
    top: 2px;
    left: -4px;
    width: 8px;
    height: 8px;
    background-color: #404040;
    transform: rotate(45deg);
    z-index: -1;
}

.btn::before {
    transition: all 0.15s linear 0s;
    content: "";
    position: absolute;
    bottom: -4px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #404040;
    transform: rotate(45deg);
    z-index: -1;
}

a.btn {
    position: relative;
}

a:active.btn {
    top: 6px;
    left: -6px;
    box-shadow: none;
}

a:active.btn:before {
    bottom: 1px;
    right: 1px;
}

a:active.btn:after {
    top: 1px;
    left: 1px;
}