* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

body {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    text-align: center;
}

.flex-container {
    display: flex;
    border: 4px solid rgb(2, 138, 72);
    border-radius: 15px;
    height: 800px;
    width: auto;
    gap: 15px;
    
}
.car {
    display: flex;
    width: 30%;
    margin: 5px;
}

img {
    height: 100%;
    border-radius: 14px;
    width: 40%;
    flex: 2;
    border: 2px solid blueviolet;
}

.text {
    display: flex;
    flex-direction: column;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: larger;    
    width: 60%;
    background-color: aliceblue;
    flex: 1;
}

.top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.middle {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.middle form {
    display: flex;
    gap: 10px;
    text-align: left;
}

.middle form fieldset{
    display: flex;
    flex-direction: column ;
    justify-content: space-evenly;
    align-items: ;
    width: 90%;
    margin: 5px;
    gap: 20px;
    border: none;
}

.middle form fieldset input {
    display: flex;
    justify-content: flex-start;
    width: 70%;
    margin-top: ;
}

.bottom {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    justify-content: left;
    align-items: flex-start;
    width: 40%;
    justify-content: center;
    align-items: center;
    margin-top: 20%;
}

.bottom button {
    border: 2px solid green;
    background-color: green;
    width: 150px;
    height: 50px;
    font-size: large;
    color: aliceblue;
    padding: 10px;
}

@media screen and (min-width: 800px) {
    .container {
      margin: 1em 2em;
    }
  }

  .container {
    display: flex;
  }
  
  .item {
    flex: 1;
  }
  