body,
html {
    height: 100svh;
    width: 100svw;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    position: relative;
    overflow: auto;
}

:root {
    /** Colors */
    --primary-color: #37a473;
    --primary-color-darker: #3aa475;

    --input-font-color: #7c7c7c;

    --info-font-color: #172d42;
    --info-background-color: #77a4ce;

    --warn-font-color: #5c3b00;
    --warn-background-color: #f5c842;

    --error-font-color: #5c0a0a;
    --error-background-color: #e05c5c;

    /** Sizes */
    --margin-xsm-size: 0.5em;
    --margin-sm-size: 1em;

    --border-sm-size: 0.1em;

    --font-size: 1.2rem;

    --icon-font-size: 1.2em;
    --icon-mfont-size: 1.4em;
}

.logo-font {
    font-family: 'Dancing Script', cursive;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body,
p,
h1,
h2,
h3,
h4 {
    margin: 0;
    top: 0;
}

* {
    box-sizing: border-box;
}

.screen-fixed {
    width: 100dvw;
    height: 100dvh;
    display: flex;
    align-items: flex-start;
}

/* Hidden on mobile, where the bottom nav is the only side chrome */
.social-bar {
    height: 100%;
    padding: 30px 15px;
    background-color: #37a473;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .social-bar {
        display: flex;
    }
}

.social-bar img {
    width: 45px;
}

.social-bar span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-bar i {
    font-size: var(--icon-mfont-size);
    color: white;
}

header {
    width: 100%;
    background-color: aliceblue;
    padding: 15px 0 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sign-group {
    display: flex;
    gap: 13px;
    align-items: center;
}

.sign-group .picture {
    text-decoration: none;
    padding: 12px 25px 12px 12px;
    border-radius: 30px 0 0 30px;
    margin: 7px 0 12px 7px;
    background-color: var(--primary-color);
    color: white;
    box-shadow:
        rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
        rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.sign-group div.picture {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
}

.sign-group .picture i {
    color: var(--primary-color);
    background-color: white;
    padding: 10px;
    margin-right: 12px;
    border-radius: 50%;
}

.sign-group .picture img {
    height: 36px;
}

.sign-group .picture .canva {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    width: 34px;
    border: 2px solid white;
    border-radius: 50%;
    overflow: hidden;
}

.section {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.box {
    border-radius: 1rem;
    display: flex;
}

.box-half {
    flex: 1;
}

.cropper {
    width: 700px;
    height: 700px;
    overflow: hidden;
    position: relative;
}

.cropper.circle {
    border-radius: 50%;
}

.cropper img {
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- Bottom nav ---------- */

.bottom-nav {
    position: static;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
    background: white;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--input-font-color);
    font-size: 1.3em;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.bottom-nav-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.bottom-nav-item.active {
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5em;
    box-shadow: 0 4px 14px rgba(55, 164, 115, 0.4);
    transform: translateY(-6px);
}

.bottom-nav-item.active:hover {
    background-color: var(--primary-color-darker);
}

@media (max-width: 600px) {
    .bottom-nav {
        gap: 28px;
    }
}
