/* -------------------------------------------------------------------------- */
/*                              CUSTOM PROPERTIES                             */
/* -------------------------------------------------------------------------- */
:root {

    /* Colors */
    --primary-color: 220 71% 30%;
    --text-color: 35 10% 37%;
    --white-color: 255 100% 100%;
    --black-color: 0 0% 0%;

    /* Font Familiy */
    --body-font: "Saira Semi Condensed", sans-serif;

    /* Font Weights */
    --fw-thin: 100;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: ;
    --fw-semibold: ;
    --fw-bold: 700;
    --fw-black: ;

}

/* -------------------------------------------------------------------------- */
/*                                    RESET                                   */
/* -------------------------------------------------------------------------- */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* -------------------------------------------------------------------------- */
/*                               UTILITY CLASSES                             */
/* -------------------------------------------------------------------------- */

/* General */
.h-full {
    height: 100%;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

.direction-column {
    flex-direction: column;
}

.direction-row {
    flex-direction: row;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.align-start {
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.align-baseline {
    align-items: baseline;
}

.wrap {
    flex-wrap: wrap;
}

.nowrap {
    flex-wrap: nowrap;
}

.wrap-reverse {
    flex-wrap: wrap-reverse;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: center;
}

.self-end {
    align-self: flex-end;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--gap, 1rem);
}

/* Flow */
.flow > *:where(:not(:first-child)) {
    margin-top: var(--flow-gap, 1rem);
}

/* Container */
.container {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: min(100% - 2rem, 83.75rem);
    height: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* -------------------------------------------------------------------------- */
/*                                   GLOBAL                                   */
/* -------------------------------------------------------------------------- */

body {
    color: hsl(var(--text-color));
    font-family: var(--body-font);
}

/* -------------------------------------------------------------------------- */
/*                                 COMPONENTS                                 */
/* -------------------------------------------------------------------------- */

.page__wrapper {
    background-image: url(../img/tecnomarine-bg.jpeg);
    background-size: cover;
    background-position: center;
    height: 100vh;
}

/* --------------------------------- Sidebar -------------------------------- */

@media screen and (min-width: 768px) {
    .container > div {
        justify-content: flex-end;
    }
}

.content__sidebar {
    background-color: hsl(var(--white-color) / 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    padding: 2.5rem 1.5625rem;
}

@media screen and (min-width: 768px) {
    .content__sidebar {
        height: 100%;
        padding: 1.5625rem;
        width: 31.25rem;
    }
}

.content__sidebar .description {
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin-block-start: 5rem;
    text-align: center;
}

.content__sidebar .descripction-group {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: var(--fw-regular);
    font-style: italic;
    display: flex;
    margin-block-start: 5rem;
    justify-content: flex-end;
    width: 100%;
}

.content__sidebar .sub-logo {
    margin-block-start: 3.125rem;
}

.content__sidebar .sub-logo img {
    width: 5rem;
}