@import url('https://fonts.googleapis.com/css2?family=Mohave&display=swap');

:root {
    --wiggle-deg: .5deg;
}

body {
    font-family: 'Mohave', sans-serif;
    color: white;
    background-color: #0f0f0f;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(0deg); }
    25% { transform: rotate(var(--wiggle-deg)); }
    50% { transform: rotate(calc(-1 * var(--wiggle-deg))); }
    75% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

h1.wiggle:hover {
    display: inline-block;
    animation: wiggle .5s;
}

h1.wiggle {
    animation: none;
}

h1 {
    text-align: center;;
    font-size: 10em;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #bbb;
}

a:hover {
    color: yellowgreen;
}

.content, .subtitles, .logos {
    display: flex;
    justify-content: space-around;
}


.subtitles ul {
    font-size: 3em;
    list-style: none;
    padding: 0;
}

.subtitles ul li {
    text-align: center;
}

.logos {
    margin: auto;
    width: 90%;
}
.logos svg {
    width: 128px;
    fill: white;
}

a#linkedin:hover svg {
    fill: #0A66C2;
}

a#github:hover svg {
    fill: #fcffdb;
}

a#gmail:hover svg {
    fill: #EA4335;
}


iframe {
    position: fixed;
    bottom: 2px !important;
    right: 0px !important;
    margin-right: 0 !important;
}

@media only screen and (max-width: 1200px){
    .content {
        height: auto;
        min-height: auto;
        padding-top: 3.5em;
    }
    h1 {
        font-size: 6em;
    }
    .subtitles ul {
        font-size: 2.5em;
    }
    .logos {
        margin-top: 2em;
    }
    .logos svg {
        width: 64px;
    }
}

@media only screen and (max-width: 600px){
    .content {
        padding-top: 8em;
    }
    h1 {
        font-size: 4em;
    }
    .subtitles ul {
        font-size: 2em;
    }
    .logos svg {
        width: 64px;
    }
    iframe {
        margin: auto !important;
    }
}

@media only screen and (max-width: 450px){
    h1 {
        font-size: 3em;
    }
    .subtitles ul {
        font-size: 1.5em;
    }
    .logos svg {
        width: 64px;
    }
}
