body {
    font-family: "Science Gothic", sans-serif;
    background: linear-gradient(to bottom right, #1a2980, #26d0ce, #8a2be2, #9400d3);
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

span {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

span:hover {
    text-decoration: none;
    color: #3498db;
}

span.material-symbols-outlined {
    font-weight: normal;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.700);
}

span:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    min-width: 100%;
    height: 2px;
    background: linear-gradient(to bottom right, #3498db, #8a2be2);
    border-radius: 2px;
}

span.material-symbols-outlined:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    min-width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
}

ol, ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s, transform 0.3s;
}

nav:hover ul {
    opacity: 1;
    transform: scaleY(1);
}

nav {
    background: white;
    position: fixed;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    transition: width 0.5s, height 0.5s;
    border: 1px solid lightgray;
    overflow: hidden;
    top: 20px;
    left: 20px;
    z-index: 1000;
    margin-top: 5px;
}

nav:hover {
    width: 300px;
    height: 500px;
}



li {
    padding: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.700);
}

nav li{
    transition: all 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

nav li:hover{
    background-color: #3498db2a;
}

header, section {
    background: white;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    margin: 25px auto;
    padding: 25px;
    width: 80%;
    max-width: 1200px;
    box-sizing: border-box;
}

#section {
    width: 85%;
    max-width: 1400px;
}

p span, a {
    color: blue;
}

p span:hover, a:hover {
    font-weight: bold;
}

p {
    line-height: 1.6;
    margin: 0 0 15px 0;
}

#small {
    font-size: xx-small;
}

img {
    width: 80%;
    max-width: 600px;
    display: block;
    margin: 30px auto;
    border-radius: 5px;
}

#bio {
    list-style: decimal;
    padding-left: 25px;
    margin: 15px 0;
}

#bio li {
    border-bottom: none;
    padding: 8px 0;
}

@media(max-width: 600px){
    body{
        font-size: small;
    }
    header{
        width: 50%;
    }
}