/* Import Google Font */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap');

/* Reset */

html,body,div,p,h1,h2,h3,h4,h5,h6,
ul,ol,li,dl,dt,dd,form,fieldset,caption,
table,tr,td,th, address,blockquote,img {
  margin:0;
  padding:0;
}

img, fieldset {
  border:none;
}

img {
  max-width: 100%;
  object-fit: cover;
}

*, *:after, *:before {
  box-sizing:border-box;
  flex:1 0 auto;
}

/* html, body {
  height:100%;
} */

/* Variables*/

:root {
  /* Colors */
  --primary-hue: 50;
  --secondary-hue: 230;
  --gray-hue: 209;
  --brand-primary: hsl(50, 100%, 50%);
  --brand-secondary:  hsl(230, 100%, 50%);
  --brand-grey-1: hsl(204, 10%, 10%);
  --brand-grey-2: hsl(204, 10%, 20%);
  --brand-grey-3: hsl(204, 10%, 30%);
  --brand-grey-4: hsl(204, 10%, 40%);
  --brand-grey-5: hsl(204, 10%, 60%);
  --brand-grey-6: hsl(204, 10%, 90%);

  /* Font sizes */
  --font-xxl: calc(1.4em * var(--text-multiplier, 1));
  --font-xl: calc(1.2em * var(--text-multiplier, 1));
  --font-l: calc(1em * var(--text-multiplier, 1));
  --font-m: calc(0.8em * var(--text-multiplier, 1));
  --font-s: calc(0.6em * var(--text-multiplier, 1));
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--brand-grey-1) ;
  color:  var(--brand-grey-6);
  font-family: 'Work Sans', Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
  align-items: center;

}

body > * {
  align-items: center;
  padding: 1em;
  min-width: 300px;
}

header,
footer {
  flex-grow: 0;
}

h1, h2 {
  text-align: center;
  margin: 1.5rem 0;
  font-weight:normal;
  text-transform: uppercase;
}

h2 {
  font-size: var(--font-xl);
}

h1 {
  font-size: var(--font-xxl);
}

#hero {
  display: flex;
  flex-flow: column wrap;
  background: url(../img/bg.jpg) no-repeat center/80%; 
  background-size: cover;
  width: 100%;
  border-bottom: 0.2rem solid var(--brand-grey-2) ;

}

#hero h1 {
  color: var(--brand-primary);
  text-shadow: 0.1rem 0.1rem 0.1rem var(--brand-grey-4);
}

#hero img.logo {
  height: auto;
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;

}

#contact span {
  display: inline-flex;
  gap: 2rem;

}

#contact i {
  margin-right: 0.5em;
}

#contact > * {
  font-size: var(--font-l);
}

a {
  text-decoration:none;
  color:  var(--brand-grey-6)
}

a:focus,
a:hover {
  color:  var(--brand-primary);
}

footer {
  font-style: italic;
  font-size: var(--font-s);
  text-align: center;
  color:  var(--brand-grey-3);
  border-top: 0.2rem solid var(--brand-grey-2) ;
}

@media (min-width: 48rem)  {
  :root {
    --text-multiplier: 1.5;
  }
}

@media (min-width: 106rem) {
  :root {
    --text-multiplier: 2;
  }
}
