html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'cgaramond';
    src: url(Cormorant_Garamond/CormorantGaramond-Light.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'cgaramondbold';
    src: url(Cormorant_Garamond/CormorantGaramond-Bold.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'PlayfairDisplay-Regular';
    src: url(playfair/PlayfairDisplay-Regular.woff) format('woff');
    font-display: swap;
}


@font-face {
    font-family: 'Dosis-Light';
    src: url(dosis/Dosis-Light.woff2) format('woff2');
    font-display: swap;
}

body {
    margin:0;
}

body,h3,h4,h5 {font-family: "Dosis-Light", garamond}
h1,h2 {font-family: "Dosis-Light", garamond}

.w3-content p{
    font-size:22px;
} 

.imgbg {
    width:100%;
    height:100%;
    position: fixed;
    left: 0;
    right: 0;
    top:0;
    z-index:-9999;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
    -webkit-animation: breathing2 15s ease-out infinite normal;
    animation: breathing2 15s ease-out infinite normal;
}

.layout {
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    /* give it dimensions */
    min-height: 10em;
    width: 1320px;
}

#about {
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
    background-color:#fff;
}

.tartalom {
    margin-top:93px;
}

.menu-bar {
    float:right;
    display:none;
}    

.fixed-menu-row {
    position:fixed;
    top:0;
    display: flex;
    flex-wrap: wrap;  
    width:inherit;
    background-color:#fff;
    border-bottom: solid 1px #f7f7f7;
    z-index:200;
}

.segment-1 {
    flex:10%;
    text-align:center;
}

.logo {
    margin-left:15px;
    margin-top:12px;
    height:80px;
    cursor:pointer;
}

.segment-2 {
    flex:80%;
}

.segment-3 {
    width:10%;
}

.segment-5 {
    width: 100%;
    text-align:center;
}


.desktop-menu {
    display:inline-block;

}

.segment-4 {
    flex:100%;
    text-align:center;
}

.segment-4 {
    flex:100%;
    text-align:center;
}

.photography-text {
    font-size:18px;
    letter-spacing: 10px;
    margin-bottom:5px;
    border-bottom: 1px solid #000;
}

.header-image-box {
    display: flex;
    width:100%;
    height: 500px;
}

.header-image-box-blog {
    display: flex;
    width:100%;
    height: 0px;
}

.header-image-box div {
    position:relative;
    width:100%;   
    text-align:center;
    z-index:2;
}

.header-image-box div i {
    cursor:pointer;
    position:relative;
    top:400px;
    font-size:75px;
    color:#fff;
    text-shadow: 2px 2px 8px #000;
}

#scrollToTopBtn i {
    cursor:pointer;
    position:fixed;
    bottom:10px;
    right:10px;
    font-size:75px;
    color:#fff;
    text-shadow: 2px 2px 8px #000;
}

.admin-div {
    border: solid 1x grey;
    background-color:#000;
    color: #fff;
    z-index:10000;
    cursor:pointer;
    padding:5px;
    position:fixed;
    border-bottom: solid 1px #f7f7f7;
    bottom:100px;
    right:0;
}

