/* ================components======================= */
:root{
    /* ----colors----- */
    --clr-white: 0 0% 100%;
    --clr-light: 212 45% 89%;
    --clr-dark: 218 44%  22%;
    --clr-accent: 220 15% 55%;

    /* -----fonts------ */
    --fs-400: .9rem;
    --fs-300: .6rem;

    /* border radius */
    --bd-rad: 15px;

    /* -------font-family---------- */
    --ff-outfit: 'Outfit', sans-serif;
}
@media (min-width: 47.5em){
    :root{
      /* -----fonts------ */
    --fs-400: 1rem;
    --fs-300: .7rem;

    }
 
}

/* Box sizing rules */
*,
*::before,
*::after {
  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 {
  max-height: 50px;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  text-align: center;
}

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

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  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 {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------- */
/* ------------utilities--------------- */
/* ------------------------------------ */
body{
  font-family: 'Outfit', sans-serif;
  max-width: 100%;
  max-height: 10px;
}
.main{
  margin: auto;
  width: 100%;
}
.container{
    margin-inline: auto;
    max-width: 15em;
    width: 60%;
    padding: .7em .7em 2.5em .7em;
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    border-radius: var(--bd-rad);
}

.bg-white{background-color: hsl(var(--clr-white));}
.bg-gray{background-color: hsl(var(--clr-light));}
.bg-dark{background-color: hsl(var(--clr-dark));}
.bg-blue{background-color: hsl(var(--clr-accent));}

.text-blue{color: hsl(var(--clr-accent));}
.text-dark{color: hsl(var(--clr-dark));}

.image{
   height: 100%;
   border-radius: var(--bd-rad);
}

.fs-400{
  font-size: var(--fs-400);
}
.fs-300{
  font-size: var(--fs-300);
}
.fw-400{
  font-weight: 400;
}
.fw-700{
  font-weight: 700;
}
.flow{
  margin-top: 15px;
}