@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,253&display=swap');

:root {
    --primary-color: #5286d3;
    --secondary-color: #ea549a;
    --text-light: #efefef;
    --text-medium: #cccccc;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.color1 {
    color: var(--primary-color);
}

.color2 {
    color: var(--secondary-color);
}

body {
    color: #fff;
    background: linear-gradient(to bottom right, black, #222, black);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

.background-image.active {
    opacity: 0.3;
}

.full-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.logo-panel,
.footer {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer {
    flex: none;
    position: absolute;
    bottom: 20px;
    width: 100vw;
    text-align: center;
    font-family: "Roboto Flex", sans-serif;
    color: var(--text-light);
    font-weight: 200;
        font-size: 1em;
}

.logo-panel {
    text-align: center;

    .logo {
        width: 70vw;
        max-width: 300px;
    }

    .logo-title {
        font-family: Tahoma, Geneva, Verdana, sans-serif;
        color: var(--text-medium);
        font-size: 1.4em;
        margin-top: 15px;
    }
}

.summary {
    flex: 2;
    font-family: "Roboto Flex", sans-serif;
    color: var(--text-light);
    font-weight: 200;
    line-height: 1.4;
    width: 70vw;
    max-width: 600px;
    align-items: start;
    color: var(--text-medium);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 5px 20px 0px 20px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.tag {
    font-size: 1.1em;
    color: var(--text-light);
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 5px;
    width: auto;
    text-align: center;
}

.tag:nth-child(odd) {
    border-color: var(--primary-color);
}

.tag:nth-child(even) {
    border-color: var(--secondary-color);
}

.contact-info {
    border-top:solid 1px #111;
    padding-top:15px;
    font-size: 0.9em;
    color: var(--text-light);
    margin-top: 15px;
    a {
        color: var(--text-light);
        text-decoration: underline;
        display: inline-block;
        margin:0 15px;
        &:hover {
            color: var(--primary-color);
        }
    }
}

@media (max-width: 768px) {
    .logo-panel {
        margin-top: -50px;
    }

    .summary {
        height: fit-content;
    }

    .tag-cloud {
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .tag {
        width: 60vw;
        padding: 5px 7px;
        text-align: center;
        font-size: 0.9em;
    }

    #summary {
        height: auto;
        overflow: visible;
        position: relative;
        padding-top: 0;
        margin-top: 0;
    }

    #summary>div {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 1;
        z-index: 1;
        display: block;
    }
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 5s linear;
    z-index: 10;
}

#summary {
    display: none;
}

.tag.active {
    background-color: var(--primary-color);
    color: #fff;
}