@charset "utf-8";

:root {
    --txt-blue: #1a73e8;
    --txt-orange: #ff3e29;
    --txt-green: #58a350;
    --txt-gray: #333333;
    --txt-lightGray: #777777;
    --bg-base: #F7F7F7;
    --bg-gray: #141519;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit-Regular";
    text-wrap: balance;
}

html,
body {
    background-color: var(--bg-base);
    color: var(--txt-gray);
    height: 100%;
    overflow-x: hidden;
    cursor: default;
}

#app {
    height: auto;
    overflow: auto;
}

header > article:first-child {
  margin-top: 50px;
}

a {
    color: var(--txt-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

a:hover {
    opacity: 0.5;
    text-decoration: underline;
}

ol li:not(:last-child) {
    margin-bottom: 10px;
}

/* Fonts */
@font-face {
    font-family: "Outfit-Bold";
    src: url("/assets/fonts/Outfit-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Outfit-SemiBold";
    src: url("/assets/fonts/Outfit-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Outfit-Medium";
    src: url("/assets/fonts/Outfit-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Outfit-Regular";
    src: url("/assets/fonts/Outfit-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SpaceMono-Regular";
    src: url("/assets/fonts/SpaceMono-Regular.ttf") format("truetype");
    font-size: 400;
    font-style: swap;
}

@font-face {
    font-family: "Cursive-Regular";
    src: url("/assets/fonts/Cursive-Regular.ttf") format("truetype");
    font-size: 400;
    font-style: swap;
}

.f-bold {
    font-family: "Outfit-Bold";
}

.f-semi-bold {
    font-family: "Outfit-SemiBold";
}

.f-medium {
    font-family: "Outfit-Medium";
}

.f-regular {
    font-family: "Outfit-Regular";
}

.f-mono-space {
    font-family: "SpaceMono-Regular";
    word-wrap: break-word;
}

.f-cursive {
    font-family: "Cursive-Regular";
}

/* Font size */
.fs-gigant {
    font-size: 5.75rem;
    line-height: 5.80rem;
}

.fs-x-large {
    font-size: 3.75rem;
    line-height: 3.80rem;
}

.fs-large {
    font-size: 2.75rem;
    line-height: 2.80rem;
}

.fs-medium {
    font-size: 1.75rem;
}

.fs-tiny {
    font-size: 0.75rem;
}

/* base */

.radius.all {
    border-radius: 20px;
}

.radius.left {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.radius.right {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.radius.top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.radius.top-left {
    border-top-left-radius: 20px;
}

.radius.bottom-right {
    border-bottom-right-radius: 20px;
}

.radius.bottom {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.padding-middle {
    padding: 20px;
}

/* Images */
img {
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.img-container {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.img-container > img {
    display: block;
    width: 100%;
    height: 200%;
    object-fit: cover;
    object-position: top right;
}

.img-small {
    width: 100px;
}

.img-middle {
    width: 150px;
}

.img-large {
    width: 250px;
}

.img-icon {
    height: 2rem;
}

.img-card {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.img-card.right {
   border-radius: 0 20px 20px 0; 
}

.img-card.full-height {
    height: 100%;
}

#show-image {
    position: relative;
    height: 100%;
}

#show-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
}

#show-image img.active {
    opacity: 1;
}


/* Backgrounds */
.bg-gray {
    background-color: #F0F0F0;
}

.bg-gray-outline {
    background-color: transparent;
    border: 1px solid #E5E7EB;
}

.bg-gray-outline.hover.active {
    border: 1px solid var(--txt-blue);
}

.bg-gray-outline.hover:hover {
    border: 1px solid var(--txt-blue);
}

.bg-white {
    background-color: #ffffff;
}

.bg-glass {
    background: linear-gradient(
        rgba(0,0,0,0.15), 
        rgba(0,0,0,0.15)
    );
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.bg-dark {
    background-color: var(--bg-gray);
}

/* Media queries */
@media (min-width: 1024px) {
    main {
        scroll-snap-type: y mandatory;
    }
}

@media (max-width: 1000px) and (min-width: 701px) {
    .btn-group {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .img-card.right { border-radius: 0 0 20px 20px;}
    footer .brand { text-align: center; }
}

@media (max-width: 700px) {
    .btn-group {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    
    .img-card.right { border-radius: 0 0 20px 20px;}
    footer .brand { text-align: center; }
    
    .fs-gigant {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}