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

html, body {
    margin: 0;
    background-color: var(--theme-light);
    font-family: 'Golos Text';
}

:root {
    --theme-light: #7fe5ff;
    --theme-normal: #00c8ff;
    --theme-dark: #00a0cd;
    --theme-double-dark: #0061a6;
    --theme-triple-dark: #004186;
    --theme-accent: #FF4FCD;
}

.jumbotron {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-normal);
    padding: 20px;
}

.jumbotron h1 {
    font-size: 3em;
}

a {
    color: var(--theme-triple-dark);
    font-weight: bold;
}

.menu-list a {
    margin-right: 20px;
    text-decoration: none;
    font-weight: normal;
    font-size: 1.2em;
}

#logo {
    height: 15vmin;
    margin-right: 50px;
}

.tab {
    display: none;
    padding: 0 3%;
}

.tab.open {
    display: block;
}

.tab h2, .tab h1 {
    width: 100%;
    text-align: center;
}

.cool-thing {
    padding: 0 15%;
}

.cool-thing > :last-child {
    margin-left: 20px;
}

.cool-thing > div {
    width: 33%;
}

.cool-thing .image-container {
    max-width: 67%;
}

.cool-thing .image-container img {
    border-radius: 10px;
    max-height: 600px;
    width: 100%;
}

.cool-thing:nth-child(2n) > :last-child {
    margin-left: 0; /*override*/
    margin-right: 20px;
}

#to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 99999px;
    width: 50px;
    height: 50px;
    padding: 0;
    background-color: var(--theme-dark);
    color: #fff;
    cursor: pointer;
    border: none;
}

.contact-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 10px;
}

.cool-thing:nth-child(2n) {
     flex-direction: row-reverse
}

.contact-logo {
    max-width: 24px;
    max-height: 24px;
    margin-right: 8px;
}

.collapse {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-h {
    display: flex;
    align-items: center;
    flex-direction: column;
}

ul.color-list li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.color-swatch {
    display: inline-block;
    background-color: var(--color);
    width: 16px;
    height: 16px;
    border-radius: 99999px;
    border: 2px solid black;
}

/* overflow padding */
.tab:after {
    content: "";
    display: block;
    height: 50px;
    width: 100%;
}

@media (max-width: 700px) {
    .collapse {
        flex-direction: column;
    }
    .cool-thing > * {
        width: 100% !important;
        max-width: unset !important;
    }
    .cool-thing img {
        width: 100%;
    }
    .cool-thing :last-child {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .cool-thing {
        width: 90%;
        padding: 5%;
    }
}

.spin {
    transition: transform 0.3s;
    transform: rotate(0deg);
    cursor: pointer;
}

button {
    background-color: var(--theme-dark);
    color: #fff;
    padding: 8px 12px;
    border-radius: 9999px;
    border: none;
    font-family: "Golos Text";
    font-size: 1em;
    cursor: pointer;
}

.zoom-text {
    position: absolute;
}

#skill-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: auto auto auto;
}

#skill-grid div {
    padding: 3vh;
    display: flex;
    font-size: 1.5em;
    justify-content: center;
    border-radius: 24px;
    background-color: var(--theme-normal);
    align-items: center;
}

#skill-grid div img {
    height: 5vh;
    margin-right: 16px;
}