@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Montserrat:ital,wght@0,600;1,600&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1, h2, h3{
    font-family: 'JetBrains Mono', sans-serif;
}
html body p{
    font-family: 'Montserrat', sans-serif;
}
html, body{
    line-height: 1.5;
    background-color: #1d1d1d;
}
.container{
    margin: auto;
    padding: 0 20px;
    overflow: auto;
}

/* scroll */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #272727;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
::-webkit-scrollbar-corner{
    border-radius: 10%;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* navbar ja footer */
#navbar{
    background-color: #1d1d1d;
    overflow: auto;
    font-family: 'JetBrains Mono', sans-serif;
}
#navbar ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    overflow: hidden;
    height: 1vmin;
    height: 6vmax;
}
#navbar ul li a{
    display: block;
    text-align: center;
    font-size: calc(1vw + 0.9vh);
    color: #fff;
    padding: 20px;
    text-decoration: none;
    line-height: 40px;
    transition: all 0.3s ease;
}
#navbar ul li a:hover{
    /*background-color: #00000021; */
    color:#ff8a2a;
    transform: translateY(10px);
}
#navbar img{
    width: calc(16vw + 9vh);
    transition: all 0.3s ease;
    pointer-events: none;
}
footer{
    background-color: #1d1d1d;
    overflow: auto;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 1em;
    font-family: 'JetBrains Mono', sans-serif;
}

/* kogu showcase ning selle sisu */
#showcase{
    position: relative;
    background-color:#000;
    overflow: hidden;
    width: 100%;
}
#showcase video{
    justify-content: center;
    align-items: center;
    display: flex;
    pointer-events: none;
    filter: brightness(40%);
}
#showcase-text{
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    pointer-events: none;
}
#showcase-text a{
    pointer-events: all;
}
#showcase-text h1{
    font-size: 5vw;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    transition: all 0.3s ease;
}
#showcase-text p{
    font-size: 2.2vw;
    color: #fff;
    font-family: 'JetBrains Mono', sans-serif;
    transition: all 0.3s ease;
}
#btn-meist{
    font-size: calc(1vw + 0.9vh);
    font-family: 'JetBrains Mono','Montserrat',  sans-serif;
    text-decoration: none;
    color: #fff;
    border-bottom: solid #fff 5px;
    border-radius: 10%;
    padding: 5px;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 20px;
    width: 15vw;
    transition: all 0.3s ease; 
}
#btn-meist:hover{
    background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.4));
    transform: translateY(-5px);
    text-shadow: 0px 0px 3px #ffffff;
    border-radius: 5%;
}
#btn-feed {
    font-size: calc(1vw + 0.9vh);
    font-family: 'JetBrains Mono','Montserrat',  sans-serif;
    text-decoration: none;
    color: #fff;
    border-top: solid #fff 5px;
    border-radius: 10%;
    padding: 5px;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 3vh;
    width: 15vw;
    transition: all 0.3s ease; 
    cursor: pointer;
}
#btn-feed:hover{
    background:linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.4));
    transform: translateY(5px);
    text-shadow: 0px 0px 3px #ffffff;
    border-radius: 5%;
}

/* feed */
#feed-content{
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #1d1d1d;
}
#feed-content iframe{
    height: 450px;
    width: auto;
    margin: 30px 10px;
    border-radius: 10px;
}

