*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    height: 100%;
}

body {
    box-sizing: border-box;
    /* font-family: "Noto Sans", sans-serif; */
    font-family: "Rosario", sans-serif;

    font-weight: 400;
    line-height: 1.5;
    font-size: 1.6rem;
    color: #3d3d3d;

    height: 100%;
    width: 100%;
}

@keyframes moveInLeft {
    0% {
        opacity: 0;
        transform: translateX(-10rem);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(10rem);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(3rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.u-center-text {
    text-align: center !important;
}

.u-margin-bottom-big {
    margin-bottom: 8rem !important;
}

.u-margin-bottom-medium {
    margin-bottom: 4em !important;
}

.u-margin-bottom-small {
    margin-bottom: 1.5rem !important;
}

.u-margin-top-big {
    margin-top: 8rem !important;
}

.u-margin-top-huge {
    margin-top: 10rem !important;
}

.link {
    color: #e63946;
}

.link:hover {
    color: #3d3d3d;
}

.resume {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #f7f8f5;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: fit-content;
    max-width: 1200px;
    padding: 5rem 3rem;
}

.header .profile-image {
    display: flex;
    width: 15rem;
    height: 15rem;
    border-radius: 10rem;
    margin-right: 3rem;
    background: url(../img/profile_image_x.png);
    background-size: 15rem 15rem;
}

.header .profile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.header .profile-heading {
    font-size: 4.778rem;
}

.profile-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

.profile-link {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 2.5rem;
    width: 2.5rem;
    margin-left: 1rem;
}

.profile-link-img {
    height: 100%;
}

.board {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: max-content auto;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f7f8f5;
}

.board-lists {
    display: inline-grid;
    grid-template-columns: repeat(4, 28rem);
    grid-auto-flow: column;
    grid-gap: 2rem;
    max-width: 1250px;
    overflow: auto;
    padding-bottom: 2rem;
    background-color: #f7f8f5;
}

.board-list:first-of-type {
    margin-left: 3rem;
}

.board-lists::after {
    content: "";
    width: 2rem;
}

.board-list {
    background-color: #d7dece;
    border-radius: 3px;
    display: grid;
    grid-auto-rows: max-content;
    grid-gap: 0.5rem;
    height: max-content;
    padding: 10px;
    box-shadow: 5px 5px 0px #969c8f;
}

.list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

.card {
    background-color: white;
    border-radius: 3px;
    box-shadow: 1px 1px 3px 0px #969c8f;
    padding: 10px;
    cursor: pointer;
}

.card:hover {
    transition: all 0.1s ease-out;
    transform: scale(1.05);
}

.card-date {
    display: flex;
    justify-content: flex-end;
    font-size: 1.33rem;
    font-weight: bold;
}

.tag {
    font-size: 1.33rem;
    color: white;
    background-color: #3d3d3d;
    border-radius: 5rem;
    padding: 0 1rem;
    width: fit-content;
}

.travel-tag {
    color: black;
    background-color: #ffd6ba;
}

.work-tag {
    color: white;
    background-color: #555b6e;
}

.edu-tag {
    color: white;
    background-color: #89b0ae;
}

.hobby-tag {
    color: #3d3d3d;
    background-color: #ffd6ba;
}

.side-tag {
    color: #3d3d3d;
    background-color: #bee3db;
}

.skill-popup {
    background-color: #3d3d3d;
    color: white;
    border-radius: 4px;
    padding: 0.5rem 2rem;
    cursor: pointer;
    transition: all 0.1s linear;
}

.skill-popup:hover {
    background-color: #4d4d4d;
}

.skill-popup-txt {
    visibility: hidden;
    width: 30rem;
    background-color: white;
    color: #3d3d3d;
    border: 5px solid #d7dece;

    box-shadow: 2px 2px 5px 1px #969c8f;
    border-radius: 4px;
    padding: 1rem 2rem;
    position: absolute;
    z-index: 1;
    top: calc(0% + 21rem);
    display: flex;
    flex-direction: column;
}

.skill-popup-close {
    display: flex;
    align-self: flex-end;
    cursor: pointer;
    width: fit-content;
    position: absolute;
    top: 0;
    right: 5px;
}

.skill-popup-close:hover {
    color: #969c8f;
}

.skill-heading {
    font-weight: bold;
}

.skill-heading:last-of-type {
    padding-top: 1rem;
}

ul {
    list-style: inside square;
    padding-left: 1rem;
}

@media only screen and (max-width: 540px) {
    .skill-popup-txt {
        top: calc(0% + 35rem);
    }
}
