html {
    scroll-behavior: smooth;
}

body {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    align-items: center;
    background-image: url(../img/sky.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    animation: fadein 3s forwards;
}

@keyframes fadein {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

h1 {
    color: black;
    font-size: 2.5em;
    padding-top: 15px;
    padding-left: 90px;
}

h2 {
    font-size: 2.0em;
    margin: 0 auto;
    width: fit-content;
    border-bottom: 2px solid white;
    border-left: 5px solid white;
}

h3 {
    font-size: 1.3em;
    text-align: center;
}

header {
    width: 95%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.5em;
    padding-bottom: 50px;
}

nav {
    padding-bottom: 50px;
    padding-left: 70px;
}

div {
    background-color: skyblue;
    border: 2px dotted #00b7ff;
    border-radius: 50px;
    border: none;
    margin-top: 0;
    margin-bottom: 3%;
    margin-left: 25%;
    margin-right: 25%;
    padding-top: 20px;
    padding-bottom: 25px;
}

p {
    text-align: center;
}

#index {
    border: none;
}

.index {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.index-item {
    margin-right: 30px;
    margin-left: 30px;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.index-item:hover {
    transform: scale(1.3, 1.3);
}

.index-item a {
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    transition: color;
}

.index-item a:hover {
    color: black;
}

.affiliation {
    list-style: none;
    padding: 0;
    display: flex;
    width: fit-content;
    margin: auto;
}

.affiliation-item a {
    color: white;
    padding: 10px 10px;
    transition: color 0.3s;
}

.affiliation-item a:hover {
    color: blue;
}

.hobby-item {
    list-style: none;
}

.skills {
    width: fit-content;
    margin: auto;
    line-height: 2.0;
}

table {
    margin-top: 25px;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}

#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: black;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    transition: all 1s ease;
    transition: color 0.3s;
}

#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

#page-top:hover {
    color: #a3a3a3f7;
}