@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');

html {
    height: 100%;
    width: 100%;
}

body {
    background: linear-gradient(270deg, #8cffe1, #ffde4a, #ff5df6);
    background-size: 600% 600%;
    animation: backgroundMove 30s ease infinite;
    width: 100%;
    padding: 0;
    margin: 0;
}

img.icon {
    border-radius: 10%;
    width: 50%;
    max-width: 150px;
}

div#wrapper {
    display: flex;
    flex-flow: row wrap;
    min-height: 100%;

    width: 100%;
}

div#wrapper > div {
    min-width: 50%;
    flex: 1;
    
}

div.container {
    min-height: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

div.gradient {
    background: rgba(255, 255, 255, 0.5);
    padding: 32px;
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    border-radius: 5px;
    width: 100%;
}

div.gradient p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

div.gradient p.subp {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.60);
}

#bio .gradient {
    justify-content: start;
}
   
#headproject .gradient {
    padding: 8px;
}


a {
    background: white;
    transition-duration: 0.4s;
    text-decoration: none;
    color: black;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 600;
    border-radius: 56px;
    padding: 8px;
}

a:hover {
    mix-blend-mode: normal;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}

ul li, p.button{
    transition-duration: 0.4s;
}

ul li:active, p.button:active {
    transform: scale(0.9, 0.9);
}

@keyframes backgroundMove {
    0%{background-position:17% 0%}
    50%{background-position:84% 100%}
    100%{background-position:17% 0%}
}

div#header {
    width: 100%;
    height: 10%;
    background-color: rgba(0, 0, 0, 0.76);
    margin: 0;

    min-height: 60px;

    display: flex;
    flex-flow: row nowrap;
}

div#header ul {
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    max-height: 100%;
    
    list-style-type: none;
}

ul li {
    margin: 8px 8px;
}

span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    color: white;
    margin: 16px;
}

@media only screen and (max-width: 500px) {
    div#wrapper {
        display: flex;
        flex-flow: column;
        min-height: 100%;
    
        width: 100%;
    }
    
    div#wrapper > div {
        min-width: 100%;
        flex: 1;
        
    }
}