html,
body,
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
header {
  min-height: 87vh;
  width: 100%;
  background-color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10rem;
  user-select: none;
  background-image: url("../img/hero.png");
  background-position: center center;
  background-size: cover;
  position: relative;
}
.main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.container {
  max-width: 1100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  padding-top: 7rem;
  padding: 0 1rem;
  margin-top: 4rem;
}
.container.snglr {
  margin-top: 1rem;
  max-width: 1200px;
  width: 100%;
}
.magazine {
  min-width: 850px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #ff5c00;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  height: 6rem;
  margin-bottom: 4rem;
}
.snglr .magazine{
  margin-top: 1rem;
}
.magazine__text {
  color: white;
  font-size: 1rem;
  font-weight: 700;
}
.magazine__button {
  color: white;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
  padding: 0.75rem 3rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 1rem;
  text-decoration: none;
}
.magazine__placeholder {
  width: 10rem;
}
.magazine__float {
  position: absolute;
  left: -2rem;
}
.method {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  background-color: #F2C732;
  color: #fff;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 3rem;
}
.method__hidden {
  display: none;
  padding: 1rem 2rem;
  text-align: center;
  background-color: #F6B300;
}
.method h1{
  margin-top: 2rem;
  text-align: center;
}
.method > p {
  padding: 2rem 4rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.method > p[author] {
  padding: 0 4rem 2rem 4rem;
}
.method__button {
  color: #000;
  background-color: #F6B300;
  padding: 0.5rem 0;
  text-align: center;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 0px 0px 5px 5px;
}
.cardFlex {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: stretch;
  width: 100%;
}
.card {
  display: flex !important;
  width: calc(33% - 1rem);
  /* flex-wrap: wrap; */
  position: relative;
  margin: 0 0.6rem 3rem;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: #0f1719;
  flex-direction: column;
}
.card:focus {
  outline: none;
}
.card a {
  text-decoration: none;
  color: white;
}
.card__number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #f6b300;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-weight: 800;
  border-radius: 2px;
}
.card__image {
  background-color: grey;
  height: 0;
  padding-bottom: 56.256%;
  width: 100%;
  border-radius: 5px 5px 0 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.card__image.menten {
  background-position: top;
}
.card__content {
  background-color: #0f1719;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 0 0 5px 5px;
  width: 100%;
  flex-grow: 1;
  flex-direction: column;
  position: relative;
}

.card__content .inner {
  flex-grow: 1;
  width: 100%;
  align-items: center;
}

.card__content a {
  flex-shrink: 0;
}
.card__title {
  width: 100%;
  font-size: 2rem;
  color: #f6b300;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid white;
  margin-bottom: 0.5rem;
}
.card__founders {
  width: 100%;
  color: white;
  padding-bottom: 2rem;
}
.card__founders > div {
  width: 100%;
  font-weight: 600;
  margin-top: 0.25rem;
}
.card__year {
  width: 100%;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 0.25rem 0;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}
.card__year > a:focus {
  outline: none;
}
.card__button {
  background-color: #0281e4;
  color: white;
  text-align: center;
  padding: 1rem 3rem;
  border-radius: 4px;
  box-shadow: 0px 0px 15px rgba(2, 130, 227, 0.5);
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  justify-self: flex-end;
}

.singular {
  width: 100%;
  max-width: 1050px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.singularHead {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
}
.singularTitle {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}
.singularNum {
  position: absolute;
  top: -15px;
  left: -3rem;
  width: 30px;
  height: 30px;
  font-weight: 800;
  border-radius: 2px;
  background-color: #f6b300;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
@media(max-width: 500px){
  .singularNum{
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
  }
}
.singularText {
  font-size: 1.2rem;
  font-weight: 600;
  width: 100%;
  margin-bottom: 2rem;
}
.singularSpec {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  border-top: 1px solid black;
  margin-bottom: 3rem;
}
.specrow {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid black;
}
.year {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid black;
  padding: 1rem 3rem;
  font-weight: 600;
}
.specrow .investors {
  border-left: 1px solid black;
  padding-left: 1rem;
}
.founders,
.offices,
.money,
.investors {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  padding: 1rem 0;
}
.founders > span,
.offices > span,
.money > span,
.investors > span {
  width: 100%;
}
.specrow span[x] {
  font-weight: 600;
  margin-top: 0.25rem;
}
.singularPic {
  width: 100%;
  height: 0;
  background-color: gray;
  border-radius: 7px;
  margin-bottom: 1rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 56.256%;
}
.singularPic.menten {
  background-position: 0 20%;
}
.singularPicText {
  width: 100%;
  text-align: left;
  font-weight: 600;
  margin-bottom: 3rem;
}
.magazine.snglr {
  margin-bottom: 8rem;
}
.card__slick {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
#slider__prev,
#slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
#slider__prev {
  left: -2rem;
  font-size: 2rem;
}
#slider__next {
  right: -2rem;
  font-size: 2rem;
}
.slickWrapper {
  width: 95%;
  max-width: 100%;
  position: relative;
}
.singularquote {
  width: 100%;
  margin-bottom: 3rem;
  padding: 1rem 1rem;
  border-radius: 5px;
}
.singularquote > span {
  background-color: #f6b300;
  padding: 0.5rem 0;
  font-size: 1.5rem;
  line-height: 3rem;
  font-weight: 700;
  box-shadow: 1rem 0px 0px #f6b300, -1rem 0 0 #f6b300;
  font-style: italic;
  color: #0f1719;
}
.relevant {
  width: 100%;
  font-size: 1.5rem;
  max-width: 900px;
}
.relevant > span {
  background-color: #f6b300;
  padding: 0.5rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 5px;
}
.relevant > a {
  font-weight: 400;
  margin-left: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  border-bottom: 2px solid white;
  padding-bottom: calc(0.5rem - 2px);
  transition: 0.3s all;
  line-height: 2.75rem;
  border-bottom: 2px solid black;
}
.nfgrm {
  width: 60%;
  margin-bottom: 2rem;
}
.slick-track {
  display: flex !important;
}

.slick-slide {
  height: inherit !important;
}

.newbadge {
  position: absolute;
  background-color: white;
  top: -28px;
  height: 56px;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  right: 22px;
}
.fhr {
  width: 100%;
  margin: 5rem 0 1rem;
  border-top: 2px solid gray;
}

/************************Mouse Animation***********************/
.mouse {
  margin: 50px auto;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 6.5rem;
}
.mouse-icon {
  width: 25px;
  height: 45px;
  border: 2px solid white;
  border-radius: 15px;
  position: relative;
  text-align: center;
}
.mouse-wheel {
  height: 6px;
  margin: 2px auto 0;
  display: block;
  width: 3px;
  background-color: white;
  border-radius: 50%;
  -webkit-animation: 1.6s ease infinite wheel-up-down;
  -moz-animation: 1.6s ease infinite wheel-up-down;
  animation: 1.6s ease infinite wheel-up-down;
}

@media screen and (max-width: 1550px) {
  .mouse {
    bottom: 8rem;
  }
}

@media screen and (max-width: 1200px) {
  .card {
    width: calc(50% - 1.2rem);
  }
  #slider__prev {
    left: -1rem;
  }
  #slider__next {
    right: -1rem;
  }
}