/* tutvustav osa*/
.slideshow-main-text-container{
    position: relative;
    width: auto;
    margin: auto;
}
.slide{
    display: none;
}
.slide.active{
    display: block;
}
button.prev, button.next {
    width: 3vmax;
    color: #fff;
    border: none;
    background-color: #ffffff00;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: calc(0.2vw + 2vh);
    position: absolute;

    height: 7vh;
}
button.prev:hover{
    transform: translateX(-5px);
}
button.next:hover{
    transform: translateX(5px);
}
button.prev{
    left: 3vw;
}
button.next{
    left: 24vw;
}
#relva-tutvustus{
    height: 60vh;
    background:
    linear-gradient(to right,
    rgba(0, 0, 0, 100%),
    rgba(0, 0, 0, 100%),
    rgba(0, 0, 0, 80%),
    rgba(0, 0, 0, 80%),
    rgba(0, 0, 0, 60%),
    rgba(0, 0, 0, 0%)),
    url("../img-vid/relvad-1.jpg"),
    black;
    background-repeat: no-repeat;
    background-position: 190px 18%;
    background-size: 100% auto;
}
#varustuse-tutvustus{
    height: 60vh;
    background:
    linear-gradient(to right,
    rgba(0, 0, 0, 100%),
    rgba(0, 0, 0, 70%),
    rgba(0, 0, 0, 0%)),
    url("../img-vid/varustus-1.jpg"),
    black;
    background-repeat: no-repeat;
    background-position: 580px 43%;
    background-size: 100% auto;
}
#meeskonna-tutvustus{
    height: 60vh;
    background:
    linear-gradient(to right,
    rgba(0, 0, 0, 100%),
    rgba(0, 0, 0, 100%),
    rgba(0, 0, 0, 80%),
    rgba(0, 0, 0, 60%),
    rgba(0, 0, 0, 0%)),
    url("../img-vid/meeskond-1.jpg"),
    black;
    background-repeat: no-repeat;
    background-position: -100px 20%;
    background-size: 140% auto;
}
.main-text{
    height: 60vh;
    width: 30vw;
}
.main-text p{
    display: flex;
    justify-content: center;
    text-align:justify;
    overflow: hidden;
    margin: 5px 20px;
    padding-right: 5px;
    width: 100%;
    height: 50vh;
    color: #e7e7e7;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: calc(0.3vw + 1.1vh);
}
.main-text h1{
    height: 7vh;
    font-size: calc(1vw + 2vh);
    transition: all 0.3s ease;
    color: #fff;
    text-shadow: 0px 0px calc(0.5vw + 0.5vh) #5e61ff;
    display: flex;
    justify-content: center;
    align-items:center;
    width: 100%
}
.slideshow-main-text-control{
    display: flex;
    height: 7vh;
    margin-bottom: 25px;
}

/* ajalugu*/
#history-1-photo{
    width: 50%;
    height: 60vh;
    float: left;
    overflow: hidden;
    position: relative;
}
#history-1-photo img{
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}
#history-2-photo{
    width: 50%;
    height: 60vh;
    float: right;
    overflow: hidden;
    position: relative;
}
#history-2-photo img{
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}
#history-1-text h1{
    text-align: center;
    margin-top: 15px;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    font-size: calc(0.8vw + 4vh);
    transition: all 0.3s ease;
}
#history-1-text{
    background-color: #353535;
    height: 60vh;
    width: 50%;
    float: right;
    overflow-y: auto;
    overflow-x: hidden;

}
#history-2-text{
    background-color: #353535;
    height: 60vh;
    width: 50%;
    float: left;
    overflow-y: auto;
    overflow-x: hidden;
}
#history-1-text p, #history-2-text p{
    padding: 20px 30px;
    color: #fff;
    text-align: justify;
    transition: all 0.3s ease;
    font-size: 1.1vmax;
}



/* galerii*/
#gallery h1{
    text-align: center;
    font-size: 5vw;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    transition: all 0.3s ease;
    pointer-events: none;
}
.gallery-photos{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
    max-width: 100%;
    padding: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.focusbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9;
}
.focusbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    border: #000 3px solid;
    pointer-events: none;
}
.focusbox:target {
    display: flex;
}

/* about us*/
#about-background_photo{
    background-color:#767676;
    height: 70vh;
    width: 100%;
    margin: auto;
    background-image: linear-gradient(to top, 
    #1d1d1d,
    #1d1d1d00),
    url('../img-vid/meist-background.jpg');
    background-position: center 75%;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}
