



@font-face {
    font-family: 'Anton';
    src: url("{% static 'fonts/Anton.ttf' %}") format('truetype'),
}

@font-face {
    font-family: 'Jaro';
    src: url("{% static 'fonts/Jaro.ttf' %}") format('truetype'),
}


@font-face {
    font-family: 'FiraSans';
    src: url("{% static 'fonts/FiraSans.ttf' %}") format('truetype'),
}


html, body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}   


.top-bar{
    background-color: #dc0041;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    padding: 10px;
    color: #ffffff;
}

.top-bar-wrapper{
    display: flex;
    gap: 35px;
    justify-content: start;
    width: 1020px;
}

.top-bar span{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    
}

.top-bar p{

}

.top-bar-icon{
    width: 25px;
}


hero {
    background-image: url('/static/images/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    max-height: 1100px;
    display: flex;
}


.hero-introduction{
    width: 100%;
}

.hero-introduction h1{
    font-size: 72px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: sans-serif;
    text-align: center;
    -webkit-text-stroke: 2px rgb(71, 60, 60);
    background: -webkit-linear-gradient(#ffffff, #efdfdf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-right: 800px;
    animation: comeFromTop 2s ease-out;
    
}


@keyframes comeFromTop {
    0% { margin-left: -1400px; }
    100% { margin-left: 0px; }
}


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }


.pozovi{
    transition: 0.3s ease;
    text-decoration: none;
}

.pozovi:hover {

    scale: 1.15;
    cursor: pointer;
}




.section{
    display: grid;
    justify-content: center;
    place-items: center;
    gap: 25px;
    
}

.section h2{
    font-size: 65px;
    font-family: sans-serif;
}

.section-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;

}

.content{
    display: grid;
    place-content: center;
    place-items: center;
    padding-top: 50px;
}

.content-wrapper{
    width: 1000px;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    color: #635656;
}

.content-layer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-layer img{
    height: 540px;
    margin-top: 70px;
}

.content-wrapper h1{
    text-align: center;
    color: #dc0041;
    font-size: 42px;
    font-family: FiraSans, sans-serif;
    letter-spacing: 0.1rem;
    font-weight: 900;
}

.content-wrapper h2{
    text-align: center;
    color: #dc0041;
}

.content-wrapper ul li{
    font-weight: 600;
    color: #b80339;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 45px;
}

.contact-primary {
    display: grid;
    place-content: center;
    place-items: start;
    width: 500px;
}

.contact-primary p{
    width: 500px;
    margin: 10px;
}

.contact-secondary {
    display: grid;
    place-content: center;
    align-items: start;

}

.contact-secondary form{
    display: grid;
    padding: 30px;
    place-content: center;
    gap: 10px;
}

.contact-secondary form p{
    color: #dc0041;
}

.contact-secondary form input{
    width: 500px;
    height: 45px;
    padding-left: 15px;
}

.contact-secondary form textarea{
    width: 500px;
    height: 145px;
    padding-left: 15px;
    padding-top: 15px;
    font-size: 14px;
}

.contact-secondary form button{
    width: 200px;
    height: 50px;
    font-size: 18px;
    color: white;
    background-color: #dc0041;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-secondary form button:hover{
    background-color: #b80339;
}

.card{
    background-color: #635656;
    display: grid;
    justify-content: center;
    place-items: center;
    width: 300px;
    padding: 35px 25px 35px 25px;
    height: 450px;
}

.card img{
    width: 100px;
    background-color: #D9D9D9;
    border-radius: 144px;
}

.card button{
    margin-top: 25px;
    font-family: sans-serif;
    font-size: 17px;
    padding: 5px 15px 5px 15px;
    font-weight: 700;
    transition: 0.1s ease;
    border-radius: 3px;
    background-color: #D9D9D9;
    border: none;
}

.card button:hover {
    scale: 1.05;
    cursor: pointer;

}

.card-text p{
    color: #D9D9D9;
    font-family: sans-serif;
    font-size: 30px;
    text-align: center;
    font-weight: 600;
}

.card-text{

}

.card-description p{
    color: #D9D9D9;
    font-family: sans-serif;
    font-size: 17px;
    text-align: center;
    font-weight: 600;
}

