* {
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    background-color: #fafafa;
    font-family: sans-serif;
    font-size: 0.5rem !important;
    line-height: 1.25;
}

html {
    font-size: 36px;
    animation: fade-in 2s ease 0s 1 normal forwards;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

html,
body,
main {
    height: 100%;
}

section {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.buttons-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.5rem;
    padding-bottom: 60px;
}

.heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.heading>img {
    object-position: 50% 0%;
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    background-color: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.pattern {
    width: 100%;
    height: 5rem;
    background-color: #00aff0;
    background-image: linear-gradient(rgba(0, 175, 240, .5), rgba(0, 175, 240, .5)), url(../assets/svg/pattern.svg);
    background-position: 0 0, 30%;
    background-size: auto, 600px;
    border-radius: 0 0 15px 15px;
    margin-bottom: -2.5rem
}

.title-wrapper {
    font-size: 1rem !important;
    color: #000;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    display: flex;
    width: 100%;
}

.title-wrapper h1 {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0.25rem;
    font-size: 0.75rem;
    line-height: 1;
}

.title-wrapper img {
    height: 0.8rem;
}

svg.bg {
    stroke: #00aff0;
    border: 2px solid #00aff0;
    max-width: 30px;
    max-height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 2px;
    border-radius: 50%;
    margin-right: 0.5rem;
    margin-left: 0.1rem;
}

svg.arrow {
    width: 0.75rem;
    height: 0.75rem;
    stroke: #333;
    margin-right: 0.1rem;
    margin-left: 0.25rem;
}

.focus {
    border-color: #00aff0 !important;
    stroke: #00aff0 !important;
    font-weight: 700;
}

.paragraph {
    color: #666;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: .4rem;
}

.button>div {
    width: 90%;
    text-align: left;
}

.button {
    color: #333;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid rgba(138, 150, 163, .25);
    border-radius: 50px;
    flex-direction: row;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    align-content: start;
    justify-content: space-between;
    align-items: center;
    justify-items: start;
    padding: 8px;
    height: 32px;
    text-decoration: none;
    display: flex;
}

.button h2 {
    font-size: 0.5rem;
}

.popup {
    position: fixed;
    background: transparent;
    backdrop-filter: blur(3px);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

@media (max-width: 680px) {
    section {
        width: 100%;
    }
    body,
    html,
    main {
        height: auto;
    }
    .button>div {
        padding-left: 0;
    }
    .button {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*popup*/

.popup {
    position: fixed;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    border: none;
    padding: none;
    margin: none;
}

.popup img.sensitive {
    width: 8rem;
    height: 8rem;
    filter: drop-shadow( 4px 4px 4px rgba(0, 0, 0, .5));
}

.popup section>h1 {
    font-size: 1.3rem;
    margin-top: 0.3rem;
}

.popup section>p {
    font-size: 0.6rem;
    text-align: center;
    margin-top: 0.6rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.popup .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: 3.7rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.popup svg.bg {
    background-color: #00aff0;
    max-width: 50px;
    max-height: 50px;
    min-width: 50px;
    min-height: 50px;
    stroke: #fff;
}

.popup svg.arrow {
    width: 1.5rem;
    height: 1.5rem;
    stroke: #333;
    margin-right: 0.1rem;
    margin-left: 0.5rem;
}

.popup a {
    color: #333;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid rgba(138, 150, 163, .25);
    border-radius: 50px;
    flex-direction: row;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    align-content: start;
    justify-content: space-around;
    align-items: center;
    justify-items: start;
    padding: 0.5rem;
    text-decoration: none;
    display: flex;
    font-size: 0.6rem;
}

.popup svg.arrow.focus {
    stroke: #00aff0;
}

.popup a.focus {
    border-color: #00aff0;
    font-weight: 700;
}

.popup section {
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.popup .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    stroke: #333;
    background-color: transparent;
    border: none;
    padding: none;
    margin: none;
    font-size: 1rem;
    font-weight: bold;
    color: #00aff0;
    text-shadow: 0 0 10px rgba(0, 0, 0, .8);
}

.popup.closePopup {
    display: none;
}

.popup.openPopup {
    display: flex;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(3px);
}

@media (max-width: 680px) {
    .popup img.sensitive {
        width: 6rem;
        height: 6rem;
        filter: drop-shadow( 4px 4px 4px rgba(0, 0, 0, .5));
    }
    .popup section>h1 {
        font-size: 1.0rem;
        margin-top: 0.1rem;
    }
    .popup section>p {
        font-size: 0.5rem;
        text-align: center;
        margin-top: 0.3rem;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
    }
    .popup a {
        font-size: 0.5rem;
        padding: 5px;
    }
    .popup svg.arrow {
        width: 30px;
        height: 30px;
    }
    .popup svg.bg {
        max-width: 40px;
        max-height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    .popup .center {
        margin-top: 50px;
    }
}