/* Universal */

* {
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  padding: 0;
}

/* Body */

body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Navbar */

.navbar {
  align-items: center;
  background-color: #181D27;
  display: flex;
  justify-content: space-evenly;
  overflow: scroll;
}

.navbar-item a {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0.5em;
  text-decoration: none;
}

a img {
  padding: 0.5em;
}

/* Main */

main {
  display: flex;
}

main .hero-img {
  height: 100vh;
  object-fit: cover;
  width: 100vw;
}

/* Footer */

footer {
  align-items: center;
  background-color: #181D27;
  color: white;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  padding: 0.5rem;
  overflow: scroll;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: center;
}

@media screen and (width < 40rem) {
  footer {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-left {
    font-size: 0.75rem;
    padding: 0.5em;
  }

  footer div:nth-child(2) {
    grid-column: 1 / 1;
    grid-row: 2;
  }
}

/* About */

.about-img {
  height: 100vh;
  object-fit: cover;
  width: 40vw;
}

.about-row {
  color: black;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.about-sec {
  background-color: #F2EFE9;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: scroll;
  padding: 1rem;
  width: 60vw;
}

.about-txt {
  font-size: 1.25rem;
  line-height: 2em;
}

/* Contact */

.contact-cell {
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 0.5rem;
}

.contact-img {
  background-color: #F2EFE9;
  height: 100vh;
  object-fit: contain;
  width: 40vw;
}

.contact-msg {
  background-color: #181D27;
  border-radius: 0.5rem;
  width: 6rem;
}

.contact-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.contact-sec {
  background-color: #904E55;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: scroll;
  padding: 1rem;
  width: 60vw;
}

/* Copied */

#copied {
  color: white;
  font-weight: bold;
  padding: 0.5rem 0;
  text-align: center;
  visibility: hidden;
}

#copied.show {
  visibility: visible;
}

/* Icons */

.mail-icon {
  cursor: pointer;
  padding: 0.5em;
}
