@font-face {
  font-family: Oxanium;
  src: url("Oxanium-Regular.ttf");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: peru;
  color: white;
  font-family: 'Oxanium', cursive;
  /*font-size: 1.2vw;*/
}

@media only screen and (min-width: 1500px){
  body{
    font-size: 1.2vw;
  }
}

a {
  text-decoration: none;
}

main .cim,
h2 {
  color: teal;
  margin: 20px auto;
  animation-name: szinez;
  animation-duration: 5s;
}

@keyframes szinez {
  from {
    color: aqua;
  }

  to {
    color: teal;
  }
}

img.logo {
  width: 35%;
  margin: 50px auto;
}

#black-sunrise img {
  width: 95%;
  height: auto;
  margin: 10px auto;
  border-radius: 10px;
}

main {
  width: 90%;
  margin: 40px auto;
  border: 2px solid brown;
  box-shadow: 16px 12px 8px chocolate;
  border-radius: 5px;
  background-color: white;
  color: #555;
  height: auto;
  text-align: center;
  padding: 2%;
}

/* Ha mobil menü lenyílik, ne lógjon rá a tartalomra */
@media only screen and (max-width: 740px) {
  main {
    margin-top: 180px;
  }
}

article {
  text-align: left;
  margin: 20px auto;
}

article p {
  line-height: 1.4;
  margin-bottom: 10px;
}

article .balra {
  width: 40%;
  float: left;
  padding-right: 10px;
  margin-top: 10px;
  border-radius: 10px;
}

article .jobbra {
  width: 25%;
  padding-left: 10px;
  float: right;
  margin-top: 10px;
  /* */
}

article .middle {
  width: 70%;
  margin: 10px auto;
  border-radius: 10px;
  text-align: center;
  padding: 5px; 
  border-top-left-radius: 20px;
}

article .middle:hover {
  opacity: 0.8;
  transition: 0.8s;
  box-shadow: 1px 2px 1px 1px peru;
  z-index: 0;
}

article::after {
  content: "";
  clear: both;
  display: table;
}

.cikk {
  text-align: center;
  color: #4d0000;
}

.video {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-top: 5%;   
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  border: 1px solid brown;
  border-radius: 8px;  
  background-image: url('../img/videoBackg.jpg');
  background-size: 100% 100%;
}

/* A kártyák rendeződjenek hármas oszlopokba */
.column {
  float: left;
  width: 32%;
  padding: 0 10px;
  margin-left: 1%;
}

.row {
  margin: 0 -5px;
}

/* Töröljük a float-olásokat a sorok után, nehogy gubancot csináljon */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* A kártya stílusa */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 8px;
  border: 1px solid teal;
  border-radius: 5px;
  text-align: center;
  z-index: 0;
  /*background-color: #f1f1f1;*/
  background: linear-gradient(to bottom, #66ffff 0%, beige 100%);
  margin-bottom: 20px;
  transition: all .8s ease-out .1s;
  word-break: break-all;
}

.card:hover {
  transform: scale(1.01);
  /*(3)*/
  box-shadow: 5px 10px 5px 2px #2F4F4F;
  z-index: 0;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border-bottom-left-radius: 14px;
}

.card img.kep{
  width: 100%;
  height: 200px;
  border-radius: 4px;
  object-fit: contain;  
}

.card h3 {
  font-size: 1.8em;
  color: #502916;
}

