/* Basic styling */
body {
    font-family: roboto,Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.home-screen {
    background: #333;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    height: 100vh;
}

.blog-card {
    background-color: #e0e0e0;
    width: 400px;
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.blog-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-card h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.blog-card p {
    color: #555;
}

.blog-card button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-card button:hover {
    background-color: #0056b3;
}

/* Popup styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup1, #popup2,#popup3 ,#popup4, #popup5, #popup6,#popup7, #popup8, #popup9 ,#popup10, #popup11, #popup12{
    
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    max-width: 700px;
    position: relative;  
    font-size: large;
}

.popup-content h1, .popup-content h3 {
    margin-top: 0;
}

.popup-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-content-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.text-content, .image-content {
    flex: 1;
    padding: 10px;
    
}


.image-content img {
    width: 90%;
    height: auto;
    margin-bottom: 10px;
}
.image-content video {
    width: 90%;
    height: auto;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close:hover {
    color: #ff0000;
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
    .popup-content {
        font-size: xx-small;
    }
    
    .popup-content-area {
        flex-direction: column;
        align-items: center;
    }

    .image-content {
        order: -1; /* This brings the image to the top */
        width: 60%;
        gap: 10px;
        display: flex;
        margin-left: -130px;
    }

    .image-content img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .text-content {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .he {
        font-size: small;
    }
    .image-content video {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}

/* 
// Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {  }
/* 
// Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { }

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {  }

/* // X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {  }

/* // XX-Large devices (larger desktops)
// No media query since the xxl breakpoint has no upper bound on its width */
  