.wrapper{
  display: flex;
  flex-flow: row wrap;
  text-align: left;
}

.wrapper > * {
  padding: 10px;
  margin: 10px;
  flex: 1 100%;
  border-style: solid;
  border-color: white;
  border-radius: 10px;
  overflow-y: scroll;
}

.header{
  background-color: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 120px;
  text-align: center;
  display: flex;
}

.footer{
  background-color: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 120px;
  text-align: center;
}

.main{
  text-align: left;
  background: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 1000px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
}

.aside1 {
  display: flex;
}

.column1 {
  flex-direction: column;
}

.column2 {
  flex-direction: column;
}



.aside1{
  background: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 300px;
  display: flex;
  flex-direction: column;
}

.column1{
  background: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 300px;
  display: flex;
  flex-direction: column;
}

.column2{
  background: rgba(173,216,230,0.4); /*blue with opacity*/
  height: 300px;
  display: flex;
  flex-direction: column;
}

@media all and (min-width: 800px){
  .main{
    flex: 3;
  }
  
  .aside1{
    order: 1;
  }
  
  .column1{
    order: 2;
  }
  
  .column2{
    order: 3;
  }
  
  .main{
    order: 2;
  }
  
  .footer{
    order: 4;
  }
}

@media all and (min-width: 600px){
  .aside {
    flex: 1;
  }
}

/* ===== NAVIGATION ===== */
nav {
    background-color: var(--primary-color);
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}




/* ===== grid testing ===== */
.grid-container {
  display: grid; /* Makes the container a grid container */
  grid-template-columns: 1fr 1fr 1fr; /* Creates three equal-width columns */
  gap: 10px; /* Adds space between grid items */
}

.grid-item {
  padding: 15px;
  border: 1px solid #ccc;
}