html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', Verdana, sans-serif;
}

.header {
    background-color: #2b2e31;
}

.column {
    width: 1300px;
    margin: 0px auto;
}

.page .column {
    height: 120vh;
}

#logo_social {
    display: flex;
}

#logo-holder {
    flex-grow: 1;
}

#logo-holder img {
    height: 128px;
    width: 128px;
}

#general-holder {
    flex-grow: 1;
}

.generals img {
    display: block;
    height: 24px;
    width: 24px;
    margin: 0 10px 8px 0;
    float: left;
}

.general-list {
    display: flex;
    flex-direction: column;
    margin-left: 100px;
}

.general-list > li {
    list-style: none;
    margin: 1px;
}

.general-list > li span {
    color: #ec1f24;
    font-size: 13px;
}

#social-holder {
    flex-grow: 1;
    text-align: right;
}

#social-holder a {
    text-decoration: none;
}

#social-holder a img {
    margin: 5px;
    height: 32px;
    width: 32px;
}

.navbar {
    display: flex;
    overflow: hidden;
    font-size: 18px;
}

.navbar a {
    flex-grow: 1;
    text-align: center;
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #ec1f24;
    transition: 300ms;
}

.navbar a:hover {
    background: #2b2e31;
    color: #fff;
}

.dropdown {
    float: left;
    overflow: hidden;
    flex-grow: 1;
    text-align: center;
}

.dropdown .dropbtn {
    font-size: 18px;
    border: none;
    outline: none;
    color: #ec1f24;
    padding: 10px 16px;
    background-color: #2b2e31;
    margin: 0;
}

.dropdown:hover .dropbtn {
    background: #2b2e31;
    color: #fff;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-left: 50px;
    font-size: 16px;
    font-weight: bold;
    background-color: #2b2e31;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #ec1f24;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#pocetna {
    text-align: center;
    color: #fff;
    background: url(img/main.jpg);
    background-size: cover;
    background-attachment: fixed;
}

#pocetna h1 {
    font-size: 48pt;
    margin-top: 0px;
    padding-top: calc(40vh - 200px);
    text-shadow: 2px 2px 4px #000;
}

.main-title {
    font-size: 36pt;
}

.dark-box {
    background-color: #22222250;
    border: 3px solid #fff;
    font-size: 24pt;
    padding: 45px;
}

#usluge {
    text-align: center;
    background-color: #2b2e31;
}

.column > h2 {
    margin-top: 0px;
    padding-top: 42px;
    text-align: center;
    color: #fff;
    font-size: 42px;
}

.column > p {
    color: #fff;
}

.services {
    padding-top: 24px;
    font-size: 22px;
}

.matrica {
    display: flex;
    flex-wrap: wrap;
    margin-top: 100px;
}

.block {
    flex: 1 1 150px;
    width: 400px;
}

.block > h3 {
    color: #ec1f24;
}

.service-icon > img {
    height: 128px;
    width: 128px;
}

.post-service {
    color: #fff;
}

.brand-car {
    display: flex;
    margin: 30px 0;
    padding-top: 24px;
}

.car {
    flex-grow: 1;
}

.car img {
    margin: 20px;
    height: 64px;
    width: 64px;
}

#tires-whiles {
    background: url(img/gume/gume.png);
    background-size: cover;
    background-attachment: fixed;
}

.gume {
   text-align: left;
}

.hotel {
    margin-top: 100px;
    color:#fff;
    text-shadow: 2px 2px #2b2e31;
    font-size: 24px;
}

.footer {
    background-color: #2b2e31;
    border-top: 2px solid white;
    font-size: 13px;
}

.footer > .column {
    display: flex;
}

.footer .footer-column {
    flex-grow: 1;
    flex-basis: 0;
    padding-top: 8px;
}

.footer-column_align-left {
    text-align: left;
}

.footer-column_align-center {
    text-align: center;
    font-size: 16px;
    margin-top: 70px;
    color: #ec1f24;
    text-decoration: none;
}

.footer-column_align-center:hover {
    text-decoration: underline;
}

.footer-column_align-right {
    margin-top: 40px;
    text-align: right;
    font-size: 16px;
}

.footer-left-list {
    display: flex;
    flex-direction: column;
}

.footer-left-list > li {
    list-style: none;
    margin: 8px;
}

.text-in-img span {
    font-size: 14px;
    font-weight: bold;
    color: #ec1f24;
}

.logo-footer > img {
    height: 128px;
    width: 128px;
}

.social-footer {
    text-align: left;
    margin-top: 6px;
    margin-left: 10px;
}

.social-footer a {
    text-decoration: none;
}

.social-footer img {
    height: 32px;
    width: 32px;
}

.red-link {
    color: #ec1f24;
    text-decoration: none;
}

.red-link:hover {
    text-decoration: underline;
}

/* Burger nav */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 30px;
    background: #ec1f24;
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.navbar--open {
    display: grid;
    transform: translate(0) !important;
}

.hamburger--open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger--open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



