html {
    scroll-behavior: smooth;
  }

:root p{
    --color: #272727;
    --font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', cursive;
}

header, main, section {
    padding: 0!important;
}

section, footer {
    position: relative;
    overflow: hidden;
}

footer {
    padding-bottom: 0!important;
}

.button-menu.menu_button {
    background-color: #fff!important;
    color: #333!important;
    border-color: #fff!important;
}

button .button-menu {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.header .logo img {
    height: 2.25rem;
}
.header a {
    border-bottom: none;
    color: #fff;
    position: relative;
    padding: 0.5rem 0 0.25rem;
    font-weight: 700;
}
  
@media screen and (min-width: 55rem) {
    .header {
      padding: 0;
      margin: 1rem auto;
      font-size: 1.15rem;
      width: 76rem;
    }
    .header .logo {
      font-size: 1.5rem;
      margin-bottom: 0;
    }
}

.menu::before {
    content: "";
    position: fixed;
    z-index: 1;
    display: block;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-out;
}
  
.menu-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 20rem;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    margin: 0;
    background-color: #333;
    transition: 0.4s;
    visibility: hidden;
    transform: translateX(100%);
}
.menu-list-inner {
    list-style: none;
    display: flex;
    flex-direction: inherit;
}
  
.opened-menu .menu::before {
    visibility: visible;
    opacity: 1;
}
.opened-menu .menu-list {
    transform: translateX(0);
    visibility: visible;
    z-index: 10000;
}
  
.menu_button--close {
    font-size: 1.5rem;
}
.menu_button--open {
    font-size: 1rem;
    margin-bottom: 0!important;
}
  
.menu_item {
    padding: 0.7rem 0;
}
  
.menu a {
    margin: 0 0.75rem;
    border-bottom: 4px solid transparent;
    border-radius: 0px;
    transition: border-bottom-color 0.3s ease-out;
}
  
.menu a[aria-current],
.menu a:hover {
    border-bottom-color: var(--color-light);
}
  
@media screen and (min-width: 55rem) {
    .menu-list {
        max-width: 100%;
        height: auto;
        transform: translateX(0);
        visibility: visible;
        position: static;
        background-color: transparent;
        flex-wrap: wrap;
        flex-direction: row;
        padding-top: 0;
    }

    .opened-menu .menu::before {
        display: none;
    }
    .opened-menu .menu-list {
        transform: translateX(0);
        visibility: visible;
    }

    .menu_button {
        display: none;
    }

    .menu a {
        margin: 0 1.5rem;
    }

    .header {
        padding: 0;
        margin: 1rem auto;
        font-size: 1.15rem;
    }
    .header .logo {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
}

.relative {
    position: relative;
}
.hero-video-background {
    height: 70vh;
    display: flex;
    align-items: center;
    margin-bottom: 0!important;
}

.video-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    background: #000;
    opacity: 0.5;
}

#video-background {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: 50% 25%;
    position: absolute;
}

.video-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 1rem;
}

.video-text h1 {
    color: #fff;
    text-align: center;
    font-size: 4rem;
}

.video-text h4{
    color: #fff;
    text-align: center;
    font-size: 2rem;
}

.no-webp #video-background {
    background-image: url("images/dpoint-hero.jpg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0 0;
    background-size: cover;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hisni-mojster {
    padding-top: 4rem!important;
    /* margin-bottom: 0!important; */
}

.hisni-mojster {
    margin-top: 3rem;
}

.storitve-content {
    padding: 7rem 0;
}

.storitve h1 {
    color: #fff;
    text-align: center;
}

.storitve {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.no-webp .storitve {
    background-image: url("images/storitve-mojsterteo.jpg");
}
  
.webp .storitve {
    background-image: url("images/storitve-mojsterteo.webp");
}

.projekt {
    background-color: #fff;
    border-radius: 5px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.projekt h3 {
    margin-bottom: 1rem;
    text-align: center;
    height: 5rem;
}

.projekt img {
    -webkit-transition: -webkit-transform .4s;
    transition: transform .4s;
    margin-bottom: 1rem;
}

.projekt img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.projekt p {
    text-align: center;
    /* font-size: .75em; */
}

.storitve-content .row div {
    margin-bottom: 1rem;
}

.povprasevanje h1 {
    text-align: center;
}

.icon-group {
    text-align: center;
}

.icon-group svg {
    -webkit-transition: -webkit-transform .4s;
    transition: transform .4s;
}

.icon-group svg:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.vizitka {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.no-webp .vizitka {
    background-image: url("images/vizitka-bg.jpg");
}
  
.webp .vizitka {
    background-image: url("images/vizitka-bg.webp");
}

.vizitka-content {
    padding: 5rem 0 7rem 0;
}

.vizitka-content h2, .vizitka-content h5, .vizitka p {
    color: #fff;
}

.vizitka-content h5 {
    margin-bottom: 0!important;
    padding-left: 2rem;
}

.vizitka-icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vizitka-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 3rem;
    /* width: 50%; */
}

.vizitka-icon img {
    width: 4rem;
}

.vizitka-icon img {
    -webkit-transition: -webkit-transform .4s;
    transition: transform .4s;
}

.vizitka-icon img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.vizitka-icon h5 a {
    color: inherit;
}

.footer {
    background-color: #272727;
    color: #fff;
    padding: .75rem 0;
    position: relative;
}

.footer p {
    margin-bottom: 0;
}

.footer .container .grid {
    align-items: center;
}

.mojsterteo-logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mojsterteo-logo-footer img {
    height: 2rem;
}

.dpoint-copy {
    display: flex;
    justify-content: flex-end;
    margin-top: .75rem;
}

.dpoint-copy p {
    font-size: .75em;
}

@media screen and (max-width: 576px) {
    .container {
        padding-left: 1rem!important;
        padding-right: 1rem!important;
    }

    .container.video-text {
        padding-top: 5rem;
    }

    .video-text h1 {
        font-size: 3rem;
    }
    
    .projekt h3 {
    height: 6rem;
    }
}