@font-face {
    font-family: mainFont;
    src: url(assets/fonts/Montserrat.ttf);
}

:root {
    --primary: rgb(0, 166, 255);
    --primary-light: blue;
    --primary-dark: blue;
    --secondary: green;
    --accent: yellow;

    --light: white;
    --dark: rgb(33, 33, 33);

    --text-light: white;
    --text-light-alt: rgb(157, 157, 157);
    --text-dark: rgb(65, 65, 65);
    --filter-accent: brightness(0) saturate(100%) invert(69%) sepia(27%) saturate(5617%) hue-rotate(167deg) brightness(100%) contrast(103%);
    --main-gradient: linear-gradient(304deg, var(--primary) 0%, var(--secondary) 100%);
    --br-m: 12px;
    --br: 8px;
    --br-s: 6px;
    --br-r: 50px;

    --border: rgb(53, 53, 53);
    --border-light: rgb(85, 85, 85);

    --button-hover: 0px 0 0 60px var(--primary) inset;
    --shadow: 0px 6px 5px 0px rgba(0,0,0,0.05);

    --lh-l: 1.5;
    --lh-m: 1.4;
    --lh-s: 1.3;
    --lh-xs: 1.15;

    --fs-c-xl: clamp(2.1rem, 1.92rem + 0.94vw, 3.05rem);
    --fs-c-l: clamp(1.7rem, 1.55rem + 0.74vw, 2.44rem);
    --fs-c-m: clamp(1.35rem, 1.23rem + 0.6vw, 1.95rem);
    --fs-c-s: clamp(1.25rem, 1.19rem + 0.31vw, 1.56rem);
    --fs-c-xs: clamp(1.06rem, 1.03rem + 0.19vw, 1.25rem);
    --fs-l: 1rem;
    --fs-m: 0.8rem;
    --fs-s: 0.64rem;

    --card-color: rgb(20, 20, 20);
    --background-color: rgb(25, 25, 25);
}
::-moz-selection {
    color: rgb(0, 0, 0);
    background: var(--text-light);
}
  
::selection {
    color: rgb(0, 0, 0);
    background: var(--text-light);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    font: inherit;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    height: 100%;
}
body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    font-family: mainFont;
    background: var(--background-color);
    color: white;
    &::-webkit-scrollbar-thumb {
        background: var(--light);
        border-radius: 3px;
        border: 3px solid var(--background-color);
    }
    &::-webkit-scrollbar-track {
        background: transparent;
    }
    &::-webkit-scrollbar {
        width: 0.5rem;
    }
}
input[type="text"],
input[type="password"],
input[type="file"],
input[type="email"],
textarea, select {
    &:focus {

    }
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    font-family: mainFont;
    line-height: var(--lh-c-s);
    color: var(--text-light);   
}
h1 {
    font-size: var(--fs-c-xl);
}
h2 {
    font-size: var(--fs-c-l);
}
h3 {
    font-size: var(--fs-c-m)
}
h4 {
    font-size: var(--fs-c-s)
}
h5, h6 {
    font-size: var(--lh-c-xs)
}
p, a {
    font-family: mainFont;
    color: var(--text-light);
    text-decoration: none !important;
}
a, img, iframe {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.container {
    width: min(1300px, 100% - (1rem * 2));
    margin-inline: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 100px !important;
}
.container.hero {
    min-height: 20vh;
}
/* CARDS - Front page */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 916px;
    width: calc(100% - 20px);

}
#hover-group {
    &:hover > .card > .card-border {
        opacity: 1;
    }
}
.card {
    height: 260px;
    width: 300px;
}
.hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    &:before, & > .card-border {
        position: absolute;
        content: "";
        left: 0px;
        top: 0px;
        z-index: 2;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        opacity: 0;
        transition: opacity 500ms;
    }
    &:before {
        background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(0, 174, 255, 0.1), transparent 40%);
        z-index: 3;
    }
    & > .card-border {
        background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(0, 174, 255, 0.1), transparent 40%);
        z-index: 1;
    }
    &:hover:before {
        opacity: 1;
    }
    /* &:after {
        position: absolute;
        content: "i";
        right: 0;
        top: 0;
        z-index: 100;
    } */
}
.card:nth-child(1) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/bg-portfolio.png');
}
.card:nth-child(2) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/bg-showcase.png');
}
.card:nth-child(3) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/bg-tools.png');
}
.card:nth-child(4) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/bg-partners.png');
}
.card:nth-child(5) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/bg-contact.png');
}
.card:nth-child(6) > .card-content {
    --card-background: rgba(255, 255, 255, 0.023);
    --card-url: url('assets/images/rr.png');
}