.section-grid{
    position: relative;
    margin-bottom: 350px;
    margin-top: 350px;
}

.bar{
    width: 1500px;
    background-color: #635656;
    height: 25px;
}

.bar-red{
    width: 0px;
    background-color: red;
    height: 25px;
    transition: 0.2s ease;
}


.bar-number-1 .bar-up{
    position: absolute;
    width: 25px;
    height: 100px;
    background-color: #635656;
    left: 300px;
    top: -100px;
    transition: 0.45s ease;
}

.bar-number-2 .bar-down-2{
    position: absolute;
    width: 25px;
    height: 100px;
    background-color: #635656;
    left: 600px;
    transition: 0.45s ease;
}

.bar-number-3 .bar-up{
    position: absolute;
    width: 25px;
    height: 100px;
    background-color: #635656;
    left: 900px;
    top: -100px;
    transition: 0.45s ease;
}

.bar-number-4 .bar-down-4{
    position: absolute;
    width: 25px;
    height: 100px;
    background-color: #635656;
    left: 1200px;
    transition: 0.45s ease;
}





.bar-up{

}

.bar-down{

}

.bar-sign{
    color: #D0C4C4;
    animation: fadeInSlideUp linear;
    animation-range: entry 0;
    animation-timeline: view();
}

.bar-sign span{

    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0px 0px 0px 25px;
    gap: 25px;
}

.bar-sign-number{
    font-family: Jaro, sans-serif;
    font-size: 86px;
    margin: 0;
}

.bar-sign-text{
    font-family: Jaro, sans-serif;
    font-size: 52px;
    margin: 0;

}

.bar-sign span ~ p{
    font-family: sans-serif;
    font-weight: 600;
    padding: 5px 25px 0px 25px;
    font-size: 18px;
}

.bar-number-1 .bar-sign{
    position: absolute;
    width: 400px;
    height: 250px;
    background-color: #635656;
    left: 110px;
    top: -350px;
    animation: fadeInSlideUp linear;
    animation-timeline: view();
    animation-range: entry 0;
}

.bar-number-2 .bar-sign{
    position: absolute;
    width: 400px;
    height: 250px;
    background-color: #635656;
    left: 410px;
    top: 125;

}

.bar-number-3 .bar-sign{
    position: absolute;
    width: 400px;
    height: 250px;
    background-color: #635656;
    left: 710px;
    top: -350px;
}

.bar-number-4 .bar-sign{
    position: absolute;
    width: 400px;
    height: 250px;
    background-color: #635656;
    left: 1000px;
    top: 125;


}






.bar-number-2:hover .bar-down-2 {
    background-color: red;
}

.bar-number-4:hover .bar-down-4 {
    background-color: red;
}
 
.bar-number-1 .bar-sign:hover ~ .bar-up {
    background-color: red;
}

.bar-number-3 .bar-sign:hover ~ .bar-up {
    background-color: red;
}







.pop-in-animation{
    animation: fadeInSlideUp 1s ease-out forwards;

}

