.grid {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.grid>* {
    flex: 1 1 20%;
}

.grid .grid-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 800px;
    width: 20%;
}

.grid .grid-content a {
    width: 100%;
    height: 100%;
}

.grid .grid-content .category-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.grid .grid-content .category-box .category-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid .grid-content .category-box img {
    width: auto;
    height: 110%;
    transition: all 0.5s ease;
}

.grid .grid-content .category-box:hover img {
    transform: scale(1.1);
}

.grid .grid-content .category-box .category-title {
    position: absolute;
    bottom: 10%;
    width: 90%;
    text-align: center;
}

.grid .grid-content .category-box h2 {
    font-size: var(--fontsize1-5);
    color: #fff;
}
.row .box-video{
    position: relative;
    padding-bottom: 39.2%; /* 16:9 */
    height: 0;
    width: 70%;
}

.row .box-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.row{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
}
.row .title{
    width: 100%;
    text-align: center;
    margin-bottom: 2vh;
}

.row .title hr.solid {
    border-top: 3px solid #bbb;
    margin-right:45%;
    margin-left:45%;

  }
.row .title h1{
    font-size:var(--fontsize4);
    color: #ddc7a1;
    letter-spacing: 10px;
}
.row .title h2{
    font-size: var(--fontsize3);
    text-decoration: underline 2px; 
    font-family:courier, courier new, serif;

}
.row .title h3{
    font-size: var(--fontsize2);
}

.row .highlight {
    width:100%;
    text-align: center;

}
.row .highlight h1{
    font-size:var(--fontsize2);
    letter-spacing: 10px;
    margin-bottom: 2vh;
    font-family:courier, courier new, serif;
}