@media screen and (max-width: 992px) {
  .magazine {
    width: 80%;
    min-width: unset;
    flex-wrap: wrap;
    justify-content: center;
    height: unset;
  }
  .magazine__text {
    width: 100%;
    text-align: center;
    margin: 2rem 0 1rem 0;
    padding: 0 1rem;
  }
  .magazine__button {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  .magazine__float {
    left: -7rem;
  }
  .method > p {
    padding: 2rem;
  }
  .method > p[author] {
    padding: 0 2rem 2rem;
  }
}

@media screen and (max-width: 900px) {
  #slider__prev,
  #slider__next {
    display: none !important;
  }
  .slickWrapper {
    width: 100%;
  }
  header {
    background-image: url("../img/hero768.png");
  }
  .mouse {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .snglr .magazine {
    margin-top: 7rem;
  }
  .nfgrm {
    width: 90%;
  }
  .magazine__text {
    margin: 7rem 0 1rem 0;
  }
  .magazine__float {
    left: unset;
    bottom: 50%;
  }
  .container {
    margin-top: 5rem;
  }
  .relevant {
    font-size: 1.25rem;
  }
  .relevant > a {
    line-height: 2.2rem;
  }
  .singularquote > span {
    font-size: 1.2rem;
    line-height: 2.8rem;
  }
  .singularText {
    font-size: 1rem;
  }
  .specrow {
    flex-wrap: wrap;
    border-bottom: none;
  }
  .founders,
  .offices,
  .money,
  .investors {
    width: 100%;
    border-bottom: 1px solid black;
  }
  .year {
    padding: 1rem 0;
    border-left: none;
    border-bottom: 1px solid black;
    width: 100%;
    justify-content: left;
  }
  .specrow .investors {
    border-left: none;
    padding: 1rem 0;
  }
  .slickWrapper .card {
    margin: 0 0.25rem;
    box-shadow: none;
  }
  .slickWrapper {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .card {
    width: 100%;
  }
  .magazine__text {
    margin: 8rem 0 1rem 0;
  }
  .method > p {
    padding: 2rem 1rem;
  }
  .method > p[author] {
    padding-bottom: 0 2rem 1rem;
  }
  header {
    background-image: url("../img/hero320.png");
  }
}
@media screen and (max-width: 350px) {
  .magazine__text {
    margin: 9rem 0 1rem 0;
  }
  .magazine {
    width: 100%;
  }
}
@-webkit-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}
@-moz-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}
@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

.dcmads{
  display: block;
  max-width: 100%;
  margin-bottom: 3rem;
  height: auto !important;
  width: auto !important;
}

.mobileAd img,
.dcmads img{
  max-width: 100%;
  height: auto;
}

.mobileAd{
  display: none;
  max-width: 100%;
  margin-bottom: 3rem;
}

.dcmads::after,
.mobileAd::after{
  display: block;
  content: "hirdetés";
  text-align: center;
  font-size: .8rem;
  color: rgb(123, 123, 123);
  margin-top: .2rem;
  text-decoration: none !important;
}

a{
  text-decoration: none;
}

@media(max-width: 500px){
  .mobileAd{
    display: block;
  }
  
  .dcmads{
    display: none !important;
  }
}