#about-main h1{
    text-align: center;
    padding-top: 40px;
    font-size: calc(2vw + 6vh);
    transition: all 0.3s ease;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    pointer-events: none;
}
#about-main p{
    color: #e7e7e7;
    overflow: hidden;
    text-align: justify;
    font-size: calc(0.7vh + 1vw);
    pointer-events: none;
    text-transform: uppercase;
}
#about-photo-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about-photo-area{
    margin: 20px 0;
    width: 33%;
    pointer-events: none;
}
#about-video-container{
    width: 100%;
    margin: auto;
    margin-bottom: -7px;
}
#about-video-container video{
    width: 100%;
    height: 100%;
}
#about-text{
    text-align: justify;
    width: 50%;
    float:left;
    padding: 10px;
    height: 100%;
    overflow: auto;
}
#about-text-photo{
    width: 49%;
    float: right;
    height: auto;
    margin-left: 1%;
}
#about-footer{
    background-color: #000;
    overflow: auto;
    color: #fff;
    width: 100%;
    text-align: center;
    font-family: 'JetBrains Mono', sans-serif;
}

/* contact*/
#contact-main{
    background-color: #999999;
    height: 86vh;
    width: 100%;
    background-image: linear-gradient(to right,
    rgba(0, 0, 0, 60%),
    rgba(0, 0, 0, 60%)),
    url('../img-vid/kontakt-1.jpg');
    background-color: #1d1d1d;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    pointer-events: none;
}
#contact-main-content{
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    overflow: hidden;
}
#contact-main-content h1{
    font-size: 9vw;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    transition: all 0.3s ease;
}
#contact-main-content p{
    font-size: 1.8vw;
    color: #fff;
    transition: all 0.3s ease;
    pointer-events: none;
}
#contact-secondary{
    height: auto;
}
#contact-secondary #map-area{
    width: 50%;
    float: right;
}
#contact-secondary #map-area iframe{
    width: 100%;
    height: 60vh;
}
#contact-secondary #text-area{
    width: 50%;
    height: 60vh;
    overflow: hidden;
    background-color: #333;
}
#contact-secondary #text-area h1{
    font-size: 2.5vw;
    color: #fff;
    text-shadow: 0px 0px 20px #5e61ff;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 30px;
}
#contact-secondary #text-area p{
    font-size: 1.3vw;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}
#contact-secondary #text-area a img{
    width: 20%;
    height: auto;
    display: flex;
    margin: 5% auto;
    transition: all 0.5s ease;;
    border-radius: 50%;
}
#contact-secondary #text-area a img:hover{
    background-color: #ffffff;
    border-radius: 50%;
    padding: 5px;
    transform: scale(1.2);
}
img:not(a img) {
    user-select: none;
    -webkit-user-drag: none; /* For Safari */
    pointer-events: none;
}


/* more */
#mobile-header{
    display: none;
}