.box-content{
    background-color: #eed3b6;
    height: 90%;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.box-content .box{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 90%;
    width: 80%;
}
.box-content .column1{
    width: 100%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.box-content .column2{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    padding-bottom: 50px;
}
.box-content .column1 .box-image{
    width: 90%;
    height: 90%;
    overflow: hidden;
    justify-content: space-around;
    display: flex;
    align-items: center;
}
.box-content .column1 .box-image img{
    height: 300px;
    width: auto;
}
.box-content .column2 .text{
    height: 80%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-evenly;
}
.box-content .column2 h1{
    line-height: 1.5;
    margin-bottom: 2%;
    font-size: var(--fontsize3);
    text-transform: uppercase;
}
.box-content .column2 h1 span{
    color: #8dba3b;
    font-weight: bold;
}
.box-content .column2 .text p{
    margin-bottom: 2%;
    font-size: var(--fontsize1);
    color: black;
    font-weight: 400;
    text-align: justify;
}
.box-content .column2 .icon-text{
    display: flex;
    width: 95%;
    margin-top:5%;
    max-height: 20%;
    align-items: center;
    justify-content: space-between;

}

.box-content .column2 .icon-text .contact-button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
}

.box-content .column2 .icon-text .contact-button .button {
    background: rgba(255, 255, 255, 0.445);
    padding: 10px 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    cursor:pointer;
    letter-spacing: 5px;
    
}

.box-content .column2 .icon-text .contact-button .button a{
    text-decoration:none;
    font-family: courier, courier new, serif;
    text-transform: uppercase;
}

/* 
.row #warum-image{
    background-image: url(../../media/images/oil.png);
    background-size:cover;
 
} */

.box-content-warum{
    background-image: url(../../static/imagini/oil.webp);
    background-size:cover;
    background-position: center;
    display: flex;
    width: 100%;
    height: 1050px;
    align-items: center;
    justify-content: center;
    position: relative;
}
.box-content-warum .box-warum{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: 90%;
    width: 80%;
    position: absolute;
}

.box-content-warum .column-warum{
    width: 50%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 3%;
}
.box-content-warum .column-warum .text-warum{
    height: 80%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-evenly;
}
.box-content-warum .column-warum .text-warum strong{
    font-family: courier, courier new, serif;
    font-weight: 1000;
    font-size: 20px;
}
.box-content-warum .column-warum h1{
    line-height: 1.5;
    margin-bottom: 2%;
    font-size: var(--fontsize3);
}
.box-content-warum .column-warum h1 span{
    color: #8dba3b;
    font-weight: bold;
}
.box-content-warum .column-warum .text-warum p{
    margin-bottom: 2%;
    font-size: var(--fontsize1);
    color: black;
    font-weight: 400;
}
.box-content .column2 .box-icon{
    width: 50%;
    display: flex;
    margin: 2%;    
    align-items: center;
}
.box-content .column2 .box-icon .icon-img{
    margin-right: 3%;
}
.box-content .column2 .box-icon .icon-description{
    font-weight: bold;
}

.row .banner{
    width: 100%;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.row .banner img{
    height: 100%;
    width: auto;
}

.row .about-us{
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
}

.row .about-us .about-element{
    width: 95%;
}
.row .about-us .about-element .about-head{
    display: flex;    
    align-items: center;
    margin: 2vh 0vh;
}
.row .about-us .about-element .about-head .about-logo{
    margin-right: 3%;
    display: flex;
}
.row .about-us .about-element .about-head .about-logo img{
    border-radius: 5px;
    height: 32px;
    width: 42px;
}
.row .about-us .about-element .about-head .about-title{
    font-size: var(--fontsize1-5);
}
.row .about-us .about-element .about-description{
    color: #777777;
}

.row .title .newstitle{
    font-size: var(--fontsize3);
    color: black;
    text-decoration: underline 2px;

}
.row .title .newstitle a{
    color: black;
    text-decoration: none;
    font-family: courier, courier new, serif;
}
.row .title .news a{
    text-decoration: none;
}
.swiper {
    width: 100%;
    height: 100%;
    z-index: 0;
  }

.swiper-slide {
    text-align: center;
    font-size: var(--fontmedium);
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }
.swiper-button-next{
    height: 100px;
    width: 50px; 
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    top:35%;
}
.swiper-button-prev{
    height: 100px;
    width: 50px; 
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    top:35%;
}    
.swiper-button-next:hover{
    background: #777777a3;
    height: 100px;
    width: 50px;
    border-radius: 10px 0px 0px 10px;
    color: #fff;
    font-weight: 900;
}
.swiper-button-prev:hover{
    background: #777777a3;
    height: 100px;
    width: 50px;
    color: #fff;
    font-weight: 900;
}
.card{
    width: 500px;
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-link {
    width: 90%;
    height: 90%;
    text-decoration: none;
    /* box-shadow: 0px 0px 11px 6px rgb(0 0 0 / 10%);
    border-radius: 10px;
    transition: all 0.5s ease; */

}

.card-content{
    height: 90%;
    /* border-radius: 10px; */
    overflow: hidden;    
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-img{
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.card-img p{
    position: absolute;
    left: 0%;
    display: flex;
    width: 100%;    
    transition: all 1s linear;
    visibility: hidden;
    font-size: 5em;
    font-family: "Times New Roman", Times, serif;
    color: var(--white);
}
.card:hover .card-img p{
    transform: translateX(22%);
    z-index: 1;
    visibility: visible;
    letter-spacing: 40px;
}
.card-img img{
    height: 100%;
    width: auto;
    transition: all 0.5s ease;
}
/* .card:hover .card-link{
    box-shadow: 0px 0px 11px 6px rgb(0 0 0 / 20%); 
} */
.card:hover .card-img img{
    transform: scale(1.05);
    filter: brightness(50%);
    }
.card-title{
    width: 95%;
    height: 20%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-title h1{
    font-size: 20px;
    color:gray;
    font-family: courier, courier new, serif;
}
.row .box-video {
    margin-top: 5%;
}

.card-home{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 55%;
    background-image: linear-gradient(#cec2ab, #e6dcc9);
    margin-top: 5%;
    cursor: pointer;
}

.card-home:hover{
    border-color: #c3b498;
    background-image: linear-gradient(#c9beab, #cac1b1);

}


.card-home .card-more{
    font-size: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-home .card-more a{
    color: white;
    font-size: 1.2em;
    text-align: center;
    padding: 18px 25px;
}
.prevspace{
    margin-top: 5vh;
}
@media only screen and  (max-width:1500px){
    .prevspace{
    margin-top: 2vh;
}
}
@media only screen and (max-width: 1240px) {
    .box-content-warum .column-warum .text-warum {
        font-size: 15px;
        justify-content: justify;
    }
    .row .title {
    display: flex;
    width: 100%;
    text-align: center;
    margin-bottom: 2vh;
    flex-direction: column;
    align-items: center;
    }
    .row .title h3 {
        font-size: var(--fontsize2);
        width: 80%;
    }
}
@media only screen and  (max-width:1180px) and (min-width: 691px){
    .box-content .column2 .icon-text {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .box-content .column2 .icon-text .contact-button {
        margin-top: 5%;
        width: 100%;
    }
    .box-content .column2 .icon-text .contact-button .button a {
        font-size: 1em;
    }
}
@media only screen and  (max-width:1328px) and (min-width: 1141px) {
    .prevspace{
        margin-top: 0vh;
    }
    .card {
        width: 300px;
        height: 550px;
    }
    .card-title h1{
        font-size: 18px;
    }
    .box-content .column2 .icon-text .contact-button .button a{
        font-size: 0.8em;
    }
}
@media only screen and  (max-width:1140px) and (min-width: 549px) {
    .card {
        width: 250px;
        height: 500px;
    }
    .card-title h1{
        font-size: 18px;
    }
    .box-content .column2 .icon-text .contact-button .button a{
        font-size: 0.8em;
    }
}
@media only screen and  (min-width:1141px){
    .card {
        width: 350px;
        height: 600px;
    }
}
@media only screen and  (max-width:1064px) and (min-width: 691px){
    .box-content .column2 h1 {
        font-size: 2em;
    }
    .box-content .column2 .icon-text .contact-button .button a{
        font-size: 0.6em;
    }
}
@media only screen and  (max-width:970px){
    .grid .grid-content{
        height: 450px;
    }
    .card {
        width: 500px;
        height: 600px;
    }
}
@media only screen and  (max-width:691px){
    .box-content .column2 .icon-text{
        width: 100%;
    }
    .box-content .column2 .icon-text .contact-button {
         width: 90%;
    }
    .box-content .column2 .icon-text .contact-button .button a{
        font-size: 0.7em;
    }
}
@media only screen and (max-width: 690px) {
    .row {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 5vh;
    }
    .grid {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
    }
    .grid .grid-content{
        width: 100%;
        height: 40vh;
        display:flex;
        background-size: cover;
        background-position: center;
    }
    .grid .grid-content .category-box .category-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 19vh;
        background-size: cover;
        background-position: center;
    }
    .grid .grid-content .category-box img {
        width: 100%;
        height: auto;
        transition: all 0.5s ease;
        justify-content: center;
    }
    .box-content-warum .box-warum{
        width: 100%;
        justify-content: center;
        text-align: justify;
    }
    .row .title h1{
        font-size: 30px!important;
        letter-spacing: 2px;
    }
    .box-content .column2 h1{
        font-size: 3em!important;
    }
    .box-content .column2 .text{
        width:100%;
        padding-top:7%;
        font-size:16px!important;
        text-align:justify;
    }
    .box-content .column2 .icon-text{
        display: flex;
        flex-direction:column;
        width: 100%;
        max-height: 25%;
        align-items: center;
        justify-content: space-between;   
     }
    .box-content .column2 .icon-text .contact-button{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin-top: 5%;

    }
    .box-content .column2 .icon-text .contact-button .button{
        background: white;
        padding: 15px 40px;
    }
    .box-content .column1 .box-image img{
        height: 215px;
    }
    .row .title h2{
        font-size:30px!important;
    }
    .row .title h3{
        font-size:20px;
        padding-left:10%;
        padding-right:10%;
    }
    .box-content-warum {
        background-image: url(../../static/imagini/white-oil.webp);
        height: 990px;
    }
    .box-content-warum .column-warum {
         width: 90%;
    }
    .box-content-warum .column-warum .text-warum{
         font-size: 16px;
         margin-top:25%;
    }
    .box-content{
        background-image: url(../../static/imagini/coffe.webp);
        background-position: center;
    }
    .box-content .column1{
        display: none;
    }
}
@media only screen and  (max-width:560px){
    .card {
        width: 300px;
        height: 500px;
    }
}
@media only screen and (max-width:549px) and (min-width: 501px)  {
    .box-content .column2 h1 {
        font-size: 1.7em!important;
    }
}
@media only screen and (max-width:500px) and (min-width: 325px)  {
    .box-content .column2 h1 {
        font-size: 1.8em!important;
    }
}
@media only screen and  (max-width:390px){
    .card {
        width: 200px;
        height: 400px;
    }
    .card-title h1 {
        font-size: 15px;
    }
}

