 

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color:black;
}

.header {
    background-color: #f3f3f3;
    padding: 10px;
    text-align: center;
}
.card.extra-large.card-video{position:relative;overflow:hidden}
.card.extra-large.card-video .bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;}
.card.extra-large.card-video .card-content{position:relative;z-index:1}
.descrip{
    margin-top: 5px;
}
.descrip span {
    display: block; /* Makes each span element take the full width available, placing it on a new line */
}
.logo {
    width: 435px; /* Consider scaling down on smaller screens */
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 100px;
    margin-left: 120px; 
    margin-right: 94px;
}

.description {
    flex: 1;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content {
    text-align: center;
}

.cards {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.card {
    /*display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;*/
    border: 1px solid #eceaea;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
    min-height: 130px;
    min-width: 130px;
    padding-top: 20px;
 
    padding-left: 22px;
    padding-right: 22px;
    cursor: pointer;
}

.card:hover {
    background-color: #fafafa;
}

.large {
    grid-column: span 2;
}

.extra-large {
    /*position: relative; 
    grid-column: span 4;
    background-image: url('https://news.mit.edu/sites/default/files/styles/news_article__image_gallery/public/images/201908/zurich_landing.png?itok=qnTNWAJ9');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; 
     animation: zoom-animation 10s infinite;*/
}

@keyframes background-zoom {
    0%, 100% {
           background-size: 100% 100%;
    }
    50% {
            background-size: 120% 120%;
    }
}

.extra-large {
    position: relative;
        background-image: url('./img/plane.png');
    grid-column: span 4;

    background-position: center;
    background-repeat: no-repeat;
    color: white;
        animation: background-zoom 20s infinite ease-in-out;
}


.extra-large::before {
    content: ""; /* Pseudo-element requires content to be displayed */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     
    z-index: 1; /* Ensures the overlay is above the background but below the content */
    border-radius: 20px;
}

.card-content {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
}

 
 

.card img {
   height: 24px;
    border: 1px solid #eceaea;
    padding: 5px;
    margin-bottom: 2px;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
        background-color: white;
}

.card.large, .card.extra-large {
    display: flex;
        height: 329px;
    justify-content: space-between; /* Aligns content and image side by side */
    align-items: center;
}

.card-content, .card-image {
    flex: 1; /* Each takes half the space of the card */
   /* padding: 10px;  */
}

.card-content {
    /*display: flex;
    flex-direction: column;
    align-items: center; */
}

.card-image img {
    width: 100%;
    height: 112px;
    border-radius: 18px;
}


@media (max-width: 1315px) {
    .footer {
    position: relative !important;
  
}

.footerp{
    padding-top: 6px;
}
    .container {
        flex-direction: column;
    }

    .description, .cards {
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* Adjust based on your preference */
    }

     

    .logo {
        width: 150px; /* Smaller logo on mobile */
    }

  
    .card.large, .card.extra-large {
        flex-direction: column; /* Stack content and image vertically on smaller screens */
    }

    .card-content, .card-image {
               margin-left: 6px;
        margin-right: 9px;
    }
}

@media (max-width: 954px) {
    .cards-grid{
        display:block;
    }
    
    .card{
        min-height: 105px;
        margin-bottom: 14px;
    }
    
    .container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 0px;
    margin-left: 0px; 
    margin-right: 0px;
}

.descrip span{
    font-size: 16px;
}

}
.footer {
position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 27px;
    background-color: #f3f3f3;
    color: black;
    text-align: center;
    font-size: 13px;
}
.footerp{
    margin-top: 6px;
}
