@font-face {
    font-family: 'Love Molly';
    src: url(../fonts/helvetica-neue-5/HelveticaNeueUltraLight.otf);
}

body {
    font-family: Love Molly;
    background-color: #0a0a2a;
    background-image: url(../images/wiisports-beach.png);
    background-size: 100%;
    margin: 0;
}

.top-container {
    background-color: rgba(0, 0, 0, 0.8);
    max-width: 100%;
    margin: 0 auto;
}

.bottom-container {
    background-color: rgba(0, 0, 0, 0.8);
    max-width: 1000px;
    margin: 0 auto;
}

.row {
    display: flex;
}

.column {
    flex: 1;
    text-align: center;
    align-items: center;
    color: white;
    margin: 5px;
}

a {
    text-decoration: none;
    color: inherit;
    font-size: 20px;
}

.banner {
    background-color: #900603;
    width: 100%;
    height: 150px;
}

.navbar {
    height: 50px;
    font-size: 22px;
    background-color: #900603;
}

.navbar ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    justify-content: space-around;
}

.navbar ul li:hover {
    color: #FFC857;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    user-select: none;
}

.main-section {
    height: 800px;
}

.main-column {
    flex: 2.5;
    text-align: center;
    font-size: 20px;
    background-color: #900603;
    height: 49%;
}

.me-img {
    width: 500px;
}

.side-column {
    background-color: #900603;
    height: 49%;
}

:root {
    --phone-h: 90vh;         /* height of the frame image */
    --phone-shift: -5vh;   /* how far the frame's bottom edge sits below the screen bottom */
    --phone-left: 89%;       /* horizontal centre of the phone */
}

#phoneStage {
    position: fixed;
    left: var(--phone-left);
    bottom: var(--phone-shift);
    transform: translateX(-50%);
    height: var(--phone-h);
    aspect-ratio: 556 / 1075;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

#phone {
    width: 100%;
    height: 100%;
    display: block;
}

/* black bar as wide as the top of the phone (498px of the frame's 556px width, scaled with the frame height);
   home.js moves `bottom` so it rides on the phone's top edge, and it rests at the screen bottom when the phone is hidden */
#phoneBtn {
    position: fixed;
    left: calc(var(--phone-left) - var(--phone-h) * 15 / 1075);   /* the phone's top edge sits 15px left of the frame's centre */
    transform: translateX(-50%);
    width: calc(var(--phone-h) * 498 / 1075);
    bottom: 0;
    z-index: 0;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-family: inherit;
    font-size: 20px;
    cursor: pointer;
}