@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
}
body{
    padding: 2em;
}
h2{
    color: #718751;
    margin-bottom: 1em;
}

form{
    margin: auto;
    border: 3px;
    border-style: solid;
    border-color: #718751;
    border-radius: 0.5em;
    padding:1em;
    max-width: 350px;
    min-width: 250px;
    background-color: #E2001A;
    color: white;
    box-sizing: border-box;
}

fieldset {
    border: 3px;
    padding: 0.5em;
    border-style: solid;
    border-color: #718751;
    border-radius: 0.5em;
    margin-bottom: 1em;
}

legend{
    margin-left: 0.5em;
    font-size: 1em;
    font-weight: bold;
    color: #718751;;
}

input[type=text], input[type=tel]{
    background-color:#718751;
    color: white;
}

label{
    width: 5em;
}
.input_flex{
    display: flex;
    flex-direction:row;
    gap: 0.5em;
    padding: 0.1em;
}


.btn{
    padding: 0.2em;
    background-color: #E2001A;
    border: 2px solid #718751;
    color: white;
    font-weight: bold;
    font-size: 1em;
}

@media (max-width: 550px) {
    .input_flex{
        display: flex;
        flex-direction:column;
        gap: 0.5em;
        padding: 0.1em;
    }
}