* {
    box-sizing: border-box;
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

.header{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: darkslategray;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.main{
    display: flex;
    flex-direction: column;
    background-color: lightsteelblue;
    width: 80vw;
}

.article1 img{
    width: 100%;
    height: 200px;
    align-self: center;
    object-fit: cover;
}

.article2 img{
    width: 100%;
    height: 200px;
    align-self: center;
    object-fit: cover;
}

.article3 img{
    width: 100%;
    height: 200px;
    align-self: center;
    object-fit: cover;
}

.row{
    display: flex;
    flex-direction: row;
    border: solid blue;
    justify-content: space-around;
}

.article1{
    border: solid red;
    flex: 1;
    max-width: 300px;
}

.article2{
    border: solid red;
    flex: 1;
    max-width: 300px;
}

.article3{
    border: solid red;
    flex: 1;
    max-width: 300px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border: solid green;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  @media only screen and (min-width: 320px) and  (max-width: 899px){
.row{
    display: flex;
    flex-direction: column;
    border: solid blue;
    justify-content: space-around;
    align-items: center;
}
.article1{
    display: flex;
    border: solid red;
    flex: 1;
    max-width: 300px;
    width: 300px;
    order: 2;
}

.article2{
    display: flex;
    border: solid red;
    flex: 1;
    max-width: 300px;
    width: 300px;
    order: 3;
}

.article3{
    display: flex;
    border: solid red;
    flex: 1;
    max-width: 300px;
    width: 300px;
    order: 1;
}
  }