/*header.header {
  background-color: #ffda79 !important;
}*/

div.hero {
  background-color: #f1f6f7;
  padding: 24px 0;
}

@media screen and (min-width: 768px) {
  div.hero {
    padding: 70px 0;
  }
}

div.hero div.block {
  position: relative;
}

@media screen and (min-width: 768px) {
  div.hero div.block {
    display: grid;
    grid-template-columns: 280px 30% 1fr;
    gap: 0 32px;
  }
}

div.hero div.block > div[class^='bg-'],
div.hero div.block > div.flag {
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 16px;
}

div.hero div.block > div.bg-left {
  background-image: url(https://www.flaticon.com/svg/static/icons/svg/3854/3854759.svg);
}

div.hero div.block > div.bg-404 {
  background-image: url(https://www.flaticon.com/svg/static/icons/svg/1231/1231324.svg);
}

div.hero div.block > div.flag {
  border-radius: 50%;
  background-image: url(https://www.flaticon.com/svg/static/icons/svg/197/197579.svg);
  box-shadow: 0 0 0 4px #aaa;
}

@media screen and (min-width: 768px) {
  div.hero div.block > div[class^='bg-'],
  div.hero div.block > div.flag {
    width: 260px;
    height: 260px;
  }
  
  div.hero div.block > div.flag {
    box-shadow: 0 0 0 8px #aaa;
  }
}

@media screen and (max-width: 768px) {
  div.hero h1 {
    font-size: 36px;
    line-height: 42px;
    width: 80%;
  }
}

@media screen and (min-width: 768px) {
  div.hero h1 {
    font-size: 52px;
    line-height: 58px;
  }
}

div.hero h1 > span {
  color: #396;
}

/*@media screen and (max-width: 768px) {
  div.hero h1 > span {
    display: inline-block;
  }
}*/

@media screen and (min-width: 768px) {
  div.hero h1 > span {
    border-bottom-width: 8px;
  }
}

div.hero h1 > span:not(.text) {
  display: none;
}

div.hero h2 {
  margin-top: 24px;
  font-size: 18px;
  line-height: 20px; 
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  div.hero h2 {
    margin-top: 24px;
    line-height: 24px;
  }
}

div.hero ul {
  margin: 32px 0;
  padding: 0;
  list-style-type: none;
}

div.hero ul > li {
  display: flex;
  align-items: center;
  font-size: 18px;
  padding-right: 24px;
  margin-bottom: 10px;
}

div.hero ul > li::before {
  font-family: Font Awesome\ 5 Free;
  content: '\f00c';
  font-size: 16px;
  margin-right: 16px;
  background-color: #b1cc19;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

div.block > div.heading {    
  font-size: 26px;
  margin-top: 44px;
  font-weight: bold;
}

div.heading-sub {
  color: #838383;
  font-size: 15px;
  margin-top: 4px;
}

/*div.hero {
  margin-top: -32px;
}*/

div.hero div.search {
  background-color: #fff;
  box-shadow: 0 0 0 3px #2d3436;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  div.hero div.search {
    margin-top: 48px;
    margin-right: -80px;
  }
}

div.hero div.search > input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: bold;
  padding: 0 24px;
  background-color: transparent;
}

@media screen and (min-width: 768px) {
  div.hero div.search > input {
    font-size: 19px;
  }
}

div.hero div.search > button {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  margin: 4px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  outline: none;
  background-color: #dc4955;
  color: #fff;
  cursor: pointer;
}

div.hero div.search > button:before {
  font-family: Font Awesome\ 5 Free;
  content: '\f061';
  font-size: 18px;
  margin-right: 8px;
  -webkit-animation: bounceRight 1s ease alternate infinite;
     -moz-animation: bounceRight 1s ease alternate infinite;
      -ms-animation: bounceRight 1s ease alternate infinite;
       -o-animation: bounceRight 1s ease alternate infinite;
          animation: bounceRight 1s ease alternate infinite;
}

@keyframes bounceRight {
  50% {
    -webkit-transform:translateX(-4px);
    transform:translateX(-4px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@media screen and (min-width: 768px) {
  div.hero div.search > button {
    font-size: 18px;
  }
}

div.hero div.search > button:hover {
  opacity: 0.6;
}

div.banners-container div.banners {
  margin: 0 -20px;
  padding: 32px 20px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-stop: always;
  scroll-snap-type: x mandatory;
}

@media screen and (min-width: 768px) {
  div.banners-container div.banners {
    all: initial;
    padding: 24px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
  }
}

div.banners-container div.banners::-webkit-scrollbar {
  display: none;
}

div.banners-container div.banners > div.offset {
  min-width: 1px;
}

div.banners-container div.banners > div.banner {
  flex: 0 0 auto;
  background-color: #fff;
  /*box-shadow: 0 0 8px 8px rgba(0,0,0,0.1);*/
  min-height: 50vh;
  padding: 24px;
  margin-right: 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;    
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 768px) {
  div.banners-container div.banners > div.banner {
    min-width: 80vw;
    max-width: 80vw;
  }
}

@media screen and (min-width: 768px) {
  div.banners-container div.banners > div.banner {
    min-height: 340px;
    margin: 0;
  }
}

div.banners-container div.banners > div.banner > div.preview {
  position: absolute;
  top: -32px;
  right: -32px;
  width: 160px;
  height: 160px;
  border: 8px solid #e6e6e6;
  border-radius: 50%;
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
}

div.banners-container div.banners > div.banner.one > div.preview {
  border-color: #00bcd4;
  background-image: url(https://www.nvidia.com/content/dam/en-zz/Solutions/geforce/graphic-cards/20-series/rtx-v2/geforce-rtx-on-hero-1350x770-l.jpg);
}

div.banners-container div.banners > div.banner.two > div.preview {
  border-color: #396;
  background-image: url(https://www.ninjamarketing.it/wp-content/uploads/2018/11/amazon-logo.jpg);
}

div.banners-container div.banners > div.banner.three > div.preview {
  border-color: #ffeb3b;
  background-image: url(https://tecnouser.net/wp-content/uploads/2019/03/PC-Gaming-Apex-Legends.jpg);
}

@media screen and (min-width: 768px) {
  div.banners-container div.banners > div.banner > div.preview {
    top: -64px;
    right: -64px;
    width: 240px;
    height: 240px;
  }
}

div.banners-container div.banners > div.banner > div.bottom {
  max-width: 54%;
}

div.banners-container div.banners > div.banner > div.bottom > .title {
  font-size: 24px;
  font-weight: 600;
  line-height: 26px;
}

@media screen and (min-width: 768px) {
  div.banners-container div.banners > div.banner > div.bottom > .title {
    font-size: 34px;
    line-height: 40px;
  }
}

div.banners-container div.banners > div.banner > div.bottom > .subtitle {
  margin-top: 8px;
  color: #838383;
  font-size: 15px;
}

div.banners-container div.banners > div.banner > a.cta {
  color: inherit;
  display: inline-flex;
  padding: 12px 16px 8px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 12px;
  border-bottom: 4px solid rgba(0,0,0,0.1);
}

div.banners-container div.banners > div.banner > a.cta:after {
  font-family: Font Awesome\ 5 Free;
  content: '\f061';
  margin-left: 8px;
  font-size: 16px;
}

@media (min-width: 768px) {
	div.banners-container div.banners > div.banner > a.cta {
    margin-top: 16px;
	}
}

div.banners-container div.banners > div.banner > a.cta:hover {
  box-shadow: 0px 0px 0 8px rgba(0,0,0,0.1);
}

div.banners-container div.banners > div.banner > a.cta:active {
  transform: translateY(1px);
  border-bottom-width: 3px;
}


div.banners-container div.banners > div.banner.one > a.cta {
  background-color: #00bcd4;
  color: #fff;
}

div.banners-container div.banners > div.banner.two > a.cta {
  background-color: #396;
  color: #fff;
}

div.banners-container div.banners > div.banner.three > a.cta {
  background-color: #ffeb3b;
}
