/*Styles Css*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Baloo 2', cursive;
}
body {
  background-image: url('background.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: #fff;
  font-weight: 900;
  font-size: 2.3rem;
  text-align: center;
  margin-top: 5%;
}
header .modern {
  box-shadow: 4px 4px 9px 4px rgba(67, 65, 79, 0.1);
  background-color: #e11f25;

  transform: rotate(-2deg);
  -ms-transform: rotate(-2deg);
  -webkit-transform: rotate(-2deg);
  display: inline-block;
}
header .modern span {
  color: #fff;
  display: inline-block;
  transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
}
main {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5% 0;
}
main .infos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 48%;
}
main .infos .box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
  width: 48%;
  min-height: 100px;
}
main .infos .box .title {
  font-weight: bold;
  font-size: 1.4rem;
  margin: 10px 0;
}
main .infos .box .subtitle {
  font-weight: 500;
  font-size: 1.1rem;
  margin: 10px 0;
  text-align: center;
}
main .video {
  min-height: 100px;
  height: 410px;
  border: 1px solid #086c99;
  border-radius: 10px;
  border-width: 4px;
  width: 48%;
}
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer button {
  background-color: #e11f25;
  border-radius: 10px;
  border-color: #e11f25;
  padding: 10px;
  width: 70%;
  margin-bottom: 30px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  border-style: solid;
  -webkit-box-shadow: 0px 0px 11px 0px rgba(8, 8, 8, 1);
  -moz-box-shadow: 0px 0px 11px 0px rgba(8, 8, 8, 1);
  box-shadow: 0px 0px 11px 0px rgba(8, 8, 8, 1);
}
footer button:hover {
  background-color: #086c99;
  border-color: #086c99;
  opacity: 0.9;
  cursor: pointer;
}
footer img {
  max-width: 50%;
}

@media (max-width: 320px) {
  header {
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  header {
    font-size: 1.4rem;
    padding-top: 10%;
    margin-bottom: 20%;
  }
  main {
    flex-direction: column;
  }
  main .infos {
    margin-bottom: 80px;
    width: 90%;
  }
  main .infos .box {
    min-height: 240px;
  }
  main .infos .box .title {
    font-size: 1rem;
  }
  main .video {
    width: 90%;
    height: 300px;
  }
  footer button {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  header {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  header {
    font-size: 1.5rem;
  }
  main {
    flex-direction: column;
  }
  main .infos {
    margin-bottom: 80px;
    width: 90%;
  }
  main .infos .box {
    min-height: 240px;
  }
  main .infos .box .title {
    font-size: 1rem;
  }
  main .video {
    width: 90%;
    height: 400px;
  }
  footer button {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1rem;
  }
}
