@media screen and (min-width:1001px){
    .desktop-view{
    display: flex;
   } 
   
   .mobile-view{
    display: none;
   }

    body {
        margin: auto;
        padding: 0 20px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        max-width: 1920px;
        width: 100%;
        box-sizing: border-box;
        background-color: rgb(177, 180, 184);
    }

    .flex-container {
        display: flex;
        align-items: stretch;
        margin-top: 100px;
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 50px;
    }

    .flex-item {
        flex: 1; 
        box-sizing: border-box;
        transform: scale(0.9);
        background-color: rgb(246, 246, 246);
        border-radius: 1em;
    }

    .image-container img {
        width:100%;
        height:100%; 
        object-fit: cover; 
        display: block;
        border-radius: 1em;
        z-index: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .text-container {
        padding: 30px;
        line-height: 1.2;
    }

    .text-container p{
        font-size: 20px; 
    }

    .text-container h1 {
        top: 0;
        font-size: 50px;
        margin-bottom: 70px;
        color: rgb(119, 65, 24);
    }  
}
@media screen and (max-width:1000px) {
    .desktop-view{
        display: none;
    }

    .mobile-view{
        display: block;
    }

    body {
        background-color: rgb(152, 152, 152);
        margin: auto;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 0px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    
    .flex-container{
        flex-direction: column;
        margin-top: 100px;
        background-color: white;
        border-radius: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    }
    
    .flex-item {
        flex: 1; 
        box-sizing: border-box;
        padding: 5px;
        position: relative;
        background-color: transparent;
        overflow: hidden;
    }
    
    .image-container img {
        max-width:100%;
        height:auto; 
        object-fit: cover; 
        display: block;
        border-radius: 1em;
        z-index: 1;
    }

    .text-container{
        padding: 50px;
        margin-bottom: 10px;
        text-align: left;
    }

    .text-container p{
        font-size: 16px;
    }

    .text-container h1 {
        font-size: 22px;
        margin-bottom: 30px;
        color: rgb(119, 65, 24);
  }
 
}