.column a {color: #444;}

/* 600 pixel screen szélesség utén egy oszlop legyen */
@media screen and (max-width: 700px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  .card h3,   
  h1,
  h2,
  h3 {
    font-size: 1rem;
  }

}
/* <--- Card-ok vége ---*/

.doboz {
  border-radius: 5px;
  border: 1px solid bisque;
  padding: 20px;
  width: 80%;
  margin: 40px auto;
  text-align: center;
  color: black;
  background: linear-gradient(to right, #ffba66 0%, beige 100%);
  /*background-color: beige;*/
  box-shadow: 4px 5px 4px 2px peru;
  word-break: break-word;
}

.bal_oszlop {
  float: left;
  width: 50%;
  margin-top: 2px;
  padding-right: 5%;
  text-align: right;
  font-weight: bold;
}

.jobb_oszlop {
  float: left;
  width: 50%;
  margin-top: 2px;
  padding-left: 5%;
  text-align: left;
}

/* Az úsztatást (float) törlöm minden sor után  */
.sor:after {
  content: "";
  display: table;
  clear: both;
}

/* ha a képernyő szélessége kevesebb, mint 700 képpont, akkor a jobb és bal oszlopot
helyezze egymásra, ne pedig egymás mellé  */
@media screen and (max-width: 776px) {
  .bal_oszlop,
  .jobb_oszlop {
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
  input:invalid, input:valid{
    display: inline-block;
  }
}

/* INPUT FORM*/
fieldset{
  padding-right: 1vw;
  padding-bottom: 10px;
  /*background-color: beige;*/
  box-shadow: 4px 5px 4px 2px peru;
  background: linear-gradient(to right, #ffc680  0%, beige 100%);
}

legend, fieldset p, #mailCim{
  margin: 10px;
  padding: 8px;
  background-color: peru;
  color: #222;
  border: 1px solid red;
  border-radius: 8px;
}

input[type=text], input[type=email], 
input[type=number], input[type=tel],
input[type=date], input[type=time],
select, textarea 
{
  width: 100%;
  padding: 12px;
  border: thin solid grey;
  border-radius: 4px;
  resize: vertical;
  background-color: #FFFACD;  
  margin-top: 10px;
  margin-left: -3vw;
  font-weight: bold;
  font-size: large;
}
input::placeholder{color: #777;}

label {
  padding: 10px 10px;
  display: inline-block;  
  margin-top: 10px;
  margin-right: -3vw;
  /*background-color: rgba(135, 67, 18, 0.8);*/
  color: #444;
}

label.error{
  color: red;
}

input:required, select:required{
  border: 2px solid red;
  color: red;
}
input:required::placeholder{
  color: red;
}

input:focus, select:focus, textarea:focus{
  background-color: white; 
  color: #222;   
}

.gomb {
  text-transform: uppercase;
  font-size: 1.1em;
  background-color: rgb(135, 67, 18);
  margin-top: 10px;
  padding: 12px;
  color: white;
  border: 1px solid #502916;
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.gomb:hover {
  background-color: #502916;
  box-shadow: 5px 12px 16px 5px peru;
  border: 1px solid maroon;
}

input:invalid+span:after {
  content: '✖';
  padding-left: 5px;
}

input:valid+span:after {
  content: '✓';
  padding-left: 5px;
}
/*-- input vége --*/

/* --- G A L É R I A --- */
.kepsor {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  overflow: hidden;
}

/*Négy egyforma oszlop egymás mellett */
.imgoszlop {
  flex: 24%;
  max-width: 25%;
  padding: 0 4px;
  overflow: hidden;
}

.imgoszlop img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  overflow: hidden;
}

.galeriakep {
  width: 100%;
  border-radius: 6px;
  transition: all .8s ease-out .1s;
  transition-delay: 0.4s;
}

.galeriakep:hover {
  cursor: zoom-in;
  /*transform: rotate(3deg) scale(1.05, 1.0);*/
  filter: brightness(120%);
  border-radius: 20%;
}

/* 800px képszélességnél átvált kettes oszlopra */
@media screen and (max-width: 800px) {
  .imgoszlop {
    flex: 50%;
    max-width: 48%;
  }
}

/* 600px után csak egy oszlop marad */
@media screen and (max-width: 600px) {
  .imgoszlop {
    flex: 100%;
    max-width: 100%;
  }
}
/* <---Galéria eddig ---*/

/* -- M O D A L O K -- */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(67, 33, 9, 0.8);
}

/*-- A galéria MODALja --*/
.modalImage {
  margin: auto;
  display: block;
  width: auto;
  height: 80vh;   
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: white;
  padding: 10px 0;
  height: 150px;
}

.bezar {
  position: absolute;
  top: 50px;
  right: 35px;
  color: lime;
  font-size: 2.6em;
  font-weight: bold;
  transition: 0.3s;
}

.bezar:hover,
.bezar:focus {
  color: red;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modalImage {
    width: 100%;
  }
  input:invalid, input:valid{
    display: inline-block;    
  }
}

/* -- A connect Modalja --*/
.modal.active {
  display: block;
  background-color: rgb(0, 0, 0);
  background-color: rgba(67, 33, 9, 0.8);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: auto;
  padding: 0;
  border: 1px solid white;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: gordul;
  animation-duration: 0.4s
}

@keyframes gordul {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

.close {
  color: lime;
  float: right;
  font-size: 2.2em;
  font-weight: bold;
}

.shut {
  color: lime;
  float: right;
  font-size: 1em;
  font-weight: bold;
  margin-top: -2px;
  border: 1px solid lime;
  padding: 2px 4px;
  background-color: brown;  
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.shut:hover,
.shut:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
  background-color: aquamarine;
  border: 1px solid red;
}

.modal-header {
  padding: 12px 16px;
  background-color: #502916;            
  text-align: center;
  color: white;
}

.modal-body {
  padding: 10px 16px;
  color: #444;  
}

.modal-footer {
  padding: 2px 16px;
  background-color: #ff9380;
  color: white;
}

.modal .button {
    display: inline-block;
    border-radius: 4px;
    background-color: teal;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 1rem;
    padding: 5px 20px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }

  .modal .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .modal .button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .modal .button:hover span {
    padding-right: 25px;
  }
  
  .modal .button:hover span:after {
    opacity: 1;
    right: 0;
  }
/* -- Modalok eddig -- */

footer {
  /*position: absolute;*/
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  height: auto;
  width: 100%;
  padding-top: 10px;
  color: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.footer-content h3 {
  text-transform: capitalize;
  line-height: 1.4;
}

.footer-content p {
  max-width: 500px;
  margin: 5px auto;
  line-height: 1.2;
  font-size: 0.9em;
  color: #cacdd2;
}

.socials {
  list-style: none;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 1rem 0;
  border-top: 1px solid #444;
}

.socials li {
  margin: 0 10px;
  display: inline-block;
}

.socials a {
  text-decoration: none;
  padding: 5px;
}

.socials a img {
  width: 25px;
  transition: color .4s ease;
}

.socials .service{
  width: 80px;
  transition: color .4s ease;
  border: 2px solid white;
  border-radius: 30%;
  background-color: #4d0000;
  padding: 10px;
}

.footer-bottom {
  background: #000;
  width: 100%;
  padding: 10px;
  padding-bottom: 30px;
  text-align: center;
}

.footer-bottom p {
  float: left;
  font-size: 0.9em;
  word-spacing: 2px;
  text-transform: capitalize;
}

.footer-bottom p a,
.footer-content p a {
  color: #44bae8;
  font-size: 1em;
  text-decoration: none;
}

.footer-bottom span {
  text-transform: uppercase;
  opacity: .4;
  font-weight: 200;
}

@media only screen and (max-width: 767px) {
  footer.socials {
    width: 300px;
  }

  footer .socials li {
    color: red;
    display: block;
  }
}

/* Modalok gombjai*/
.button {
  vertical-align: middle;
}

hr {
  width: 50%;
  margin: 30px auto;
  color: beige;
}

.inicial {
  font-size: 2em;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: teal;
  text-shadow: 2px 2px turquoise;
}
