
/* variables */
:root{
    --dark-backgorund: #020205;
    --medium-backgorund: #08080c;
    --light-backgorund: #101018;
}

@font-face {
  font-family: Prompt;
  src: url(Prompt-Bold.ttf);
}

/* css reset */
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html, body {
  height: 100%;
    background-color: var(--medium-backgorund);
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    font-family: Prompt, Arial, Helvetica, sans-serif;
    overflow-wrap: break-word;
    color:white;
}
#root, #__next {
  isolation: isolate;
}

/* Logo */
.header{
    background-color: var(--dark-backgorund);
    width: 100%;
    height: 50px;
}
.logo{
    position:absolute;
    border-radius: 25px;
    width: 300px;
    height: 120px;
    background-color: var(--dark-backgorund);
    margin-top: -50px;
    margin-left: 10%;
    text-align: center;
    display: flex;
    justify-content: center;
}
.logo > a{
    display: block;
    margin: auto;
    width: 250px;
    z-index: 1;
}
#yamaha-pbs{
    width: 250px;
    display: block;
    margin: auto;
}

/* Naslov */
.title{
    position: absolute;
    display: block;
    margin-top: 200px;
    margin-left: 10%;
    color:white;
    z-index: 1;
}
.main-title{
    font-size: 100px;
}
.sub-title{
    font-size: 25px;
}


/* Video */
.container{
    width: 100%;
    height: calc(100% - 50px);
    background-color: var(--medium-backgorund);
    display: block;
    overflow: hidden;
}
#video-element{
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* Kacige */

#store{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    background: none;
    
    margin-bottom: 100px;
}
#helmets{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    margin-top: -100px;
    max-width: 1800px;
}
.helmet{
    position: relative;
    width: 30%;
    height: 600px;
    margin: 1%;
    border-radius: 25px;
    background-color: var(--medium-backgorund);
    display: block;
    overflow: hidden;
    cursor: pointer;

}
.helmet-image{
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: height 0.8s ease-out 100ms;
}
.overlay-image{
    position: absolute;
    margin-top: -600px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease-out 100ms;
}
.helmet-name{
    position: absolute;
    bottom: 50px;
    margin-left: 50px;
    z-index: 1;
    font-size: 50px;
    color: white;
    transition: opacity 0.2s ease-out 50ms;
}

/* Animacije */
.helmet:hover > .overlay-image{
    opacity: 0;
}
.helmet:hover > .helmet-image{
    height: 110%;
}
.helmet:hover > .helmet-name{
    opacity: 0;
}

/* Outlet */
.outlet-container{
    text-align: center;
    display: flex;
    justify-content: center;
}
#outlet{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    color:white;
    max-width: 1800px;
}
.outlet-title{
    flex-grow: 2;
}
#outlet > .helmet{
    flex-grow: 3;
    height: 500px;
}
#outlet > .helmet > .overlay-image{
    margin-top: -400px;
}
.outlet-title{
    margin-top: 100px;
    margin-bottom: 50px;
}
.outlet-title > h1{
    font-size: 50px;
}
.outlet-title > p{
    font-size: 25px;
}

/* Footer */
.footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--light-backgorund);
}
.contact-group{
    width: 30%;
    max-width: 350px;
    margin-bottom: 20px;
}
.kontakt{
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    margin-left: 5px;
    margin-right: 5px;
}
.contact-group > h2{
    font-size: 20px;
    margin-left: 5px;
    margin-right: 5px;
}
.kontakt > strong{
    font-family: Prompt, "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    color: #a0a0a0;
}
.line{
    height: 1px;
    width: 100%;
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
}
.link{
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    color: white;
    display: block;
}
.socials{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 10px;

}
.social-image{
    height: 40px;
}
.copyright{
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    color:white;
    padding: 10px 0 10px 50px;
}

/* tablet */
@media screen and (max-width: 1200px) {
    .helmet{
        width: 40%;
        height: 300px;
    }
    .overlay-image{
        margin-top: -300px;
    }    
    .helmet-name{
        font-size: 45px;
        bottom: 30px;
    }
}

/* mobitel */
@media screen and (max-width: 800px) {
    .helmet{
        width: 80%;
        height: 250px;
        margin-bottom: 15px;
    }
    .overlay-image{
        margin-top: -250px;
    }
    .helmet-name{
        font-size: 35px;
        bottom: 30px;
    }
    .outlet-title{
        margin-top: 0;
        margin-bottom: 50px;
    }
    .main-title{
        font-size: 70px;
    }
    .sub-title{
        font-size: 20px;
    }
    #outlet > .helmet{
        width: 80%;
    }#outlet{
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .contact-group{
        width: 40%;
        max-width: 400px;
    }
}
/* mobitel */
@media screen and (max-width: 600px) {
    .contact-group{
        width: 60%;
        max-width: 300px;
    }

}