body {
  background-color: rgb(242, 221, 226);
  margin: 0;
}

img{
  pointer-events: none;
}

.container{
  height: 100svh;
  overflow-y: auto; /*Így a container-en belül tudunk görgetni, nem magát a body-t*/
  overflow-x: hidden; /*Nincs oldalra görgetés*/
  perspective: 10px;
}


section {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  font-size: 1.3rem;
  padding: 2rem;
  background-color: rgb(242, 221, 226);
  color: white;
  text-align: center;
}

.idézet {
  font-size: 3.5rem; 
  font-weight: 500;
  font-family: "Tangerine", sans-serif;
  color: black;
  background-color: rgb(242, 221, 226);
}

.rólam {  
  background-color: rgb(242, 221, 226);
  color: gray;
  padding-left: 5%;
  padding-right: 5%;
  padding: 10px;

 
}

p{
   display: flex;
   margin: 10px;
   justify-content: center;
   padding-left: 5%;
   padding-right: 5%;
}

@media screen and (min-width: 450px) {
  p{
   padding-left: 20%;
   padding-right: 20%;
  }

}

.galery_pic {    
    height: 35svh;
    width: 35svh;
    object-fit: cover;
    padding: 1%;
}

.galéria{
  display: flex;
  flex-direction: row;
  align-content: center;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;

}

.button{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: rgb(242, 221, 226);
  padding-bottom: 45px;
}

button {
  
  padding: 15px 30px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: white;
  background-color: rgb(206, 186, 197);
  border: none;
  border-radius: 15px;
  box-shadow: 0 2px #999;
  margin: 15px;

}

h1 {
;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  text-shadow: 0 0 5px black; 
  height: 40svh;
  width: 100%;
  transform: translateY(60svh);
  background-color: rgb(200, 200, 200, .6);

}

header{
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.background{
  
  margin: auto;
  width: 100%; 
  position: absolute;
  height: 100%;  
  object-fit: cover;
  z-index: -1;
  transform: translateZ(-5px) scale(1.5);
  animation-name: fadeIn;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
}

.background2{
  
  margin: auto;
  width: 100%; 
  position: absolute;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: translateZ(-5px) scale(1.5);

}


.név {
 
  color: rgb(241, 241, 241);
  font-size: 6rem;
  font-family: "Tangerine", sans-serif;
  letter-spacing: 0.6rem;   

}
.foglalkozás {
  
  display: block;
  font-size: 2rem;
  font-family: 'Ephesis', cursive;
  letter-spacing: 0.2rem;
  color: #CCCCCC;
}


@media screen and (max-width: 450px) {
  .név {
    font-size: 5rem;
  }
}

a {
  text-decoration: none;  
  color: black;
}

.kövess {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  font-size: 1.2rem;
  text-align: center; 
  background-color: rgb(206, 186, 197, .3);
  padding: 20px;
 

}

.insta_logo{
  height: 25px;
  width: 25px;
  margin: -10px;
}

.insta_szöveg1{
  margin-top: 10px;
  margin-bottom: 0px;
}

.insta_szöveg2{
  margin-top: 0px;
  margin-bottom: 10px;  
}



.bottom {
  height: 90svh;
}

footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-content: center;
  color: white;
  background-color: rgb(255, 231, 231);
  font-size: 0.8rem;
  text-align: center;  
  color: gray;
  padding-top: 10px;  
}

.footer{
  margin: 0;  
}

.gallery { /*Galéria oldal*/
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  background: none;
  overflow-y: auto; /*Így a container-en belül tudunk görgetni, nem magát a body-t*/
  overflow-x: hidden; /*Nincs oldalra görgetés*/
  flex-direction: row;
  justify-content: center;
 
  padding-top: 50px;

}


.gallery_pic2 {        
    width: 40svh;
    object-fit: cover;
    padding: 1%; 


}

@media screen and (min-width: 450px) {
  .galery_pic2 {    
    width: 50%;
  }
}

.onePage{
  height: 50svh;
}

.arlista{
   margin: auto;
  width: 100%;   
  height: 100%;  
  object-fit: cover;
}

.footer2{
  transform: translateY(0svh);
}

/*Navigációs menü*/

.topnav {
  display: flex;
  background-color: rgb(0, 0, 0, .3);
  position: fixed;
  width: 100%; 
  flex-direction: row;
  justify-content: space-around;   
}

.topnav a {
  display: flex;
  float: center;  
  color: #f2f2f2;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}


/* ERROR LOG */

/*1. .lorem text box doesn't fit on screen
      REASON: scale(1.5) so it is displayed in 150%