@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;500;600;700&family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    text-decoration: none;  
}
:root{
    --main-color: #fe5b3d;
    --second-scolor: #ffac37;
    --text-color: #444;
    --gradient: linear-gradient(#fe5b3d,#ffac37);
}
html::-webkit-scrollbar{
    width: 0.5rem;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 6rem;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
section{
    padding:3.125rem 6.25rem;
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right:0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eeeff1;
    padding: 0.9375rem 6.25rem;
}
.logo img{
    width: 5rem;
    margin-bottom: -1rem;
    margin-top: -0.65rem;
    margin-left: -2rem;
}
.kontakti .kont a{
    font-weight: 400;
    color: var(--text-color);
}
.kontakti .kont a:hover{
    font-weight: 400;
    color: var(--main-color);
}
.navbar{
    display:flex;
}
.navbar li{
    position: relative;
    text-align: center;
    list-style: none;
    margin-top: 0.7rem;
}
.navbar a{
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
    color: var(--text-color);
    font-weight: 500;
}
.navbar a::after{
    content: "";
    width: 0;
    height: 0.1875rem;
    background: var(--gradient);
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    transition: 0.3s;
}
.navbar a:hover:after{
 width: 100%;
}
#menu-icon {
    font-size:  1.5rem;
    cursor: pointer;
    z-index: 10001;
    display:none;
}
.header-btn a{
    padding:0.625rem 1.25rem;
    color: var(--text-color);
    font-weight: 500;

}
.header-btn .signin{
    background: #474fa0;
    color: #FFF;
    border-radius: 0.5rem;
}
.header-btn .signin:hover{
    background: var(--main-color);
}
.home{
    width: 100%;
    min-height: 100vh;
    position: relative;
    background:url(slike/Car\ Website\ –\ 1@2x.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2,1fr);
}
.text h1{
    font-size: 3.5rem;
    letter-spacing: 0.125rem;
}
.text span{
    color: var(--main-color);
}
.text p{
    margin: 00.5rem 0 1rem;
}
.app-stores img{
    width: 6.25rem;
    margin-right: 1rem;
    cursor: pointer;
}
.input-box{
    flex: 1 1 7rem;
    display: flex;
    flex-direction: column;
}
.input-box span{
    font-weight: 500;
}
.input-box input{
    padding: 0.4375rem;
    outline: none;
    border: none;
    background: #eeeff1;
    border-radius: 0.5rem;
    font-size: 1rem;
}
.heading{
    text-align: center;
}
.heading span{
    font-weight: 500;
    text-transform: uppercase;
}
.heading h1{
    font-size: 2rem;
}
.ride-container{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit,minmax(400px,auto));
    gap: 1rem;
    margin-top: 2rem;
}
.ride-container .box{
    text-align: center;
    padding: 1.25rem;
}
.ride-container .box .bx{
    font-size: 2.125rem;
    padding: 0.625rem;
    background:#eeeff1;
    border-radius: 0.5rem;
    color: var(--main-color);
}
.ride-container .box h2{
    font-size:1.3rem;
    font-weight: 500;
    margin: 1.4rem 0 0.5rem;
}
.box .bx:hover,
.box .fa-solid fa-calendar-days{
    background: var(--gradient);
    color:#FFF;
    cursor: pointer;
}
.heading2{
    text-align: center;
}
.box:hover .box-img,
.box .fa-solid.fa-calendar-days:hover {
    cursor: pointer;
}
.auta{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(18.75rem,auto));
    gap: 1rem;
    margin-top: 2rem;
}
.auta23{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(9.75rem,15rem));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}
.auta .box{
    padding: 0.625rem;
    border-radius: 1rem;
    box-shadow: 0.0625rem 0.25rem 2.5625rem rgba(0,0,0,0.1);
}
.auta23 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.75rem, 15rem));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}
.box-img a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    color: #454545;
}

.box-img a i {
    font-size: 100px; /* Adjust the font size as needed */
}
.auta23.box h3{
    font-size: 100px;
}
.auta .box .box-img{
    width: 100%;
    height: 12.5rem;
}
.auta .box .box-img img{
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
}
.auta .box p{
    padding: 0 0.625rem;
    border: 0.0625rem solid var(--text-color);
    width: 3.625rem;
    border-radius: 0.5rem;
    margin: 1rem 0 1rem;
}
.auta .box h2{
    color: #fe5b3d;
    margin: 0.2rem 0 0.5rem;
}
.auta .box h3{
    font-weight: 600;
}
.mapica{
    width: 100%;
    height: 500px;
}
.auta .box h2 span{
    color:var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}
