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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 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 root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    background-color: var(--sandy-dunes);
}

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

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

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

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
         -o-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* End Reset */

/* GLOBAL */
img, input[type="image"], video, embed, iframe, marquee, object, table {
    aspect-ratio: attr(width) / attr(height);
}

video {
    width: 100%;
    height: auto;
}

iframe {
    border: 0;
    padding: 0;
}

.rounded {
    border-radius: 8px;
    overflow: hidden;
}

.rounded.right {
    border-radius: 0 8px 8px 0;
}

.rounded.left {
    border-radius: 8px 0 0 8px;
}

:root {
    --sandy-dunes: #F5F2EB;
    --light-bg:  rgba(255, 255, 255, 0.5);
    --slate-gray: #373836;
    --mrl-orange: #F4762D;
    --light-slate: rgb(55,56,54);
}

a {
    cursor: pointer;
}

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

/* Tiles & Containers */
.container-page {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1600px;
    min-width: 768px; /* remove before publishing */
    margin: 0 auto;
}

.container-page.flex {
    display: flex;
}

.tile-1600x640 {
    width: 100%;
    height: auto;
    max-width: 1600px;
    max-height: 640px;
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
}

.tile-800x800 {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 800px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.tile-1600x100 {
    width: 100%;
    height: auto;
    max-width: 1600px;
    max-height: 100px;
    aspect-ratio: 16 / 1;
    overflow: hidden;
}

/* for testing only */
.tile-1600x800 {
    width: 100%;
    height: auto;
    max-width: 1600px;
    max-height: 800px;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    display: flex;
}
