p, h1, h2, h3 {
  font-family: 'Fira Sans',serif;
}

.header {
  background-image: url('../images/header-image.jpg');
  background-position: center;
  background-size: cover;
  height: 664px;
  width: 100%;
  max-width: 1920px;
  border: 30px solid white;
  overflow: hidden;
}

.header-text {
  padding: 100px 0;
}

.header-text h2,h3, p {
  color: white;
}

.header-text h1 {
  color: #8d88ff;
  font-weight: 900;
  font-style: italic;
  font-size:195px;
  text-align: center;
  z-index: -911;
}

.header-text h2 {
  font-size:35px;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  letter-spacing: 2px;
  z-index: 2;
  margin-top:-85px;
}

h2.header-title-magyar {
  font-size:52px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  margin-bottom: -65px;
  margin-top: 0px;
}

.header-text p {
  /*padding: 50px 50px 0 0;*/
  font-size: 18px;
  text-align: justify;
}

.header .forbes-logo {
  margin-left:80px;
  margin-top:25px;
}

img.header-arrow {
  margin-top:-60px;
  animation-delay: 0s;
}

.social-icons {
  color:white;
}

.social-icons i{
  padding-right:10px;
  animation-delay: 0.8s;
}

.social-icons a{
  color: #fff;
}

.social-icons a:hover{
  color: #f4f4f4;
}

.cards {
  margin-left:55px; /* Kártya távolsága az oldal bal szélétől  */
  margin-top: 25px;
  margin-bottom: 25px;
}

.card-item {
  margin: 0 -40px 0 0; /* Kártya távolsága egymástól */
  text-align: center;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  position: relative;
}

.mercedes-ad {
  margin-left: 80px; /* Hírdetés távolsága az oldal bal szélétől */
}

.mercedes-ad::after {
    color: rgb(153, 153, 153);
    content: "▴hirdetés";
    display: block;
    font-size: 8px;
    height: auto;
    letter-spacing: 2px;
    text-align: center;
    padding: 2px;
    margin-left: -80px;
}

.card-item:hover {
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.card-item h3 {
  font-size:50px;
}

.card-item p {
  font-size:16px;
}

.card-content-v2 h3.videoton   {
  padding-top: 5px;
  font-size: 24px;
}

#longtext {
  font-size: 20px;
}

.card-content {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding-top:15px;
  width: 255px;
  height: 180px;
}

.flip-icon {
  position: absolute;
  top: 10%; /* Flip-icon távolsága a kártya belsejétől */
  right: -5%;
}

img.flip-icon  { /* Flip-icon mérete */
  width: 18px;
  height: 18px;
}

.circle {
  position: absolute;
  top: 5%; /* Kör távolsága a kártya belsejétől */
  left: -9%;
  width: 40px;
  height: 40px;
  line-height: 35px;
  border-radius: 50%; /* the magic */
  border: 2px solid white;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  color: white;
  text-transform: uppercase;
}

.circle p {
  font-size:21px;
}
.circle p#szazadik {
  font-size:18px;
}

.keszitok {
  margin:50px 0;
}

.keszitok p {
  color: #808080;
  font-weight: 300;
}

.forbes-ujsag {

    position: fixed;
    z-index: 2;
    top:0px;
    right: 0px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: flex-end;
    width: 150px;
    height: 100vh;
    text-align: right;
}