a.card > .card-content {
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    background: var(--card-color);
    background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%),
    var(--card-url),
    var(--card-color);
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: inherit;
    position: relative;
    margin: 1px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    & h2 {
        font-weight: bold;
        font-size: 1.2em;
        color: var(--text-light);
    }
    & p {
        font-size: 0.8em;
        color: var(--text-light-alt);
        font-weight: 500;
    }
}


/* Fixed full-height hero header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height 0.4s ease, background 0.3s ease;
    z-index: 1999;
    background: var(--background-color);
}

/* Logo in center of screen */
#header-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    width: 300px;
    opacity: 0;
    transition:
        top 0.5s ease,
        transform 0.6s ease,
        width 0.6s ease,
        opacity 0.6s ease;
    filter: invert(100%);
    &.visible {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* After scroll */
#header.scrolled {
    height: 80px;
    background: transparent;
    background: linear-gradient(0deg,rgba(25, 25, 25, 0) 0%, rgba(25, 25, 25, 0.66) 25%, rgba(25, 25, 25, 1) 90%);
    z-index: 999;
}

#header.scrolled #header-img {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 150px;
}
#header h1 {
    transition: opacity 600ms ease, font-size 300ms, margin-top 300ms;
    color: rgb(41 41 41);
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 100px;
    opacity: 0;
    &.visible {
        opacity: 1;
    }
}
#header.scrolled h1 {
    opacity: 0;
    font-size: 0.1em;
    margin-top: 0;
}

#open {
    max-width: 30px;
    position: absolute;
    cursor: pointer;
    z-index: 9000;
    left: 49%;
    bottom: 20px;
    filter: invert(100%);
    animation: breathe 2s ease-in-out infinite;
    transition: 
    opacity 0.6s ease,
    filter 0.3s,
    transform 0.6s ease;
    &.hidden {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
        pointer-events: none;
        animation: none;
    }
    &:hover {
        filter: var(--filter-accent);
    }
}

@keyframes breathe {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* SCROLL UP BUTTON */
#scroll-up {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 30px;
    cursor: pointer;
    filter: invert(100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 100;
        &.visible {
        opacity: 0.7;
        pointer-events: auto;
        &:hover {
            opacity: 1;
        }
    }
}
/* INFO BUTTON + hover modal */
#info-wrapper {
    position: fixed;
    top: 30px;
    right: 25px;
    z-index: 9000;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.4s ease;
    &.visible {
        opacity: 0.7;
        pointer-events: auto;
        &:hover {
            opacity: 1;
        }
    }
    #info {
        max-width: 20px;
        cursor: pointer;
        filter: invert(100%);
    }
    #info-modal {
        position: absolute;
        top: 30px; 
        right: 0;
        background: rgba(0, 0, 0, 0.4);
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-5px);
        transition: all 0.3s ease;
        white-space: nowrap;
        & p {
            color: white;
            font-size: 0.80em;
            & span {
                font-weight: bold;
                color: #d0f7ff;
            }
        }
    }
    &:hover #info-modal {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}
/* CHANGING SECTION TITLE */
#section-title {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light-alt);
    transition: opacity 0.3s ease;
}
#section-title::after {
  content: '➤ 'attr(data-hint);
  position: absolute;
  left: 0;
  transform: translateY(15px);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--accent-color);
  white-space: nowrap;
}

#section-title.hint-visible::after {
  opacity: 1;
  transform: translateY(25px);
}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(1000px, 100% - (1rem * 2));
    margin-inline: auto;
    padding: 20px;
    gap: 10px;
    background: white;
    border-radius: 10px 10px 0 0;
    & p {
        color: var(--text-dark);
    }
    & img {
        width: 150px;
        filter: invert(10%);
        margin-bottom: 10px;
    }
}

