body {
    background-color: beige; 
}

.main {
    container: sidebar / inline-size;
}

.box1 {
    display: flex;
    text-align: center;  
}

.box2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.weekday { 
    width: 33%;
    height: auto;
    background-color: rgb(180, 251, 117);

}
.weekend { 
    width: 33%;
    height: auto;
    background-color: rgb(97, 196, 216);
}
.holiday { 
    width: 33%;
    height: auto;
    background-color: rgb(253, 116, 255);
}

.boxtitle {
    font-size: 3em;
    text-decoration: underline;
}

.boxinfo {
    font-size: 1.8em;
}

.boxtext {
    font-size: 1.2em;
}

.tabletext {
    text-align: center;
    font-size: 1.2em;
}


@container sidebar (max-width: 1270px) {
.boxinfo {
    font-size: 1.2em;
}

.boxtext {
    font-size: 1.2em;
    text-align: left;
    margin-left: 3%;
    margin-right: 3%;
}

  }

@container sidebar (max-width: 860px) {
  .box1 {
    text-align: center;
  }

.weekday { 
    width: 100%;
    background-color: rgb(129, 199, 115);
}
.weekend { 
    width: 100%;
}
.holiday { 
    width: 100%;
    background-color: rgb(207, 127, 208);
}

.boxtitle {
    font-size: 2em;
    text-decoration: underline;
}

.boxinfo {
    font-size: 1em;
}

.boxtext {
    font-size: .8em;
    text-align: left;
    margin-left: 3%;
    margin-right: 3%;
}

@container sidebar (max-width: 500px) {
.box1 {
    text-align: center;
    flex-direction: column;
  }
   
.boxinfo {
    font-size: 1.1em;
}

.boxtext {
    font-size: 1em;
    text-align: center;
    margin-left: 3%;
    margin-right: 3%;
}

}

}