.pop-in-animation-sign{
    animation: SlideFromLeft 1s ease-out forwards;
}






  @keyframes fadeInSlideUp {
    from {
        opacity: 0.5;
        scale: 0.5;
    }
  
    to {
        opacity: 1;
        scale: 1;
    }
  }

  @keyframes SlideFromLeft {
    0% { margin-bottom: -1200; }
    100% { margin-bottom: 0; }
  }

 #scroller {
    height: 35px;
 }

 .scroller a img:hover{
    scale: 1.1;
 }


  .scroller {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .scroller img{
    width: 100px;
    margin-top: 70px;
    transition: 0.3s ease;
  }


.hero-introduction p{
    font-size: 20px;
}

.hero-img{

}

.hero-contact{
    padding: 15;
    width: 40%;
}

.contact{
    text-align: center;
    display: grid;
    background-color: beige;

}

.contact-icon{
    width: 30px;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-color: white;
}

.contact-inputs{
    gap: 25px;
    display: grid;
    padding: 25;

}

.contact-inputs input{
    border-right: 1px solid black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-left: none;
    width: 100%;
    

}

.contact-inputs input   :focus {
    outline: none !important;
    border:1px solid red;
    box-shadow: 0 0 10px #719ECE;
  }

.contact-inputs textarea{
    width: 100%;
    max-width: 406px;
    min-width: 406px;
    min-height: 70px;
    padding-top: 8px;
    padding-left: 8px;
}


.contact-name{
    display: flex;
}
.contact-icon{
    display: flex;
}
.contact-email{
    display: flex;
}
.contact-car{
    display: flex;
}
.contact-question{
    display: flex;
}

.contact-button{
    padding: 25px;
}


.contact button{
    width: 150px;
    height: 45px;
    background-color: #dc0041;
    color: white;
    border: none;
    transition: 0.3s ease;
    border-radius: 10px;
}

.contact button:hover{
    cursor: pointer;
    background-color: #b80339;
    
}

.section-mobile{
    display: none;
}

.hero-introduction p{
    display: none;
}

.hero-introduction button{
    display: none;
}

@media (max-width: 450px) {

    .content-wrapper{
        padding: 20px;
        width: auto;
    }

    .content-layer img{
        height: 215px;
        width: 300px;
    }

    .section-wrapper{
        display: grid;
    }
    
    .section h2{
        font-size: 25px;
    }

    hero {
        background-image: url('/static/images/hero-car.png');
        background-size: contain;
        background-position: center;
    }

    .hero-introduction {
        display: grid;
        height: calc(100vh - 160px);
    }
    
    .hero-introduction h1{
        height: 100px;
        font-size: 27px;
        margin: 0px;
        display: block;
        margin-top: 15px;
    }

    .scroller{
        display: none;
    }

    .hero-introduction img{
        width: 30px;
    }


    .hero-introduction a{
       display: flex;
       justify-content: center;
       align-items: center;
       height: 50px;
       align-self: flex-end;
       text-decoration: none;
    }

    .hero-introduction p{
        height: 60px;
        text-align: center;
        align-self: flex-end;
        color: #dc0041;
        margin-top: 250px;
        font-weight: 600;
        font-size: 25px;
        display: block;
        padding: 15px;
    }


    .hero-introduction button{
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        padding: 10px 80px 10px 80px;
        cursor: pointer;
        background: linear-gradient(270deg, rgba(220,0,65,0.14467793953518904) 0%, rgba(220,0,65,0.5732493681066176) 100%);
        border-radius: 15px;
        font-size: 20px;
        gap: 10px;
        font-weight: 600;
    }

    .section-grid {
        display: none;
    }

    #prva-sekcija {
        padding: 15px;
        text-align: center;
    }


    .section-mobile{
        display: grid;
        gap: 20px;
        margin-bottom: 80px;
    }
    .bar-mobile{
        width: 300px;
        height: 400px;
        background-color: #635656;
        display: grid;
        justify-content: center;
        place-items: center;
    }

    .bar-mobile span{
        place-self: start;
        width: 300px;
        display: flex;
        gap: 22px;
        align-items: center;

    }

    .bar-mobile-sign-number{
        font-family: 'Jaro', sans-serif;
        font-size: 76px;
        color: #D0C4C4;
        padding-left: 25px;
        margin: 0;

    }

    .bar-mobile-sign-text{
        font-family: 'Jaro', sans-serif;
        font-size: 36px;
        color: #D0C4C4;

    }

    .bar-mobile-description{
        padding: 20px;
        color: #D0C4C4;
        font-size: 20px;
        font-family: 'Jaro', sans-serif;
        font-weight: 600;
        margin-top: -150px;
    }

    .contact-wrapper{
        display: grid;
        place-content: center;
        place-items: center;
    }

    .content-wrapper h1 {
        font-size: 25px;
    }

    .contact-primary{
        width: auto;
    }

    .contact-primary p{
        width: 325px;
    }

    .contact-secondary form input {
        width: 325px;
        padding-left: 0px;
        border-left: none;
        border-top: none;
    }

    .contact-secondary form textarea{
        width: 325px;
        padding-left: 0px;
        border-left: none;
        border-top: none;
    }

}