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

/* Remove default margin */
*{
  margin: 0;
  padding:0;
  font:inherit;
}

/* 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;
}

html,body{
  height:100%;
  font-family: 'Arvo', serif;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* 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;
}

h1{
  color:white;
  font-size:5.5rem;
  margin-top:20px;
  line-height: 5rem;
  color:#2583b0;
}

h2{
  font-size:3rem;
  margin-top:20px;
  font-family: 'Arvo', serif;
  margin-bottom:20px;
  font-weight:400;
}

header{
  background-image:url('img/header-formetica-log-it2.jpg');
  background-position: center;
  background-size: cover;
  min-height:78vh;
  display:flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  color:white;
  text-align:center;
}

.btn-container{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width:100%;
  margin-top:20px;
  margin-bottom:40px;
}

.btn-container a{
  padding:15px;
  background-color:darkorange;
  color:white;
  font-size:2rem;
  margin-top:25px;
}

header img{max-width:200px;margin-top:30px;}

main{
  display:flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width:45%;
  margin:auto;
  text-align: center;
}
main h2{font-weight:700;color:#2583b0;line-height: 3rem;}

main strong{
  font-size:1.5rem;
  font-family: 'Arvo', serif;
  font-weight: 700;
}

#infobox{
  margin-top:50px;
}

footer{
  min-height:5vh;
}


@media screen and (max-width: 600px) {
  h1{
      color:#2583b0;
    font-size: 3rem;
    line-height: 3rem;
    margin-top:20px;
  }
main h2{font-weight: 700;
    line-height: 2rem;
    color: #2583b0;
    font-size: 2.2rem;}
  h2{
    font-size:1.4rem;
    margin-top:20px;
    margin-bottom:20px;
  }

  #infobox{
    margin-top:40px;
  }


  main{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width:90%;
    margin:auto;
    text-align: center;
      font-family: 'Arvo', serif;
  }

  header{
    background-image:url('img/header-formetica-log-it2.jpg');
    background-position: center;
    background-size: cover;
    min-height:68vh;
    display:flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    color:white;
    text-align:center;
  }

  header img{max-width:200px;margin-top:30px;}
}
