﻿.group {
    position: relative;
    height: 30px;
    overflow: hidden;
    color: #fff;
    background-color: #212529;
    border-bottom: 2px solid;
    border-top: 2px solid;
}

    .group.text {
        position: absolute;
        margin: 5px 0;
        padding: 0;
        width: max-content;
        animation: my-animation 24s linear infinite;
    }

h1 {
    font-size: 2.1rem;
    line-height: 0.8;
    letter-spacing: 0.5rem;
    text-align: center;
    ;
}

.mySlides {
    display: none;
    margin-left: 50%;
    margin-right: 50%;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    background-color: transparent;
    max-width: 100%;
    margin: 100px auto;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.row {
    box-sizing: border-box;
    justify-content: center;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Float four columns side by side */
.column {
    float: left;
    width: 30%;
    padding: 10px;
}

/* Remove extra left and right margins, due to padding */
.row {
    margin: 0 10%;
    float: center;
}

    /* Clear floats after the columns */
    .row:after {
        content: "";
        display: table;
        clear: both;
    }

/* Responsive columns */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}

/* Style the counter cards */
.card, .card2 {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    background-color: #f1f1f1;
    width: auto;
    border-radius: 10px;
}

    .card:hover, .card2:hover {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    .card img, .card2 img {
        max-width: 100%;
        height: auto;
    }
