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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.5;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

.center {
  text-align: center;
}

header,
footer {
  text-align: center;
}

main {
  width: min(1024px, 90%);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

h2 {
  border-bottom: solid thin;
}

#backToTop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
}

.btn {
  background-color: rgb(255, 68, 99);
  color: #fff;
  padding: 1rem;
  border-radius: 5px;
}

iframe {
  max-width: 100%;
}