.forbes-ujsag img {
  -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.go-top {
  display: none;
}

.forbes-ujsag img:hover {
  transform: scale(1.4);
  -webkit-transform-origin: center right;
  -moz-transform-origin: center right;
  -ms-transform-origin: center right;
  transform-origin: center right;
}

.oldal-teteje {
  margin:0;
}

.oldal-teteje p {
  color: #808080;
  font-weight: 300;
}

.oldal-teteje img {
  margin-bottom: 20px;
}

.footer {
  height: 80px;
  width: 100%;
  background-color: black;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.footer img {
  margin-bottom: 14px;
}

.footer-content {
    margin:0;
    padding-top:18px;
}

.kartya-harmas-sor {
  margin-left: 50px;
}

.kartyak-sor {
  display: inline-block;
}

#utolso {
  margin-bottom: 25px;
}

/* --- Mobile Switch CSS --- */

.mobile-switch {
  text-align: center;
  margin: 0 auto;
  margin-top: 25px;
  font-size: 17px;
}

.switch-container {
  width: 360px;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b5b5b5;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 29px;
  width: 29px;
  left: 3px;
  bottom: 2.55px;
  background-color: white;
  box-shadow: 0 2px 8px #424242;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #5b9cee;
}

input:focus + .slider {
  box-shadow: 0 0 1px #5b9cee;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* --- Mobile Switch CSS --- */

.card {
  width: 306px;
  height: 183px;
  border: 0px;
  margin-left:30px; /* Kártya távolsága az oldal bal szélétől  */
  margin-top: 25px;
  z-index: 1;
}

.card-back {
  width: 306px;
  height: 183px;
  -webkit-transform: rotate(4deg); /* Safari */
  -ms-transform: rotate(4deg); /* IE 9 */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ed5564;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

.content {
  position: relative;
  width: 306px;
  height: 183px;
  -webkit-transition: transform 1s;
  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.card:hover .content {
  -webkit-transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  -ms-transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  -webkit-transition: transform 1.5s;
  transition: transform 1.5s;

}

.flipped {
  -ms-transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  -webkit-transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  transform: rotate(3deg) rotateY( 180deg ) rotate(3deg);
  -webkit-transition: transform 1.5s;
  transition: transform 1.5s;
}

.front,
.back {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ed5564;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

/* --- Piros szín --- */

.front-piros,
.back-piros {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ed5564;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-piros {
  background: #ed5564;
  color: white;
  -ms-transform: rotateY( 180deg );
  -webkit-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}

.card-back-piros {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ed5564;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Piros szín vége --- */

/* --- Sárga szín --- */

.front-sarga,
.back-sarga {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ffce55;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-sarga {
  background: #ffce55;
  color: white;
  -ms-transform: rotateY( 180deg );
  -webkit-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}

.card-back-sarga {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #ffce55;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Sárga szín vége --- */

/* --- Türkiz szín --- */

.front-turkiz,
.back-turkiz {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #48cfae;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-turkiz {
  background: #48cfae;
  color: white;
  transform: rotateY( 180deg );
}

.card-back-turkiz {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #48cfae;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Türkiz szín vége --- */

/* --- Kék szín --- */

.front-kek,
.back-kek {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #5b9cee;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-kek {
  background: #5b9cee;
  color: white;
  transform: rotateY( 180deg );
}

.card-back-kek {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #5b9cee;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Kék szín vége --- */

/* --- Narancs szín --- */

.front-narancs,
.back-narancs {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #fb6e52;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-narancs {
  background: #fb6e52;
  color: white;
  transform: rotateY( 180deg );
}

.card-back-narancs {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #fb6e52;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Narancs szín vége --- */

/* --- Szürke szín --- */

.front-szurke,
.back-szurke {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #666c78;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 10px;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.back-szurke {
  background: #666c78;
  color: white;
  transform: rotateY( 180deg );
}

.card-back-szurke {
  width: 306px;
  height: 183px;
  -ms-transform: rotate(4deg); /* IE 9 */
  -webkit-transform: rotate(4deg); /* Safari */
  transform: rotate(4deg); /* Standard syntax */
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #666c78;
  border-radius: 10px;
  opacity: 0.3;
  z-index: -2;
}

/* --- Szürke szín vége --- */

.front h3,.front-piros h3, .front-sarga h3, .front-turkiz h3, .front-kek h3, .front-narancs h3, .front-szurke h3 {
  margin-top: -5px;
}

.front p.milliok, .front-piros p.milliok, .front-sarga p.milliok, .front-turkiz p.milliok, .front-kek p.milliok, .front-narancs p.milliok, .front-szurke p.milliok {
  margin-top:-10px;
  opacity: 0.7;
  font-size: 18px;
  font-weight: 500;
}

p.ertek {
  margin-top:10px;
  font-size: 18px;
  font-weight: 500;
}

.back {
  background: #ed5564;
  color: white;
  -ms-transform: rotateY( 180deg );
  -webkit-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}

.card-content-v2 {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding-top:10px;
  width: 80%;
}

.card-content-v2 h3 {
  font-size:50px;
}
