/*--------------------------------------------------------------
 * CSS INCLUDE - ALPINE LINUX
 *--------------------------------------------------------------*/
@import url('https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.css');

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    width: -webkit-fill-available;
    max-width: 60rem;
    margin: auto;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    overflow-x: hidden;
}

hr {
    border: 1px solid #e3e3e3;
    margin: 2rem auto;
}

a {
  color: #0d597f;
}

a:hover {
  opacity: 066;
}

.hero {
    background: rgb(13 89 127 / 80%);
    color: white;
    padding: 5.5rem 1rem 8.5rem;
    text-align: center;
    position: relative;
    height: 55vh;
    min-height: 25rem;
    overflow: hidden;
}

header.hero p {
    line-height: 2rem;
}

header.hero p span {
    font-weight: 900;
    color: #ffffffb5;
    font-size: 1rem;
    word-spacing: -0.1rem;
    letter-spacing: -0.05rem;
}

.video-container {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: url(/img/logos/france-flag.png);
    background-repeat: no-repeat;
    padding: 0 2.5rem 0 0;
    background-size: 1.5rem;
    background-position: 100% 0.23rem;
}

a.block-link {
    color: white;
    font-size: 1.25rem;
}

.block-link:hover i {
    opacity: 0.75;
}

h1.banner-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 3.5rem;
    margin: 1rem auto;
    font-weight: 900;
}

.item-desc {
    width: 33%;
    text-align: left;
    font-family: monospace !important;
    font-size: 0.9rem;
}

.item-desc i {
    color: #0d597f;
    font-size: 3rem;
    margin: 0 1rem 0 0;
}

.item-desc h2 {
    font-family: "Arial Black", ui-sans-serif;
    color: #0d597f;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0 !important;
}

.highlight-text {
    border-bottom: 2px dashed #dddddd;
    padding-bottom: 0.15rem;
    cursor: pointer;
}

img.alpine-logo {
    width: 3.15rem;
    height: 2.75rem;
    margin: 0.2rem 1rem 0 0;
    opacity: 0.5;
}

img.alpine-desktop {
    margin: 0 auto 3rem;
    border-radius: 8px;
}

img.alpine-desktop-short {
	display: none;
}

img.alpine-dashboard {
    border-radius: 8px;
}

img.alpine-logo.alpine-logo-footer {
    width: 1.5rem;
    height: 1.25rem;
    margin: 0 0.5rem 0 0 !important;
}

.hero .content {
  max-width: 800px;
  margin: 0 auto;
}

.content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

.content > *:nth-child(1) { animation-delay: 0.1s; }
.content > *:nth-child(2) { animation-delay: 0.3s; }
.content > *:nth-child(3) { animation-delay: 0.5s; }

.hero h1 {
    font-size: 2.75em;
    margin-bottom: 0.5em;
    font-family: "Arial Black", ui-sans-serif;
    letter-spacing: -0.2rem;
}

.hero p {
    opacity: 0.8;
    font-size: 1rem;
    margin: 2rem auto 3rem;
}

.cta {
    background: #00000000;
    color: #ffffffe8;
    padding: 0.75rem 6rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid #ffffff61;
}

.cta:hover {
    background: white;
    color: rgb(13 89 127);
    border-color: white;
}

.cta span {
    font-weight: 900;
    margin: 0 0 0 0.25rem;
}

.subsection {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}

p.item-desc {
    width: 25%;
    text-align: left;
}

.code-section {
    padding: 6rem 1rem;
    background: #f9f9f9;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.code-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1em;
}

.section-title {
    margin: 0rem auto 5rem !important;
    color: #8b8b8b !important;
    font-size: 1rem !important;
    text-align: left;
    font-family: monospace !important;
    text-transform: uppercase;
    border-bottom: 3px solid #ededed;
    width: auto;
    padding-bottom: 0.33rem;
}

.section-title i {
    opacity: 0.4;
    font-size: 1rem !important;
    color: inherit !important;
    width: auto;
}

i.fa-brands.fa-docker {
    margin: 0;
}

section#desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#desktop .item-desc {
    width: 66%;
    margin: 0 auto 3rem;
}

section#bench {
    background: white;
}

section#bench .item-desc {
    margin: auto;
    width: 66%;
}

section#bench p {
    margin: auto;
    text-align: left;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

section#bench code {
    background: #efefef !important;
    color: #0b5c84;
    padding: 0.25rem 1.5rem !important;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: bold;
}

section#docker {
    background-image: url(/img/backgrounds/alpine-docker.png);
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem;
}

section#banner:hover,
section#dashboard:hover img:hover {
    opacity: 0.8;
}

section#banner {
    background: linear-gradient(45deg, #0d597f, #006ea5);
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

section#dashboard:hover {
	cursor: pointer;
}

section#dashboard .item-desc {
    margin: 4rem auto 0;
    width: 66%;
}

section#banner p {
    width: 33%;
    text-align: left;
    font-family: monospace;
    font-size: 1.1rem;
    margin: 0;
}

section#banner i {
    font-size: 7rem;
    font-weight: 400;
    opacity: 0.66;
}

section#docker .section-title {
    display: inline-block;
}

section#docker .item-desc {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

pre {
    text-align: left;
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
    background: #072331 !important;
    color: #fff;
    font-family: 'Fira Code', monospace;
    font-size: 0.95em;
    overflow-x: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

code {
    padding: 1rem 2rem !important;
    border-radius: 4px;
    background: transparent !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
}

.token.atrule, .token.attr-value, .token.class-name, .token.function {
    color: #ff5bda !important;
}

.language-css .token.string, .style .token.string, .token.entity, .token.operator, .token.url, .token.variable {
    color: #a6e22e !important;
}
.token.cdata, .token.comment, .token.doctype, .token.prolog {
    color: #7d7d7d !important;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background: white;
}
.card {
    flex: 1 1 250px;
    max-width: 300px;
    padding: 20px;
    border: 1px solid #0d597f30;
    border-radius: 12px;
    background: #fdfdfd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card h3 {
    color: #0d597f;
}

#benchmarkChart {
    margin: 2rem 0 3rem;
}

span.disclaimer {
    font-size: 0.75rem;
    font-style: italic;
    color: #bdbdbd;
}

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

section.visible > * {
  opacity: 1;
  transform: translateY(0);
}

section.visible > *:nth-child(1) { transition-delay: 0.1s; }
section.visible > *:nth-child(2) { transition-delay: 0.3s; }
section.visible > *:nth-child(3) { transition-delay: 0.5s; }

footer p {
    font-size: 0.66rem;
    opacity: 0.66;
}

footer span {
    opacity: 0.4;
}

footer {
    background: #0D597F;
    color: white;
    text-align: center;
    padding: 0.5rem 4rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
.cta {
    padding: 0.75rem 2rem;
}
.subsection {
    flex-direction: column;
}
.item-desc {
    width: 90%;
    margin: 0 auto 3rem;
}
.hero h1 {
    font-size: 2.33em;
}
img.alpine-desktop {
	display: none;
}
img.alpine-desktop-short {
	display: block;
    margin: 0 auto 3rem;
    border-radius: 4px;
}
section#docker {
    background-position: 0 0;
    display: flex;
    flex-direction: column;
    padding: 100% 0 0;
}
section#banner p {
    width: 66%;
    padding: 0 1rem;
}
section#bench p {
    width: 90%;
}
section#banner i {
    font-size: 5rem;
}
section#desktop .item-desc {
    width: 90%;
}
footer p {
    display: flex;
    flex-direction: column;
}
}