.auta .box .btn{
    display: flex;
    justify-content: center;
    background-color: #474fa0;
    color: #FFF;
    padding: 0.75rem;
    border-radius: 0.5rem;
}
.auta .box .btn:hover{
    background-color: var(--main-color);
}
.n span{
    color:#fe5b3d;
}
.kontakti{
    background-color: #eeeff1;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit,minmax(250px,auto));
    border-radius: 0.5rem;
}
.kontakti .kont{
    padding: 1.25rem;
    margin: 1rem;
    align-items: center;
    text-align: center;
}
.kontakti .kont p{
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color:var(--text-color);
}
.heading-p{
    font-size: 110%;
}
.kontakti .kont span{
    font-weight: 400;
    color: var(--text-color);
}
.lista{
    list-style: disc;
}
.autic{
    margin-top: 100px;
    align-items: center;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit,minmax(600px,auto));
}
.autoslika1{
    width: 70%;
    height: 70%;
    border-radius: 1rem;
    object-fit:fill;
    object-position: center;
}
.n{
    font-size: 250%;
    font-weight: bold;
}
table{
    border:solid#dddddd;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
td, th {
    border: none;
    text-align: left;
    padding: 0.5rem;
    font-size: 80%;
}
tr:nth-child(even) {
    background-color: #eeeff1;
}
.navbar .navbar-broj{
    padding-right: 1.4rem;
    background-color: var(--main-color);
    border-radius: 0.5rem;
    color: white;
}
.navbar .navbar-broj:hover{
    background-color:#d44d35;
}
.autic .btn{
    display: flex;
    justify-content: center;
    background-color: #474fa0;
    color: #FFF;
    padding: 0.75rem;
    width:100%;
    border-radius: 0.5rem;
}
.autic .btn:hover{
    background-color: var(--main-color);
}
.text1{
    margin-bottom: 1rem;
    font-size: 100%;
}
.heading h1 span{
    color: var(--main-color);
    text-transform: none;
}
.gmail{
    padding: 3rem 5rem;
    margin: 0rem 2rem;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit,minmax(200px,auto));
    gap: 1rem;
    margin-top: 4rem;
    border:solid #b7b7b7;
}
.gmail2{
    margin: 6rem 2rem -2rem 2rem;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit,minmax(200px,auto));
    gap: 1rem;
}
.gmail3{
    font-size: 250%;
    font-weight: 500;
}
.kesa{
    display: flex;
    flex-direction: column;
}
.batn{
    display: flex;
    justify-content: center;
    background-color: #474fa0;
    color: #FFF;
    padding: 0.75rem;
    width:100%;
    border: none;
    border-radius: 0.5rem;
}
.batn:hover{
    background-color: var(--main-color);
    cursor: pointer;
}
.tek{
    border: solid #b7b7b7;
    border-width: 0.15rem;
    border-radius: 0.3rem;
}
.autan{
    margin: 0.5rem 1rem;
    padding: 0.5rem;
}
ul.listic {
    list-style: disc;
  }
.m{
    font-size: 150%;
}
.zbir{
    margin-top: 3rem;
    padding: 3rem;
    line-height: 1.6;
}
.zbir p{
    margin-bottom: 1.3rem;
}

/* Style the updown button */
.upbtn {
    padding: 0.625rem 1.25rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    
}
/* The container <div> - needed to position the updown content */
.updown {
    margin-top: -0.61rem;
    margin-right: 1rem;
    
}
.dropdown  .dropdown-content .updown:hover{
    background-color: #444;
}


.updown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 7rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0.5rem;
}

