.title{
    color: skyblue;
    text-align: center;
    font-family: monospace;
}
h2{
    text-decoration: underline;
    text-align: center;
}

h1{
    font-size: ;
    text-align: center;
    font-weight: 700; 
    color: skyblue;
    font-family: monospace;
    
}

body{
    background-color: rgba(222, 222, 244, 0.99);
    
    }
p{
    color: #4A4A4A;
    font-family: Helvetica;
    font-size: 16px;
    text-indent: 30px;
    margin-left: 1.4em;
    line-height: 1.8;
    text-align: left;
}

a{
    color:blue    
}
.pinkclass{
    background-color: navajowhite;
}
#minecraft_image{
    border: solid;
    border-color: red;
    
}

.container{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 50 10;
}
.griddivs{
    color: black;
    background-color: beige;
    width: 100px;
    gap: 20px;
}

.flex-container{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
}
.flexydivs{
    border: solid;
    border-color: firebrick;
    border-width: 5px
    
}
#item1{
    height: 100px;
    width: 100px;
}
#item2{
    height: 80px;
    width: 80px;
}
#item3{
    height: 60px;
    width: 60px;
}
#item4{
    height: 80px;
    width: 80px;
}
/* Top navbar styling */
.navbar {
  position: relative; /* keeps it at top */
  top: 0;
  left: 0;
  width: 100%;
  background-color: skyblue;
  display: flex;
  justify-content: center;
  overflow: hidden;
  z-index: 1000; /* keeps it above other elements */
}

.navbar1 {
  position: relative; /* keeps it at top */
  top: 0;
  left: 0;
  width: 100%;
  background-color: antiquewhite;
  display: flex;
  justify-content: center;
  overflow: hidden;
  z-index: 1000; /* keeps it above other elements */
}

.navbar1 a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  display: block;
    font-family: monospace;
    font-size: 22px;
}

/* Links inside navbar */
.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  display: block;
    font-family: monospace;
    font-size: 22px;
}

.navbar1 a {
  color: darkgray;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  display: block;
    font-family: monospace;
    font-size: 22px;
}

/* Hover effect */
.navbar a:hover {
  background-color: #575757;
}

.navbar1 a:hover {
  background-color: #575757;
}

/* Add spacing so content isn’t hidden behind navbar */
body {
  margin: 0;
  padding-top: 60px; /* adjust if navbar height changes */
  font-family: Arial, sans-serif;
}

/* Responsive text-image layout */
.text-image-section {
  display: flex;             /* side-by-side layout */
  flex-wrap: wrap;           /* stack on smaller screens */
  align-items: center;       /* vertical alignment */
  gap: 10px;                 /* space between text and image */
  padding: 20px 20px;        /* spacing around the section */
}

.text-image-section .text-side,
.text-image-section .image-side {
    flex: 1 1 80px;           /* grow, shrink, minimum width */
    max-width: 600px; /* prevents them from stretching too far */
}

.text-image-section .image-side img {
  max-width: 100%;           /* image scales with container */
  height: auto;              /* keep aspect ratio */
  border-radius: 8px;        /* optional: rounded corners */
}

/* Optional: add spacing for small screens */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;  /* stack text above image on mobile */
    text-align: center;      /* center text and image */
  }

  .text-image-section .text-side {
    margin-bottom: 20px; 
    text-align: center/* space between text and image */
  }
}
.applet-container {
    display: block;
    margin: 0 auto;
}
.image-side {
    display: flex;
    justify-content: center; /* centers them horizontally */
    gap: 10px;               /* space between images */
  }

.center-iframe {
    display: flex;
    justify-content: center; /* centers horizontally */
    margin-top: 20px;        /* optional */
  }