ul {
    padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.desktop-menu span {
    float:left;
    margin-left:15px;
}

.grey a h2 {
    opacity:0.6;
}

.blue a h2 {
    color:#2d98da;
}

.socials-div {
    padding-top:16px;
    float:left;
}

.desktop-menu span:last-child {
    margin-right:15px;
}

.desktop-menu span a {
    text-decoration: none;
    color:#000;
    text-shadow: 2px 2px 8px #fff;
    text-transform: uppercase;
}

.menu2 a i {
    font-size:20px;
}

.desktop-menu span a h2 {
    margin-bottom:0;
    font-size: 1.4em;
}

.img-bg {
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the*/
    background-color:black;
    margin-top:93px;
}

.mobile-bg {
    display:none;
}

.whitetext20 {
    color: #fff;
    font-size:20px;
    text-shadow: 2px 2px 8px #000;
}

.greytext16 {
    color: #757575;
    font-size:16px;
}

.blacktext20 {
    color: #000;
    font-size:20px;
}

.bloglist-container {
    margin-top:93px;
}

.bloglist {
    text-decoration:none;
    background-color:#fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.bloglist h2 {
    position:relative;
    font-size:16px;
    letter-spacing: 8px;
    text-align:left;
    padding:10px;
    margin:0;
}

.bloglist h2 span {
    font-size:12px;
    letter-spacing: 4px;
}

.bloglist img {
    width:100%;
}

.about-img {
    width:100%;
    text-align:center;
}

.about-img div p {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.about-img div {
    text-align:justify;
    margin:0;
    width:100%;
    float:right;
    display:inline-block;
}

.about-img img {
    width:50%;
    margin-right:15px;
    margin-bottom:10px;
    float:left;
    display:inline-block;
}

.footer-text {
    width:100%;
    text-align:center;
}

.footer-text p {
    text-align:justify;
    margin:0;
    width:100%;
    float:left;
    display:inline-block;
}
 
 
/* clearfix */
.grid:after {
 content: '';
 display: block;
 clear: both;
}
  
.grid-item {
    width:31.33%;
    margin:1%;
}

/*anims*/
  
    .imagecontaineranim {
    transform-style: preserve-3d;
    perspective:1500px;
  }
    .imagecontaineranim img {
        transition: 0.5s;
        transform-style: preserve-3d;        
   }

  .imagecontaineranim img:hover {
    transform: rotateY(0deg) scale(1.05);
    z-index: 1;
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
  }

.breathing-anim {
    -webkit-animation: breathing 5s ease-out infinite normal;
    animation: breathing 5s ease-out infinite normal;

}

.opacity-anim {
    animation-name: opacity;
    animation-duration: 0.35s;   
}

.shrink-anim {
    animation: shrink-screen 7s infinite alternate;    
}

.flooding-anim {
    animation: flooding 6s infinite;    
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }

.reveal_activated{
    position: relative;
    animation: reveal_activated 1s ease;
  }  
  
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

.diagonal-anim {
    animation: gradient 7s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*.zooming-anim:hover {
    animation: zooming 6s infinite;    
}*/

.active-anim a h2 {
    opacity:1;
    border-bottom: solid 1px #000;
    margin-bottom:-1px !important;
}

@keyframes opacity {
    from {opacity:0}
    to {opacity:1;}
}

@keyframes shrink-screen {
    0% {
      background-size: 110% auto;
    }
    100% {
      background-size: 100% auto;
    }
}

@keyframes shrink-mobile {
    0% {
      background-size: auto 110%;
    }
    100% {
      background-size: auto 100%;
    }
}

  
@keyframes zooming {
    0% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
  
    25% {
      -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
      transform: scale(1.05);
    }
  
    100% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
  }

@keyframes reveal_activated {
    0% {
        transform: translateY(150px);
      }
      100% {
        transform: translateY(0);
      }    
}

@keyframes flooding {
    0% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(1deg);
    }

    70% {
        transform: rotate(-1deg);
    }

    70% {
        transform: rotate(0deg);
    }    

}

@-webkit-keyframes breathing {
    0% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
  
    25% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    60% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
  
    100% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
  }
  
  @keyframes breathing {
    0% {
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
    }
  
    25% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
  
    60% {
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
    }
  
    100% {
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      transform: scale(0.9);
    }
  }

  @keyframes breathing2 {
    0% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
  
    80% {
      -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
      transform: scale(1.1);
    }
  
    100% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
  }  

@media only screen and (max-width: 1320px) {
    .layout {
        width: 100%;    
    }  
    
    .imgbg {
        display:none !important;
    }

    .desktop-menu {
        display:ruby;
    }    
  
    .socials-div span {
        display:inline-block !important;
    }    
    
}

@media only screen and (max-width: 760px) {
    .w3-content p{
        font-size:19px;
    }     

    .menu-bar {
        display:none;
    }

    .segment-1 {
        flex:100%;
    }
    
    .segment-2 {
        flex:100%;
    }
    
    .segment-3 {
        flex:0%;
    }
    
    .shrink-anim {
        animation: shrink-mobile 7s infinite alternate;    
    }

    .photography-text {
        font-size:14px;
        letter-spacing: 6px;
    }  
    
    .header-image-box {
        margin-top:85px;
    }

    .desktop-menu span a h2 {
        font-size:1em;
        margin:0;
    }
    
    .segment-1 {
        display:none;
    }

    .mobile-bg {
        display:inherit;
    }
    .desktop-bg {
        display:none;
    }

    .socials-div {
        padding-top:0px;
    }
    
}

@media only screen and (max-width: 420px) {
    .w3-content p{
        font-size:17px;
    }     

    .header-image-box {  
        margin-top:70px;
    }

    .header-image-box div {
        width:100%;
        display:inline-block;
        padding-left: 0;
        padding-right: 0;
    }
    
    .header-image-box div i {
        top:200px;
    }    

    .photography-text {
        font-size:12px;
        letter-spacing: 4px;
    }    

    .grid-item .bloglist:nth-child(odd) {
        width:98%;
        margin:1%;
    }    
    
    .grid-item .bloglist:nth-child(even) {
        width:98%;      
        margin:1%;
    }

    .grid-item:nth-child(odd) {
        width:49%;
        margin:0;
        margin-bottom:2%;
        margin-right:1%;
    }    
    
    .grid-item:nth-child(even) {
        width:49%;      
        margin:0;
        margin-bottom:2%;
        margin-left:1%;
    }    

    .desktop-menu {
        text-align:center;
    }

    .desktop-menu li {
        margin-left:12px;  
    }

    .bloglist h2 {
        font-size:12px;
        letter-spacing: 4px;
    }

    .bloglist h2 span{
        font-size:10px;
        letter-spacing: 2px;
    }

    .bloglist-container {
        margin-top:114px;
    }

    .about-img img {
        width:100%;
        margin-right:0;
    }    

}

.darkmodebtn i {
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 75px;
    color: #fff;
    text-shadow: 2px 2px 8px #000;    
}

.light {
    color: #000; 
}

.dark {
    color: #fff;
}

.dark .w3-content,.dark .fixed-menu-row, .dark #about {
    background-color:#000;
    
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;          
}

.light .w3-content,.light .fixed-menu-row, .light #about {
    background-color:#fff;
    
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;          
}

.dark .blacktext20 {
    color: #fff; 
}

.light .blacktext20 {
    color: #000; 
}

.dark .desktop-menu span a {
    color: #fff;
    text-shadow: none;
}

.light .desktop-menu span a {
    color: #080808;
}

.dark .bloglist-container h2 {
    background-color:#000;
    border: solid 1px grey;
}

.light .bloglist-container h2 {
    background-color:#fff;
}

.dark .photography-text, .dark .fixed-menu-row {
    border-bottom: 1px solid grey;
}

.dark #simple-cookie-consent .cookie-consent-container {
    background-color:#000;
}

@media only screen and (max-width: 420px) {
    .darkmodebtn i {
        font-size: 50px;
    }

    #scrollToTopBtn i {
        font-size: 50px;
    }

}