@media screen and (max-width: 600px) {
    /* avaleht */

    /* navbar */
    #header{
        display: none;
    }
    #mobile-header{
        display: block;
    }
    #mobile-header .container{
        margin: 0;
        padding: 0;
    }
    #mobile-header #mobile-navbar-main{
        background-color: #1d1d1d;
        font-family: 'JetBrains Mono', sans-serif;
        height: auto;
        padding: 30px;
        position: relative;
        display: none;
    }
    #mobile-navbar-main ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        overflow: hidden;
        height: auto;
    }
    #mobile-navbar-main ul li{
        margin: 15px;
        border-bottom: #0000003a solid 2px;
        border-radius: 5px;
        width: 70%;
        text-align: center;
    }
    #mobile-navbar-main ul li a{
        font-size: 25px;
        color: #fff;
        text-decoration: none;
    }
    #btn-navbar{
        color: #fff;
        background-color: #00000000;
        height: 50px;
        padding: 2px;
        border-radius: 5px;
        border: none;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: center;
    }
    #mobile-navbar-content{
        background-image: url("../img-vid/logo.png");
        color: #1d1d1d;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80% 100%;
        height: 100px;
    }

    /* showcase */
    #showcase{
        background-color:#1d1d1d;
        overflow: hidden;
        height: 700px;
    }
    #showcase video{
        pointer-events: none;
        filter: brightness(30%);
        height: 700px;
        width: auto;
    }
    #showcase-text{
        position: absolute;
        top: 20%;
        left: 0;
        width: 100%;
        pointer-events: none;
    }
    #showcase-text h1{
        font-size: 8vw;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
    }
    #showcase-text p{
        font-size: 4vw;
        color: #fff;
        font-family: 'JetBrains Mono', sans-serif;
    }
    #btn-meist{
        font-size: 5vw;
        font-family: 'JetBrains Mono','Montserrat',  sans-serif;
        text-decoration: none;
        color: #fff;
        border-bottom: solid #fff 5px;
        border-top: solid #fff 5px;
        border-radius: 10%;
        position: absolute;
        left: 10%;
        margin-top: 30px;
        width: 20vw;
    }
    #btn-feed {
        font-size: 5vw;
        font-family: 'JetBrains Mono','Montserrat',  sans-serif;
        text-decoration: none;
        color: #fff;
        border-bottom: solid #fff 5px;
        border-top: solid #fff 5px;
        border-radius: 10%;
        position: absolute;
        right: 10%;
        margin-top: 30px;
        width: 20vw;
    }
    
    /* feed */
    #feed-content{
    display: none;
    overflow: hidden;
    width: 100%;
    background-color: #1d1d1d;
    text-align: center;
    margin: auto;
    }
    #feed-content iframe{
    height: 450px;
    width: auto;
    margin: 30px 10px;
    border-radius: 10px;
    }

    /*tutvustav osa*/
    button.prev, button.next {
        color: #fff;
        font-size: 30px;
        position: absolute;
        height: 7vh;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        z-index: 10;
    }
    button.prev{
        left: 10px;
    }
    button.next{
        position: relative;
        left: 0;
        margin-right: 10px;

    }
    #mobile-background-meeskond{
        background-image: url("../img-vid/meeskond-1.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        z-index: 1;
        position: absolute;
        filter: brightness(20%);
    }
    #mobile-background-varustus{
        background-image: url("../img-vid/varustus-1.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 800px;
        z-index: 0;
        position: absolute;
        filter: brightness(20%);
    }
    #mobile-background-relvastus{
        background-image: url("../img-vid/relvad-1.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 800px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        filter: brightness(20%);
    }
    #relva-tutvustus{
        background-image: url();

    }
    #varustuse-tutvustus{
        background-image: url();
    }
    #meeskonna-tutvustus{
        background-image: url();
    }
    .main-text{
        position: relative;
        width: auto;
        height: 800px;
        z-index: 2;
    }
    .main-text p{
        font-size: 3.5vw;
        color: #fff;
        text-align: center;
        z-index: 2;
        padding: 0px 20px;
        position: relative;
    }
    .main-text h1{
        font-size: 12vw;
        color: #fff;
        text-shadow: 0px 0px calc(0.5vw + 0.5vh) #5e61ff;
        display: flex;
        width: 100%;
        margin-left: 40px;
        margin-top: 20px;
        z-index: 2;
    }
    .slideshow-main-text-container p,
    .slideshow-main-text-container h1 {
        width: 100%;
        margin: auto;
        z-index: 2;
    }
    .slide{
        display: none;
    }
    .slide.active{
        display: block;
    }


    /* ajalugu*/
    #history-1-photo{
        display: none;
    }
    #history-1-photo img{
        display: none;
    }
    #history-2-photo{
        display: none;
    }
    #history-2-photo img{
        display: none;
    }
    #mobile-background-image-1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img-vid/airosft-ajalugu1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(20%);
        z-index: 2;
    }
    #mobile-background-image-2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img-vid/airsoft-ajalugu2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(20%);
        z-index: 2;
    }
    #history-1-text h1{
        position: relative;
        text-align: center;
        font-size: 12vw;
        margin-top: 35px;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
        z-index: 3;
    }
    #history-1-text{
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    }
    #history-2-text{
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    }
    #history-1-text p, #history-2-text p{
    color: #fff;
    text-align: justify;
    position: relative;
    z-index: 3;
    font-size: 1rem;
    }

    /* galerii */
    #backToTop{
        font-size: 3rem;
        font-family: 'JetBrains Mono','Montserrat',  sans-serif;
        color: #fff;
        border-top: solid #fff 5px;
        border-bottom: solid #fff 5px;
        border-radius: 20%;
        background-color: #1d1d1dc9;
        text-align: center;
        width: 20vw;
        position: fixed;
        z-index: 1;
        bottom: 2%;
        left: 7%;
        display: none;
    }
    #gallery h1{
        text-align: center;
        font-size: 10vw;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
        pointer-events: none;
    }
    .gallery-photos{
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    .gallery-item {
        position: relative;
        overflow: hidden;

    }
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .gallery-item:hover img {
        transform: scale(1.1);
    }
    .focusbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 9;
    }
    .focusbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 20px;
        border: #000 3px solid;
        pointer-events: none;
    }
    .focusbox:target {
        display: flex;
    }

    /* about us */
    #about-background_photo{
        background-color:#767676;
        height: 70vh;
        width: 100%;
        margin: auto;
        background-image: linear-gradient(to top, 
        #1d1d1d,
        #1d1d1d00),
        url('../img-vid/meist-background.jpg');
        background-position: center 75%;
        background-repeat: no-repeat;
        background-size: cover;
        pointer-events: none;
    }
    #about-main h1{
        text-align: center;
        padding-top: 40px;
        font-size: calc(2vw + 6vh);
        transition: all 0.3s ease;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
        pointer-events: none;
    }
    #about-main p{
        color: #e7e7e7;
        overflow: hidden;
        text-align: justify;
        font-size: 1rem;
        pointer-events: none;
        text-transform: uppercase;
        width: 100%;
    }
    #about-photo-container{
        display: block;
        padding: 0px 20px;
    }
    .about-photo-area{
        margin: 20px 0;
        width: 100%
    }
    #about-video-container{
        width: 100%;
        margin: auto;
        height: 300px;
    }
    #about-video-container video{
        width: 100%;
        height: 100%;
    }
    #about-text{
        text-align: justify;
        width: 100%;
        height: auto;
    }
    #about-text-photo{
        width: 100%;
    }

    /* contact */
    #contact-main-background{
        background-color: #1d1d1d;
        height: 95vh;
        width: 100%;
        background-image: url('../img-vid/kontakt-1.jpg');
        background-color: #1d1d1d;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        overflow: hidden;
        pointer-events: none;
        filter: brightness(30%);
    }
    #contact-main-content{
        text-align: center;
        position: absolute;
        top: 50%;
        width: 100%;
        overflow: hidden;
    }
    #contact-main-content h1{
        font-size: 15vw;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
    }
    #contact-main-content p{
        font-size: 4vw;
        color: #fff;
        pointer-events: none;
    }
    #contact-secondary #map-area{
        width: 100%;
        height: auto;
    }
    #contact-secondary #map-area iframe{
        margin-bottom: -7px
    }
    #contact-secondary #text-area{
        width: 100%;
        height: 400px;
    }
    #contact-secondary #text-area h1{
        font-size: 17vw;
        color: #fff;
        text-shadow: 0px 0px 20px #5e61ff;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }
    #contact-secondary #text-area p{
        font-size: 5vw;
        color: #fff;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }
    #contact-secondary #text-area a img{
        width: 20%;
        height: auto;
        display: flex;
        margin: 5% auto;
        border-radius: 50%;
        background-color: #ffffff;
        border-radius: 50%;
        padding: 5px;
    }
}