*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  color: #222;
  line-height: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  max-width: 800px;
  height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 180px;
  height: 100%;
}

.logo svg {
    height: 100%;
}

nav {
  display: flex;
  gap: 60px;
}

a,
a:visited,
a:active {
  color: #000;
}

a:hover {
    color: #444;
}

a, nav a {
  font-size: 24px;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  padding: 21px 39px;
  max-height: 700px;
}

.text-col-home, .img-col-home, .text-col-about, .img-col-about {
  flex: 1;
  max-width: 800px;
  gap: 21px;
  padding-bottom: 21px;
}

.img-col-home, .img-col-about, .img-col-home img,  .img-col-about img {
    height: 100%;
    width: 100%;
}

.contact-text {
    padding-right: 10px;
    font-size: 24px;
    max-height: 800px;
    text-align: center;
}

.contact-mail {
    font-size: 33px;
}


@media (max-width: 820px) and (orientation: portrait) {
    header {
        padding: 0 39px;
    }
    nav {
        display: flex;
        gap: 21px;
    }

    a, nav a {
        font-size: 21px;
    }

    .logo {
        width: 150px;
    }
    .container {
        padding: 0 9px;
        flex-direction: column;
        justify-content: flex-end;
    }
  
    .text-col-home, .img-col-home, .text-col-about, .img-col-about {
        width: 100%;
    }

    .img-col-about img, .img-col-home img {
        max-width: 100%;
    }
}


@media (max-width: 820px) and (orientation: landscape) {
    header {
        padding: 0 39px;
    }
}