body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d6f4ce;
}

.navbar {
    background-color: #034b20;
    color: rgb(226, 21, 21);
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.navbar a {
    color: rgb(226, 21, 21);
    text-decoration: none; /* Remove default underline */
    padding: 10px;
    font-size: 18px; /* Consistent font size for links */
}


.navbar div:hover {
    text-decoration: underline; 
}

.logo {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive;
}
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.logo {
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    color: #e00c0c;
    margin-bottom: 20px;
}

.logo span {
    font-family: 'Comic Sans MS', sans-serif;
}

.text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding: 40px;
}

.text b {
    color: #7f0a0a;
}

.image {
    
   
    height: 300px;
    width: 200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; /* Aligns images horizontally */
    gap: 95px; /* Adds space between the images */
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; /* Ensures they are spaced apart */
    
    margin-bottom: 20px;
}
.image img:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.image img {
    max-width:300px;
    width: 100%; 
   border-radius: 15px;
   
}
.footer {
    background-color: #034b20; 
    text-align: center;
    padding: 20px ;
  }
  
  .social-link {
    text-decoration: none;
    color: rgb(186, 8, 8); 
    font-size: 1.2rem;
    font-weight: bold;
   
    gap: 10px; 
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
  }

/* Phones */
@media (max-width: 500px) {
    .navbar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* Stack links vertically */
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .navbar a {
        font-size: 16px; /* Smaller font for links */
        padding: 8px;
    }

    .container {
        padding: 10px; 
        max-height: 250px;
    }

    .text {
        font-size: 16px; 
        padding: 20px;
    }

    .image {
        gap: 15px; /* Reduce spacing between images */
       }
    .image img {
        max-width: 130px; /* Smaller image size for tablets */
        max-height: 230px;
    }
}

/* Tablets */
@media (min-width: 500px) and (max-width: 768px) {
    .navbar {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }

    .text {
        font-size: 17px;
        padding: 30px;
    }

    .image {
        gap: 20px; /* Reduce spacing between images */
       
    }

    .image img {
        max-width: 190px; /* Smaller image size for tablets */
    }
}

/* Desktops */
@media (min-width: 769px) {
    .navbar {
        -ms-flex-pack: distribute;
            justify-content: space-around;
    }

    .image img {
        max-width: 300px; /* Default image size */
    }

    .text {
        font-size: 18px;
        padding: 40px; /* Default padding */
    }
}