@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@font-face {
    font-family: Arizonia-Regular;
    src: url("media/Arizonia-Regular.ttf");
}
@font-face {
  font-family: 'handwriting';
  src: local('handwriting'), url('fonts/handwriting.ttf');
}
body {
    overflow-x: hidden !important;
} 
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background:  #999999;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #CF4C00; 
}
::-webkit-scrollbar-track {
    background:  #666666; 
}
::selection {
    background: #d35e1a;
}
* {
    padding: 0;
    margin: 0;
    
}
button {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
}
h1 {
    padding: 20px;
    color: white;
    justify-content: center;
    text-align: center;   
}
h3 {
    padding: 0px 0px 20px 0px;
    color: white;
    justify-content: center;
    text-align: center;
    font-family: Arizonia-Regular, "Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 500;
    border-top: 2px #CF4C00 solid;
    border-bottom: 4px #FFF solid;
    border-width: 3px 0 0 0;
    border-radius: 20px;
    background-image: radial-gradient(farthest-side at 50% -50%, rgba(207, 76, 0, 0.9), rgba(0, 0, 0, 0));
    
}
h4 {
    padding: 0px 0px 20px 0px;
    color: white;
    justify-content: center;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    border-bottom: 2px #CF4C00 solid;
    
}
h6 {
    padding: 20px 0;
    color: white;
    justify-content: center;
    text-align: center; 
}
a {
    text-decoration: none;
}
/* h1::before {
    content: "";
    position: absolute;
    height: 10px;
    background-color: #6e6e6e;
    top: 50px;
    right: 0;
    width: 9000px;
    z-index: -5;
}
h1::after {
    content: "";
    position: absolute;
    height: 10px;
    background-color: #6e6e6e;
    top: 50px;
    width: 9000px;
    z-index: -5;
} */
hr {
    position: relative;
    height: 20px;
    margin: 20px auto;
    width: 80%;
    background-image: radial-gradient(farthest-side at 50% -50%, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0));
    border: none;
}
.wrapper {
    background-image: linear-gradient(115deg, #818181 0%, #363a3f 74%);
    background-repeat: repeat-x;
    /*transform-style: preserve-3d;*/
    /*z-index: 9;*/
}
.container {
    /*height: 100vh;*/
    /*width: 100%;*/
    background-image: linear-gradient(115deg, #818181 0%, #363a3f 74%);
    background-image: url('media/bg trees.png');
    background-repeat: repeat-x;
    background-position: bottom;

}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 4rem;
    background-color: #CF4C00;
    border-bottom: 3px solid #fff;
}
.menu {
    /* max-width: 30rem; */
    /* width: 100%; */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;

}
.logo {
    position: absolute;
    font-size: 1.5rem;
    font-family: Arizonia-Regular;
    color: #505050;
    z-index: 9;
}

@media (orientation: landscape) {
    .logo {
        padding: 0px 70px;
        float: left;
   }
   
} 
.logo span {
    font-family: Arizonia-Regular;
    color: #ffffff;
}
.back {
    position: absolute;
    top: 60px;
    left: 260px;
    font-size: 1.2rem;
    font-family: "Poppins", sans-serif;
    color: #CF4C00;
    text-transform: uppercase;
}
@media (orientation: portrait) {
    .back {
        top: 60px;
        left: 189px;
   }
}
.text {
    position: absolute;
    color: white; 
    /* text-shadow: 12px 12px black; */
    top: 103%; 
    left: 0; 
    width: 100%;
    font: 40px Montserrat; 
    text-transform: uppercase;
    text-align: center;
    transform: rotateX(10deg); 
    transform-origin: top;
    z-index: 9;
}
@media screen and (max-device-width : 481px), (max-device-height : 481px), (orientation: portrait) {
    .text {
        display: none;
    }
}

.main {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    background-image: url("media/space.svg");
    background-size: contain;
    background-repeat: repeat-x;
    transition: 0.5s;
    z-index: 5;
}
.main-page {
    position: relative;
    min-height: 100vh;
    transform-style: preserve-3d;
    
    
   
}
.news-page {
    position: relative;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    margin: 0px 50px;
    color: #fff;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    
    
}
@media (orientation: portrait) {
    .news-page {
        margin: 0px 28px;
        padding: 150px 0px 50px 0px;
   }
}
.gallery-page {
    position: relative;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    margin: 0px 50px;
    color: #fff;
    justify-content: center;
    text-align: center;
    font-size: 20px;
}
.videos-page {
    position: relative;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    margin: 0px 50px;
    color: #fff;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    
}
@media (orientation: portrait) {
    .videos-page {
        padding: 150px 0px 50px 0px;
        margin: 0 28px;
   }
   
} 
.about-page {
    position: relative;
    min-height: 100vh;
    padding: 150px 50px 50px 50px;
    margin: 0px 50px;
    color: #fff;
    justify-content: center;
    text-align: center;
    font-size: 20px;
}
@media (orientation: portrait) {
    .about-page {
        padding: 150px 0px 50px 0px;
        margin: 0;
   }
   
} 
.video {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

.video iframe {
    
    top: 0;
    left: 0;
    justify-content: center;
    text-align: center;
}
@media (orientation: portrait) {
    .video iframe {
        width: auto;
        height: 100%;
   }
  
} 
.video-grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
}
.header {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #272727;
    position: relative;
    transition: 0.6s;
    height: 100vh;
    top: 0px;
    left: 0px;
    box-shadow: 11px 62px 12px -30px rgba(0, 0, 0, 0.8);
    z-index: 3;
}
@media (orientation: portrait) {
    .header {
        box-shadow: none
   }
  
} 
.header.home {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: url("media/first.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;
    /* -webkit-box-reflect: below 10px linear-gradient(transparent,transparent, black); */
    z-index: 9;
}
@media (orientation: portrait) {
    .header.home {
        background: url("media/pacific no bg.png") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
} 
.header.home:hover {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
}
@media (orientation: portrait) {
    .header.home:hover {
        background: url("svg/home-svgrepo-com.svg") no-repeat center / contain;
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
} 
.header.news {
    display: none;
    min-height: 100vh;
    width: 100%;
    background: url("media/MonsterTruck.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;  
    z-index: 9;
}
@media (orientation: portrait) {
    .header.news {
        background: url("svg/fire-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
} 
.header.news:hover  {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
    z-index: 9;
}
@media (orientation: portrait) {
   .header.news:hover {
        background: url("svg/fire-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
}
.header.gallery {
    display: none;
    min-height: 100vh;
    width: 100%;
    background: url("media/Son.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;
    z-index: 3;
}
@media (orientation: portrait) {
    .header.gallery {
        background: url("svg/camera-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
} 
.header.gallery:hover  {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
}
@media (orientation: portrait) {
    .header.gallery:hover {
        
        background: url("svg/camera-svgrepo-com.svg") no-repeat center / contain;
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
}
.header.videos {
    display: none;
    min-height: 100vh;
    width: 100%;
    background: url("media/Sand.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;
    
    z-index: 9;

}
@media (orientation: portrait) {
    .header.videos {
        background: url("svg/cinema-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
}  
.header.videos:hover {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
}
@media (orientation: portrait) {
    .header.videos:hover {
        background: url("svg/cinema-svgrepo-com.svg") no-repeat center / contain;
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
} 
.header.youtube {
    display: none;
    min-height: 100vh;
    width: 100%;
    background: url("media/Sea.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;
    
    z-index: 9;
    
}
@media (orientation: portrait) {
    .header.youtube {
        background: url("svg/go-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
} 
.header.youtube:hover {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
}
@media (orientation: portrait) {
    .header.youtube:hover {
        background: url("svg/go-svgrepo-com.svg") no-repeat center / contain;
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
} 
.header.about {
    display: none;
    min-height: 100vh;
    width: 100%;
    background: url("media/Shells.webp") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,100px) scale(0.5);
    transition: 0.6s;
    transform-style: preserve-3d;
    transform-origin: left;
    
    z-index: 9;
    
}
@media (orientation: portrait) {
    .header.about {
        background: url("svg/gear-svgrepo-com.svg") no-repeat center / contain;
        
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,60px) scale(0.5);
   }
} 
.header.about:hover {
    min-height: 100vh;
    width: 100%;
    background: url("media/logo about.png") no-repeat center center / cover;
    position: relative;
    transform: perspective(900px) rotateY(20deg) translate3d(110px,0px,110px) scale(0.5);
    transition: 0.6s;
}
@media (orientation: portrait) {
    .header.about:hover {
        background: url("svg/gear-svgrepo-com.svg") no-repeat center / contain;
        transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,70px) scale(0.5);
   }
   
} 
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(43, 51, 59, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (orientation: portrait) {
    .overlay {
        background-color: unset;
   }
   
} 
.inner {
    max-width: 35rem;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    
}
@media (orientation: portrait) {
    .inner {
        display: none;
   }
} 
.title {
    font-size: 2.7rem;
}
.btn {
    margin-top: 1rem;
    padding: 0.6rem 1.8rem;
    background-color: #CF4C00;
    border: none;
    border-radius: 25px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

li {
    list-style: none;
}
.links {
    position: absolute;
    display: flex;
    height: 100vh;
    width: 34%;
    right: 10px;
    top: 0;
    /* justify-content: center; */
    align-items: center;
    color: #CF4C00;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
    z-index: 9;
}
.links a {
    display: flex;
    color: rgb(209, 209, 209);
    line-height: 3rem;
    padding: 0 20px;
    margin: 10px;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(10px);
    animation: hide 0.5s forwards ease;
    /* border: #CF4C00 2px solid; */
}
@media (orientation: portrait) {
    .links a {
        font-size: 0.7rem;
        line-height: 1.7rem;
    }
}

.links a:hover {
    
    padding: 0 42px;
    color: #fff;
    border-left: solid #CF4C00 2px;
    box-shadow: 15px 0px 15px -16px #CF4C00 inset;
    text-shadow: 0 0px 4px #FFF, 5px 0px 10px #ff0, 16px 0px 20px #CF4C00, 20px 0px 40px #F00;
}
.container .links a {
    animation: appear 0.8s forwards ease var(--i);
   
}
@keyframes appear {
    from {
      opacity: 0;
      transform: translateY(150px);
    }
    to {
      opacity: 1;
      transform: translateY(0px);
    }
}
  
@keyframes hide {
    from {
      opacity: 1;
      transform: translateY(0px);
    }
    to {
      opacity: 0;
      transform: translateY(100px);
    }
}
.shadow {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: left;
    transition: 0.5s;
    background-color: white;
    box-shadow: 11px 62px 12px -30px black;
    
}
@media (orientation: portrait) {
    .shadow {
        display: none;
   }
   
} 
.shadow.one {
    /*filter: blur(3px);*/
    opacity: 0.7;
    background-color: #CF4C00;
    transform: perspective(900px) rotateY(20deg) translate3d(60px,0px,100px) scale(0.45);
    /* -webkit-box-reflect: below 10px linear-gradient(transparent,transparent, black); */
    z-index: -1;
    
}
@media (orientation: portrait) {
    .shadow.one{
       transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,30px) scale(0.5);
   }
}  
.container.active .shadow.one {
    animation: shadow-one 0.6s ease-out;
    
}
@keyframes shadow-one {
    0% {
      transform: translate(0);
    }
  
    5% {
      transform: perspective(1300px) rotateY(20deg) translateZ(310px) scale(0.5);
    }
  
    100% {
      transform: perspective(1300px) rotateY(20deg) translateZ(215px) scale(0.5);
    }
}
.shadow.two {
    /*filter: blur(5px);*/
    opacity: 0.3;
    background-color: #999999;
    transform: perspective(900px) rotateY(20deg) translate3d(20px,0px,100px) scale(0.40);
    /* -webkit-box-reflect: below 10px linear-gradient(transparent,transparent, black); */
    z-index: -2;
}
@media (orientation: portrait) {
    .shadow.two{
        transform: perspective(900px) rotateY(20deg) translate3d(10px,0px,0px) scale(0.5);
   }
}  
.img {
    display: none;
    z-index: -1;
}

.column-row {
    float: left;
    width: 33.3%;
    margin: 16px;
    /* background-color: #CF4C00; */
    box-shadow: 1px 1px 1px 1px rgba(255, 255, 255, 0.7) inset, 1px 1px 1px 1px rgba(0, 0, 0, 0.6);
    
}
@media screen and (max-width: 650px) {
    .column-row {
      width: 100%;
      display: block;
    }
}
.column-row:hover {
    box-shadow: 1px 1px 11px 5px #ffffff;
    
}
@media screen and (max-width: 650px) {
    .column-row:hover {
      width: 100%;
      display: block;
    }
}
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6);
    background-color: rgb(0, 0, 0);
    border: 1px white solid;
    
}
.container-about {
    padding: 0 16px;
}
.container-about::after, .row::after {
    content: "";
    clear: both;
    display: table;
}
.title-about {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}
#title-about {
    color: #999;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}
.side-a {
    flex: 30%;
    background-color: #CF4C00;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
.side-b {
    flex: 70%;
    background-color: #ffffff;
    box-sizing: border-box; 
    font-family: "Poppins", sans-serif;
}
.side-c {
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #ffffff;
    color: #272727;
    font-family: "Poppins", sans-serif;
}
.avatar {
    height: auto;
    max-width: 100%;

}
.works {
    position: absolute;
    min-height: 70vh;
    width: 100%;
    aspect-ratio: 3/2;
    background: url("media/U3.png") no-repeat top center / cover;
    transform: perspective(900px) rotateY(20deg) translate3d(0px,0px,0px) scale(1);
    top: 0px;
   
    z-index: 3;

}

.flower-container {
    display: flex;
    align-items: center;
    height: 400px;
    position: relative;
    font-family: Verdana, sans-serif;  
    overflow: hidden;
}
.flower  {
    display: flex;
    align-items: center;
    justify-content: center; 
    position: absolute;
    right: 160px;
}
.flower::after {
    content: "";
    background-image: url("media/demo.png");  background-position: center;
    background-repeat: no-repeat;
    background-size: 200px;
    width: 400px;
    height: 400px;
    position: absolute;
    animation-name: full-rotate;
    animation-duration: 60s;
    animation-iteration-count: infinite;
}
.message {
    display: flex;
    width: 80px;
    height: 80px;
    position: relative;
 
}
.message-text {
    background: #CF4C00;
    border-radius: 20px;
    padding: 30px 210px 30px 40px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
    margin: 20px 200px 20px 0;
}
.message-text b {
    display: block;
    margin-top: 10px;
    text-align: right;
}

@keyframes full-rotate {
   
    100% {
        transform: rotate(360deg);
    }
}
@media (max-width: 767px) {
    .flower-container {
        height: auto;
        display: block;
        
    }
    .flower  {
        margin-top: 180px;
        position: static;
    }
    .message-text {
        padding: 150px 20px 10px 20px;
        color: #ffffff;
        font-size: 18px;
        line-height: 1.5;
        margin: 20px 10px;
        
        text-align: center;
        
        
    }
}
#timer {
    position: relative;
    font-family: "Poppins", sans-serif;
    text-shadow: 0px 1px 5px #fff;
    text-shadow: 2px 5px 10px #ffffff;
}
#demo {
    position: relative;
    padding: 5px;
    color: #000000;
    background-image: radial-gradient(farthest-side at 50% -50%, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0));
    font-family: "Poppins", sans-serif;
}
#footer {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%);
    color: #a3a3a3;
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    padding: 10px 10px;
    z-index: 9;
}
.blog {
    margin-top: 20px;
 }
.blog h1 {
    font-size: 2rem;
    margin-bottom: 60px;
    text-align: center;
}
.team {
    display: flex;
    justify-content: center;
    width: auto;
    text-align: center;
    flex-wrap: wrap;
    
    
}
.team p {
    padding: 0 10px;
    font-size: 1rem;
}
.team .team_member {
    position: relative;
    background: rgb(0, 0, 0);
    border-radius: 10px;
    margin: 5px;
    margin-bottom: 50px;
    width: 300px;
    padding: 20px;
    line-height: 20px;
    color: #ffffff;  
    
}
.team .team_member:hover {
    box-shadow: 0 0px 12px rgba(245, 57, 0, 0.87), 0 10px 20px rgba(255, 145, 82, 0.863);
   
}
.team .team_member h3{
    color: #CF4C00;
    font-size: 26px;
    margin-top: 50px;
}
.team .team_member p.role {
    color: #999999;
    margin: 12px 0;
    font-size: 12px;
    text-transform: uppercase;
}
.team .team_member .team_img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
}
.team .team_member .team_img img {
    width: 100px;
    height: 100px;
}


.grid * {
    box-sizing: border-box;
    
}
.grid {
    margin-top: 80%;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 30px;
    row-gap: 30px;
    padding: 20px 0;
    
}
/* Кол-во блоков на разных экранах */
@media only screen and (max-width: 1200px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
@media only screen and (max-width: 900px) {
    .grid {
        grid-template-columns: 2fr;
    }
}
@media only screen and (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
.grid-item {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.2);
    transition: box-shadow .3s;
    width: 100%;
    height: 100%;
    background: #666666;
    z-index: 9;
    overflow: hidden;
}
.grid-item .image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}
.grid-item .info {
    position: relative;
    height: calc(100% - 200px);
    padding: 16px 14px 80px 14px;
}
.grid-item:hover {
    box-shadow: 0 3px 12px rgba(245, 57, 0, 0.87), 0 16px 20px rgba(255, 145, 82, 0.863);
}
.grid-item .image img  {
    transition: transform 280ms ease-in-out;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;    
}
/* .grid-item:hover .image img  {
    transform: scale(1.1);
} */
.info h2 {
    font-family: "Poppins", sans-serif;
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}
.info-text p {
    font-size: 15px;
    line-height: 20px;
    font-family: Verdana, sans-serif; 
    margin-bottom: 10px;
}
.info-text p:last-child {
    margin-bottom: 0;
}
.grid-item .button-wrap {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.atuin-btn {
    display: inline-flex;
    text-decoration: none;
    position: relative;
    font-size: 20px;
    line-height: 20px;
    padding: 12px 30px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-transform: uppercase; 
    font-family: 'Roboto', Тahoma, sans-serif;
    background: #CF4C00;
    cursor: pointer; 
    border: 2px solid #f8f8f8;
    border-radius: 50px;
}





 /* GALLERY */

.title-gallery {
    color: #000000;
}
.gallery-img {
    display: flex;
    flex-wrap:wrap;
    position: relative;
    justify-content: center;
}
.gallery-img .image {
  padding: 7px;
  width: calc(100% / 3);
}
.gallery-img .image span {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.gallery-img .image img {
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
}
.gallery-img .image:hover img {
  transform: scale(1.1);
}
.preview-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 70%;
  width: 100%;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}
.preview-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details {
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 10px;
  justify-content: space-between;
}
.preview-box .details .title-gallery {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details .title-gallery p {
  margin: 0 5px;
  color: #000000;
}
.details .title-gallery p.current-img {
  font-weight: 500;
}
.details .icon {
  color: #CF4C00;
  font-size: 20px;
  cursor: pointer;
}
.preview-box .image-box {
  display: flex;
  width: 100%;
  position: relative;
}
.image-box .slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  height: 50px;
  width: 60px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
}
.slide.prev {
  left: 0px;
}
.slide.next {
  right: 0px;
}
.image-box img {
  width: 100%;
  border-radius: 0 0 0px 0px;
}
.shadow-img {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0,0,0,0.45);
  
}
@media(max-width: 1000px) {
  .gallery-img .image{
    width: calc(100% / 2);
    
  }
}
@media(max-width: 600px) {
  .gallery-img .image{
    width: 100%;
    padding: 4px;
    
  }
}

/* NEWS */

.map {
    position: absolute;
    /* width: 100%;
    height: auto; */
    margin: 120px 0px;
    height: auto;
    width: 85%;
    left: 50%;
    transform: translate(-50%);
    /*display: inline-block;*/
    z-index: 9;
}
.ogre {
    position: absolute;
    top: 51%;
    left: 50.2%;
    color: #CF4C00;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
}
.ogre:hover {
    position: absolute;
    top: 47.4%;
    left: 49.8%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
}
.riga {
    position: absolute;
    top: 45%;
    left: 42.2%;
    color: #999999;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
    cursor: not-allowed;
}
/* .riga:hover {
    position: absolute;
    top: 47.4%;
    left: 49.8%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
} */
.ventspils {
    position: absolute;
    top: 31%;
    left: 7.2%;
    color: #999999;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
    cursor: not-allowed;
}
/* .ventspils:hover {
    position: absolute;
    top: 47.4%;
    left: 49.8%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
} */
.lilaste {
    position: absolute;
    top: 39%;
    left: 42.6%;
    color: #CF4C00;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
}
.lilaste:hover {
    position: absolute;
    top: 35.5%;
    left: 42.2%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
}
.liepaja {
    position: absolute;
    top: 56%;
    left: 3%;
    color: #CF4C00;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
}

.liepaja:hover {
    position: absolute;
    top: 52%;
    left: 2.6%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
    
}
.bauska {
    position: absolute;
    top: 58%;
    left: 43%;
    color: #CF4C00;
    font-size: 3vw;
    text-shadow: 2px 2px #000000;
    font-family: "Poppins", sans-serif;
}

.bauska:hover {
    position: absolute;
    top: 55%;
    left: 43%;
    color: #fff;
    font-size: 3vw;
    background-color: #CF4C00;
    border-radius: 10px;
    padding: 5px 5px 25px 5px;
    clip-path: polygon(100% 0, 100% 70%, 50% 100%, 0 70%, 0 0);
    transition: 400ms ease-out 20ms;
    
}
.article-container {
    margin: 75% 0;
}
.flexone {
    flex: 1;
}
.category {
    color: #fff;
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
}
.country {
    color: #CF4C00;
}
.groups {
    margin: 0 auto;
    width: 100%;
    height: auto;
    padding: 10px;
    height: auto;
    max-width: 1200px;
   
}
.groups li {
    position: relative;
    list-style: none;
    
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s;
}
.groups li:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 14px 5px #0005;
}
.groups .card-news {
    overflow: hidden;
    display: block;
    background-color: #66666625;
}
.groups .image-session {
    float: left;
    overflow: hidden;
    margin-right: 20px;
}
.groups .image-session .image {
    width: 280px;
    height: 220px;
    display: block;
    background-size: cover;
    background-position: center;
}
.groups .meta-sission {
    position: relative;
    padding: 15px;
    display: block;
    height: 220px;
}
.groups .meta-sission .head {
    display: flex;
    margin-bottom: 10px;
}
.groups .meta-sission .head .catogry {
    list-style: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}
.meta-sission .head .per span,
.meta-sission .head .per input {
    display: block;
    font-size: 10px;
    text-align: right;
}
.meta-sission .head .per input {
    -webkit-appearance: none;
    height: 5px;
    border-radius: 5px;
    background: #0001;
    margin-bottom: 4px;
    overflow: hidden;
}
.meta-sission .head .per input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0;
    box-shadow: -100px 0 0 100px #CF4C00;
}
.groups .body-news .title-news {
    height: 60px;
    overflow: hidden;
    font-size: 16px;
}
.groups .body-news .desc {
    height: 45px;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 13px;
}
.groups .footer-news .button {
    position: absolute;
    bottom: 20px;
    right: 25px;
    background: #CF4C00;
    color: #fff;
    line-height: 2.2;
    padding: 0 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 1px 6px 0 #0004;
    transition: all 0.3s;
}
.groups .footer-news .button:hover {
    box-shadow: 0 3px 8px 0 #0005;
    background: #ffffff;
    
    color: #CF4C00;
}
.groups .footer-news .views {
    display: block;
    font-size: 12px;
    margin-top: 40px;
}
.title-news {
    border-top: 3px solid;
    border-image: linear-gradient(to right,#CF4C00,#d6d6d6,#CF4C00) 1 0 0 0;
    padding: 20px 0;
}
@media screen and (max-width:780px) {
    .groups {
        width: 96%;
    }
    .groups li:hover {
        transform: none;
        box-shadow: none;
    }
}
@media screen and (max-width:560px) {
    .groups .image-session {
        float: none;
        margin-right: 0;
    }
    .groups .image-session .image {
        width: 100%;
    }
}

.lazy {
    filter: blur(5px) grayscale(1);
}   
    #stars {
    position: absolute;
    width: 1.5px;
    height: 1.5px;
    background: transparent;
    animation: Star 2s linear;
    box-shadow: 200px -2px #fff;
}
#stars2 {
    position: absolute;
    width: 1px;
    height: 1px;
    background: transparent;
    animation: Star2 3s linear 3.5s;
    box-shadow: 500px -2px #fff;
}
@keyframes Star {
    0% {
        transform: scale(1.5) skew(-30deg) translateY(0px);
        
    }
    90% {
        transform: skew(-30deg) translateY(270px);
        opacity: 0.3;
        
    }
    100% {
        transform: skew(-30deg) translateY(270px);
        opacity: 0.01;
    }

}
@keyframes Star2 {
    0% {
        transform: skew(-35deg) translateY(0px);
        opacity: 1;
    }
    90% {
        transform: skew(-35deg) translateY(270px);
        opacity: 0.5;
        
    }
    100% {
        transform: skew(-35deg) translateY(270px);
        opacity: 0.1;
    }
}
