header {
  background-color: red;
}
.logo {
  float: inline-start;
  max-width: 60%;
  height: auto;
}
nav {
  background-color: #ff0;
  clear: both;
  display: flex;
}
p {
  font-size: 25.88px;
  font-weight: 700;
  line-height: 26px;
}
nav ul li {
  text-decoration: none;
  list-style-type: none;
  color: #000;
  font-size: 25.88px;
  font-weight: 800;
  margin-left: -35px;
}
h1 {
  text-align: center;
  font-size: 67.87px;
  line-height: 67.87px;
}
h2 {
  text-align: center;
  font-size: 41.87px;
  padding-bottom: 20px;
}
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 10px;
}
main p {
  font-size: 25.88px;
  max-width: 450px;
  line-height: 25.88px;
}
.footer_format {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.menu {
  display: flex;
  flex-direction: row;
  padding-left: 20px;
  justify-content: space-between;
}
figcaption {
  font-size: 20px;
  font-weight: 700;
}
.column {
  display: grid;
  grid-template-columns: 45% 45%;
  justify-content: space-around;
}
form {
  padding-left: 150px;
}
.error {
  color: red;
}
.photo {
  padding: 10px 10px 10px 20px;
  max-width: 100%;
  height: auto;
}
.photo1 {
  justify-self: baseline;
}
img {
  height: auto;
  max-width: 100%;
  padding: 10px 10px 10px 10px;
}
.header1 {
  grid-area: header;
}
.nav2 {
  grid-area: nav;
  padding: 10px 10px 10px 10px;
}
.heading {
  grid-area: heading;
  padding: 10px 10px 10px 10px;
  text-align: center;
}
.main3 {
  grid-area: main1;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 10px 10px;
  justify-content: space-between;
  align-items: center;
}
.main32 {
  grid-area: main2;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 10px 10px;
  justify-content: space-between;
  align-items: center;
}
.para32 {
  max-width: 50%;
  height: auto;
  border: 10px solid #faf9f6;
  padding: 10px 10px 10px 10px;
  background-color: #faf9f6;
}

.footer4 {
  grid-area: footer;
}
.grid {
  display: grid;
  grid-template-areas: "header header header" "nav heading heading" "nav main1 main2" "footer footer footer";
  grid-template-columns: 10% 43% 43%;
  justify-content: space-around;
}
a {
  text-decoration: none;
}
nav ul {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
}
.left {
  margin-left: -25px;
  height: auto;
  background-color: red;
}
.left2 {
  margin-left: -25px;
  height: auto;
  border: 10px solid white;
  background-color: red;
}
html {
  font-size: 25.88px;
}
picture {
  background-color: red;
  border: 5px solid white;
}
@media screen and (max-width: 1000px) {
  img {
    max-width: 100%;
    height: auto;
  }
  figcaption {
    font-size: 70%;
    text-wrap: balance;
  }
  h1 {
    font-size: 25.88px;
    max-width: 100%;
  }
  .logo {
    max-width: 30%;
    max-height: 60%;
  }
  .grid {
    grid-template-columns: 18% 38% 38%;
  }
  .para32 {
    max-width: 100%;
  }
}
@media screen and (max-width: 650px) {
  .grid {
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas: "header" "nav" "heading" "main1" "main2" "footer";
  }
  .left {
    min-width: 75%;
    height: auto;
  }
  .main3 {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: -20px;
  }
  .main32 {
    display: flex;
    flex-direction: column;
    margin-left: -5px;
  }
  figcaption {
    font-size: 100%;
  }
  form {
    padding-left: 0;
  }
  h1 {
    padding-top: 20px;
    font-size: 50px;
  }
  .para32 {
    width: 90%;
  }
}