/* ACTUAL CONTENT - Sections */
@media (max-width: 1000px) {
    .content-block {
        flex-direction: column;
    }
    .text {
        max-width: 100% !important;
    }
}
@media (max-width: 600px) {
    .content-split {
        flex-direction: column;
    }
    section#portfolio {
        text-align: center;
    }
    .stat-card > div {
        width: 100%;
    }
}
section {
    border-top: 1px solid rgba(255, 255, 255, 0.126);
    &#summary {
        border-top: none !important;
    }
}
/*section#summary,
section#portfolio,
section#contact,
section#tools,
section#showcase {
    min-height: 80vh;
}*/
section#summary {
    padding: 40px 0;
}
section#portfolio {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
    .tab-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        .toggle-btn {
            border: 1px solid rgba(39, 39, 39, 0.2);
            border-radius: 4px;
            transition: opacity 0.3s;
            padding: 10px;
            cursor: pointer;
            box-shadow: var(--shadow);
            & img {
                width: 30px;
                height: 30px;
                filter: invert(100%);
                vertical-align: middle;
            }
            &:hover {
                opacity: 0.7;
            }
            &.active {
                & img {filter: var(--filter-accent);}
            }
        }
    }
    .content-block {
        display: none;
        animation: fade 0.3s ease-in-out;
        justify-content: space-around;
        gap: 20px;
        min-height: 450px;
        &.active {
            display: flex;
        }
        & img {
            max-width: 300px;
            border-radius: 10px;
            max-height: 380px;
            box-shadow: var(--shadow);
            &.portrate {
                margin-inline: auto;
                opacity: 1;
                filter: grayscale(10%);
            }
        &.icon {
            max-width: 40px;
            filter: invert(100%);
            border-radius: 2px;
            box-shadow: none;
            &.small {
                max-width: 30px;
            }
        }
    }
    & .stats {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
        & .stat-card {

            border-radius: 10px;
            padding: 15px;
            min-width: 180px;
            border: 1px solid rgba(28, 28, 28, 0.2);
            box-shadow: var(--shadow);
            display: flex;
            gap: 30px;
            cursor: default;
        }
        & .stat-card h2 {
            font-size: 1em;
            font-weight: 500;
            color: var(--text-light-alt);
            & span {
                color: var(--text-light);
                font-weight: bold;
                font-size: 1.3em;
            }
        }
    }
    }
    .text, .tech {
        flex: 1;
        & h2 {
            font-size: 1em;
            font-weight: bold;
            text-transform: uppercase;
            color: #d0f7ff;
        }
        & p {
            margin-bottom: 20px;
        }
        & p span {
            font-weight: 600;
            color: #d0f7ff;
        }
    }
    .text {
        max-width: 400px;
    }
    .tech {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        & .tech-item {
            display: flex;
            align-items: center;
            width: 100%;
            gap: 50px;
            padding: 10px 20px;
            border-radius: 10px;
            transition: 300ms;
            cursor:help;
            border: 1px solid rgb(24, 24, 24);
            box-shadow:var(--shadow);
        }  
        & img {
            max-width: 50px;
        }
    }
}

.content-split {
    display: flex;
    flex: 1;
    gap: 20px;
    justify-content: center;
}
.quote {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: center;
  font-style: italic;
  max-width: 400px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.quote span {
  color: var(--text-light-alt);
}

.quote.visible {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.graph {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    & #skill-hexon {
        width: 300px;
        height: 300px;
    }
    & polygon {
        transition: all 0.3s ease;
    }
    & .hex-guide {
        fill: none;
        stroke: #444;
        stroke-width: 1;
        opacity: 0.3;
    }
    & #hex-axes {
        stroke: #666;
        stroke-width: 1;
        fill: none;
    }
    & #hex-skill-base {
        fill: rgba(0, 166, 255, 0.3);
        stroke: var(--primary);
        stroke-width: 2;
    }
    & #hex-skill-glow {
        fill: url(#skill-glow);
        stroke: none;
        opacity: 0;
        &:hover stop:first-child {
            animation: pulse 1s infinite ease-in-out;
        }
    }
    & text {
        fill: #aaa;
        font-size: 12px;
        pointer-events: all;
        cursor: pointer;
        transition: font-weight 300ms, fill 300ms ease;
        &:hover,
        &.hovered {
            fill: var(--primary);
            font-weight: bold;
        }
        &.pulse {
            animation: pulseLabel 1s infinite ease-in-out;
            fill: var(--primary);
            font-weight: bold;
        }
    }
}
#tech-info {
    opacity: 0.5;
    margin: 0 auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    p {
        display: block;
        white-space: normal;
        text-wrap: wrap; /* optional, supported in modern browsers */
        overflow-wrap: break-word;
        min-height: 50px;
    }
    & h2 {
        font-size: 1em;
        font-weight: bold;
        text-transform: uppercase;
    }
    & p span {
        font-weight: 600;
    }
}

