* {
    margin: 0;
    padding: 0;
}

body {
    background: #0d0d0d;
}

.header {
    background-color: #000;
    height: 70vh;
    background-image: url("https://demo.webmastery.ro/background.jpg");
    background-position: top;
    background-size: cover;
}

.header .heading {
    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
    font-family: monospace;
}

.text {
    color: #fff;
    font-family: sans-serif;
    margin: 20px 0 0 0;
}

.main-content {
    width: 80%;
    margin: auto;
    max-width: 1500px;
}

.rand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 50px 0;
}

.element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.element .descriere {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.element .link {
    border: 1px solid;
    background: no-repeat;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-family: sans-serif;
}

.element .heading {
    margin: 10px 0;
    color: #fff;
    font-family: sans-serif;
    font-size: 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
}

.nav-wrapper {
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
}

.logo img {
    max-width: 200px;
}

.prezentare {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.contact, .contact a {
    color: #fff;
    display: flex;
    align-items: center;
    font-family: sans-serif;
    text-decoration: none;
}

.contact span {
    margin-left: 20px;
}

.link-contact i {
    margin: 0 10px;
}

.element, .imagine, .imagine img {
    width: 100%;
}


.imagine {
    min-height: 300px;
    background-position: top;
    transition: ease-in-out 6s;
    min-width: 300px;
    background: #000;
}

.img2 {
    background-size: cover;
    background-image: url("./diastin.png");
}

.img-hotel {
    background-size: cover;
    background-image: url("./hotel.jpg");
}

.img-fotografie {
    background-size: cover;
    background-image: url("./fotografie.jpg");
}

.img-farmacie {
    background-size: cover;
    background-image: url("./farmacie.jpg");
}

.img-service {
    background-size: cover;
    background-image: url("./service.jpg");
}

.img-salon {
    background-size: cover;
    background-image: url("./salon.jpg");
}

.img-frizerie {
    background-size: cover;
    background-image: url("./frizerie.jpg");
}

.img-financiar {
    background-size: cover;
    background-image: url("./servicii-financiare.jpg");
}

.img-restaurant-livrari {
    background-size: cover;
    background-image: url("./restaurant_livrari.jpg");
}

.img-restaurant, .img1 {
    background-size: cover;
    background-image: url("./restaurant.jpg");
}


.imagine:hover {
    background-position: bottom;
}

.main-content > .link {
    margin: 30px 0;
    display: block;
    width: fit-content;
    border: 1px solid;
    background: no-repeat;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-family: sans-serif;
}

.main-content > .link i {
    margin-right: 10px;
}

.header.header-index {
    margin-bottom: 100px;
}

@media all and (min-width: 1150px) {
    .coloana {
        width: 30%;
    }
    .index .coloana {
        width: 45%;
    }
    .index .coloana .imagine{
        min-height: 500px;
    }
}

@media all and (max-width: 500px) {
    .imagine {
        min-height: 200px;
    }
    .nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .link-contact {
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .contact {
        margin: 20px 0 10px 0;
    }

    .contact span:first-child {
        margin: 0;
    }
    .heading, .text{
        text-align: center;
    }
    .rand {
        flex-direction: column;
        margin: 0;
    }
    .element {
        margin: 0 0 60px 0;
    }
    .index .coloana {
        width: 100%;
        margin-bottom: 50px;
    }
}

@media all and (max-width: 1150px) {
    .rand {
        flex-direction: column;
        margin: 0;
        width: 100%;
    }
    .heading, .text{
        text-align: center;
    }
    .index .coloana {
        width: 100%;
        margin-bottom: 50px;
    }
}