/* Links inside the updown */
.updown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of updown links on hover */
.updown-content a:hover {background-color: #f1f1f1}

/* Show the updown menu on hover */
.updown:hover .updown-content {
    display: block;
}
.dropbtn .upbtn{
    color: white;
}
.dropbtn {
    background-color: #fe5b3d;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #d44d35;
    ;
}
.dropdown {
    display: none;
}

@media (max-width:1350px){
    .home {
        background-position: 25% 0;
    }
    .zbir{
        padding: 3rem 2rem 2rem 2rem;
    }
    .mapica{
        height: 450px;
    }
}
@media(max-width:1000px){
    .zbir{
        text-align: center;
        padding: 3rem 1rem 1rem;

    }
    .mapica{
        height: 400px;
    }
}
@media(max-width:900px){
    .zbir{
        text-align: center;
        padding: 2rem 0rem 0rem;
    }
    .navbar{
        display:none;
    }
    .dropbtn {
        background-color: #fe5b3d;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
        border-radius: 10px;
        font-weight: 400;
    }
    .dropdown .dropdown-content .updown .upbtn{
        background-color: #f9f9f9;
        color: var(--text-color);
        padding-left: 1rem;
        padding-top: 1rem;
        font-size: 16px;
        font-weight: 400;
    }
    /* The container <div> - needed to position the dropdown content */
    .dropdown {
        position: relative;
        display: inline-block;
    }
    
    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    
    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    
    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {background-color: #f1f1f1}
    
    /* Show the dropdown menu on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    /* Change the background color of the dropdown button when the dropdown content is shown */
    .dropdown:hover .dropbtn {
        background-color: #d44d35;
        ;
    }
}
.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media(max-width:800px){
    .n{
        font-size: 150%;
    }
    .autic{
            display: flex;
            flex-direction: column;
            padding: -1rem;
        margin-left: -2rem;
        margin-right: -2rem;
    }
    .gmail{
        padding: 3rem 5rem;
    }
    .zbir{
        margin: 3rem -2rem 0rem;
    }
    header{
        padding: 0.9375rem 4.25rem;
    }
    .mapica{
        height: 350px;
    }
}
@media(max-width:680px){
    .zbir{
        margin: 3rem -3rem 0rem;
    }
}
@media(max-width:620px){
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem 0 0 0;
    }
    .zbir{
        margin: 3rem -4rem 0rem;
    }
    header{
        padding: 0.9375rem 2.25rem;
    }
    .mapica{
        height: 300px;
    }
}
@media(max-width:600px){
    .autic{
        padding: -1rem;
        margin-left: -3rem;
        margin-right: -3rem;
    }
    .ride-container{
        grid-template-columns: repeat(auto-fit,minmax(250px,auto));
    }
}
@media(max-width:500px){
    .home{
        background: none;
        background: #eeeff1;
    }
    .auta{
        margin-left: -1rem;
    }
    .autic{
        padding: -1rem;
        margin-left: -4rem;
        margin-right: -4rem;
    }
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem -1.5rem 0 -1.5rem;
    }
    .gmail2{
        margin: 4rem 0rem -2rem 0rem;
    }
}
@media(max-width:460px){
    .auta{
        margin-left: -2rem;
    }
    .ride-container{
        margin-left: -1rem;
    }
    .text{
        margin-left: -2rem;
    }
}
@media(max-width:440px){
    .kontakti{
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem -2.5rem 0 -2.5rem;
    }
    .zbir{
        margin: 3rem -5rem 0rem;
    }
    header{
        padding: 0.9375rem 2rem;
    }
}
@media(max-width:410px){
    .auta{
        margin-left: -3rem;
    }
    .ride-container{
        margin-left: -1.5rem;
    }
    .kontakti{
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    .text{
        margin-left: -3rem;
    }
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem -3rem 0 -3rem;
    }
    .gmail2{
        margin: 4rem -1.5rem -2rem -1.5rem;
    }
}
@media(max-width:390px){
    .auta{
        margin-left: -4rem;
    }
    .ride-container{
        margin-left: -2rem;
    }
    .kontakti{
        margin-left: -2rem;
        margin-right: -2rem;
    }
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem -3.5rem 0 -3.5rem;
    }
    .gmail2{
        margin: 3rem -2rem -2rem -2rem;
    }
}
@media(max-width:360px){
    .kontakti{
        margin-left: -3rem;
        margin-right: -3rem;
    }
    .ride-container{
        margin-left: -3rem;
    }
    .gmail{
        padding: 3rem 2rem;
        margin: 3.5rem -4rem 0 -4rem;
    }
    .gmail2{
        margin: 3rem -2.5rem -2rem -2.5rem;
    }
}