@keyframes pulse {
  0%   { stop-opacity: 0.2; }
  50%  { stop-opacity: 0.6; }
  100% { stop-opacity: 0.2; }
}
@keyframes pulseLabel {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PORTFOLIO END.. jfc */

section#showcase {
    
}
section#partners {
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    & > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 500px;
        height: 300px;

        &:nth-child(1) {
            background: radial-gradient(circle,rgba(0, 255, 149, 0.03) 0%, transparent 60%);
            & h2 {
                color: rgb(195, 255, 235);
            }
        }
        &:nth-child(2) {
            position: relative;
            top: 100px;
            background: radial-gradient(circle,rgba(0, 255, 217, 0.03) 0%, transparent 60%);
            & h2 {
                color: rgb(195, 255, 252);
            }
        }
        &:nth-child(3) {
            background: radial-gradient(circle,rgba(255, 0, 0, 0.03) 0%, transparent 60%);
            & h2 {
                color: rgb(255, 195, 195);
            }
        }
    }
    & h2 {
        font-size: 2em;
        font-weight: bold;
    }
    & p {
        & span {
            font-weight: 600;
        }
    }
}
@media (max-width: 1000px) {
    section#partners > div:nth-child(2) {
        top: 0;
    }
}
section#contact {
    text-align: center;
    flex-direction: column;
    gap: 20px;
        & .socials {
        display: flex;
        gap: 20px;
        & a {
            padding: 10px;
            border-radius: 12px;
            border: 1px solid rgba(52, 52, 52, 0.075);
            line-height: 0;
            box-shadow: var(--shadow);
            & img {
                opacity: 1;
                width: 40px;
                height: 40px;
                filter: invert(100%);
            }
            &:hover img {
                filter: var(--filter-accent);
            }
        }
    }
    p {
        & span {
            color: gray;
        }
        & a:hover {
            color: var(--primary);
        }
    }
    & a {
        transition: color 100ms, filter 100ms;
    }
}

#showcase {
    padding-block: 50px;
    flex-direction: column;
    & > p {
        color: rgba(255, 255, 255, 0.196);
        margin-top: 50px;
        font-style: italic;
    }
}
.showcase-img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    left: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

#showcase > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  scroll-behavior: smooth;
  position: relative;
}

#showcase > div:has(a:hover) > a:not(:hover) {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#showcase > div > a {
  position: relative;
  width: 350px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.079);
  box-shadow: var(--shadow);
  z-index: 1;
  transition:
    transform 0.5s ease,
    background-color 0.5s ease,
    opacity 0.5s ease;

    &::after {
        content: "";
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        opacity: 0;
        width: 20px;
        height: 20px;
        background: url("assets/icons/angle-double-small-up.svg") no-repeat center;
        background-size: contain;
        filter: invert(100%);
        scale: 2;
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        z-index: 3;
    } 
    &:before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgb(0, 54, 78);
        opacity: 0.50; /* adjust strength here */
        mix-blend-mode: color; /* keeps image shading/details */
        pointer-events: none;
        z-index: 10;
        border-radius: 8px; /* optional, if your image is rounded */
        transition: opacity 300ms ease;
    }

  h1,
  .items {
    z-index: 2;
    transition: opacity 0.3s ease;
  }

  &:hover {
    transform: scale(1.5);
    z-index: 2;
    & .showcase-img {
        opacity: 1;
    }

    h1,
    .items {
      opacity: 0;
    }


    &::after {
      opacity: 1;
      transform: translateY(-50%) translateX(10px) rotate(90deg);
    }
    &:before {
        opacity: 0;
    }
  }

  h1 {
    font-size: 2em;
    font-weight: bold;
    z-index: 2;
  }
  .items {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-block: 10px;
    flex: 1;
    z-index: 2;
    & > div {
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.192);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
    }
    & img {
      width: 30px;
      filter: invert(100%);
    }
  }
}


section#tools {
    padding: 20px;
    gap: 20px;
    justify-content: center;
    align-items: center;
    
    & a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        &.ua:after {
            content: 'currently unavailable';
            padding: 5px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            
            top: -40px;
            z-index: 2;
            display: none;
            position: absolute;
            white-space: nowrap;
        }
        &.ua:hover:after {
            display: block;
        }
        & p {
            transition: 200ms;
            font-weight: bold;
            font-size: 0.8em;
            margin-top: 20px;
        }
        & > div {
            border-radius: 10px;
            border: 1px solid rgba(61, 61, 61, 0.052);
            padding: 20px;
        }
        & img {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.17);
            border-radius: 50px;
            filter: invert(100%);
            padding:10px;
            transition: transform 300ms;
            
        }
        &:hover {
            & > div {
            }
            & p {
                color: var(--primary);
            }
            & img {
                transform: scale(1.2);
                filter: var(--filter-accent);
            }
        }
    }
}




section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
.showcase-canvas {
    height: 20vh;
    background: white;
    width: 100%;
    border-radius: 12px;
    max-width: 1000px;
}

/* funny tests and redesign ideas */
/*section#summary .card-content {
backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(0 6 8);
}*/
section#summary .card-content {
    --card-color: rgb(31 31 31 / 80%);
    --background-color: rgba(0, 0, 0, 0.1);
}
.content-block[data-id="Skills"] {
    align-items: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin-left: 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.timeline-item .year {
  flex-shrink: 0;
  width: 80px;
  font-weight: bold;
  color: #d0f7ff;
  text-align: right;
  padding-right: 1rem;
}

.timeline-item .content {
  flex: 1;
  line-height: 1.5;
}