/* Media query */
@media screen and (min-width: 320px) and (max-width: 485px) {
    
    .header .column {
        margin: 0;
    }

    .column {
        width: 100%;
    }

    .column > h2 {
        padding-top: 50px;
        font-size: 32px;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 16px;
        text-align: center;
        font-size: 32px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    #logo-holder img {
        margin-top: 10px;
        height: 96px;
        width: 96px;
    }

    .general-list {
        margin-left: 10px;
        padding-left: 0;
    }

    .general-list > li span {
        font-size: 8px;
    }

    .generals img {
        height: 16px;
        width: 16px;
    }

    #social-holder a img {
        margin: 2px;
    }

    .navbar {
        position: absolute;
        left: 0;
        background-color: #2b2e31;
        width: 100%;
        padding: 10px 0 25px;
        transform: translateX(-100%);
    }

    .navbar a {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        font-size: 14px;
    }

    .dropdown .dropbtn {
        font-size: 15px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .hamburger {
        display: flow-root;
        text-align: right;
        margin-left: 10px;
    }

    #pocetna h1 {
        font-size: 26pt;
    }

    #usluge {
        height: 258vh;
    }

    .dark-box {
        font-size: 20pt;
    }

    .block {
        flex: 1 1 320px;
    }

    .services {
        padding-top: 32px;
        font-size: 18px;
    }

    .matrica {
        margin-top: 30px;
    }

    .car img {
        margin: 12px;
        width: 48px;
        height: 48px;
    }

    .hotel {
        margin-top: 80px;
        text-align: center;
        font-size: 18px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    .footer .column {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-column_align-left {
        padding-top: 24px;
    }

    .footer-left-list {
        padding: 0;
    }

    .footer-left-list > li {
        margin: 0;
    }

    .text-in-img > span {
        font-size: 14px;
    }

    .social-footer {
        text-align: center;
        margin-top: 4px;
        margin-left: 0px;
    }

    .logo-footer > img {
        height: 128px;
        width: 128px;
    }

    .footer-column_align-center {
        margin-top: 34px;
        text-align: center;
        font-size: 10px;
    }

    .footer-column_align-right {
        margin-top: 20px;
        text-align: center;
        font-size: 18px;
    }
}

@media screen and (min-width: 486px) and (max-width: 767px) {

    .column {
        width: 100%;
    }

    .column > h2 {
        font-size: 32px;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 32px;
        text-align: center;
        font-size: 32px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    #logo-holder img {
        margin-top: 10px;
        height: 96px;
        width: 96px;
    }

    #general-holder {
        flex-grow: 0;
    }

    .general-list {
        margin-left: 10px;
        padding-left: 0;
    }

    .general-list > li span {
        font-size: 12px;
    }

    .generals img {
        height: 16px;
        width: 16px;
    }

    #social-holder a img {
        margin: 2px;
    }

    .navbar {
        position: absolute;
        left: 0;
        background-color: #2b2e31;
        width: 100%;
        padding: 10px 0 25px;
        transform: translateX(-100%);
    }

    .navbar a {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        font-size: 14px;
    }

    .dropdown .dropbtn {
        font-size: 15px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .hamburger {
        display: flow-root;
        text-align: right;
        margin-left: 10px;
    }

    .services {
        padding-top: 20px;
        font-size: 22px;
    }

    .matrica {
        margin-top: 40px;
    }

    .block {
        flex: 1 1 486px;
        width: auto;
    }

    #pocetna h1 {
        font-size: 32pt;
    }

    #usluge {
        height: 186vh;
    }

    .services {
        padding-top: 20px;
        font-size: 22px;
        font-size: 18px;
    }

    .matrica {
        margin-top: 40px;
    }

    .block {
        flex: 1 1 486px;
        width: auto;
    }

    .service-icon > img {
        height: 96px;
        width: 96px;
    }

    .car img {
        margin: 12px;
        padding-top: 24px;
    }

    .hotel {
        margin: 94px 10px 0 20px;
        font-size: 20px;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 12px;
    }

    .footer-column_align-right {
        margin-top: 20px;
        font-size: 18px;
    }

}

@media screen and (min-width: 768px) and (max-width: 991px) {

    .column {
        width: 100%;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 16px;
        text-align: center;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    #logo-holder {
        margin-left: 22px;
    }

    #general-holder {
        flex-grow: 4;
    }

    #usluge {
        height: 126vh;
    }

    .services {
        font-size: 26px;
    }

    .service-icon > h3 {
        font-size: 18px;
    }

    .post-service {
        font-size: 14px;
    }

    .car img {
        margin: 12px;
        padding-top: 20px;
    }

    .gume {
        margin: 0 10px;
        padding: 0 40px;
    }

    .hotel {
        margin-top: 84px;
        font-size: 22px;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

    .column {
        width: 100%;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 16px;
        text-align: center;
        font-size: 48px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    #logo-holder {
        margin-left: 28px;
    }

    #social-holder a img {
        height: 42px;
        width: 42px;
    }
    
    #usluge {
        height: 126vh;
    }

    .hotel {
        margin-left: 48px;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1299px) {

    .column {
        width: 100%;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 42px;
        text-align: center;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    #logo-holder {
        margin-left: 56px;
    }

    #usluge {
        height: 124vh;
    }

    .hotel {
        margin-left: 48px;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1300px) and (max-width: 1439px) {

    .column {
        width: 100%;
    }

    .column > h4 {
        margin-top: auto;
        padding-top: 42px;
        text-align: center;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    .services {
        font-size: 22px;
    }

    .hotel {
        margin-left: 48px;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1599px) {

    .column > h4 {
        margin-top: auto;
        padding-top: 42px;
        text-align: center;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    .footer .column {
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1920px) {

    .column > h4 {
        margin-top: auto;
        padding-top: 42px;
        text-align: center;
        font-size: 42px;
        color: #fff;
        text-shadow: 2px 2px #2b2e31;
    }

    .footer .column {
        width: auto;
        flex-direction: row;
        justify-content: space-around;
    }

    .footer-left-list {
        margin: auto;
        padding: 0;
    }

    .social-footer {
        text-align: right;
        margin-top: 4px;
        margin-left: 0px;
    }

    .footer-column_align-center {
        font-size: 14px;
    }

    .footer-column_align-right {
        margin-top: 22px;
        font-size: 18px;
    }
}