:root {
  --cor-branca: #ffffff;
  --cor-azul-escuro: #071637;
  --cor-azul-claro: #3ab0b7;
  --cor-azul-profundo: #003366;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cor-branca);
  color: var(--cor-azul-escuro);
  line-height: 1.6;
}

header, footer {
  background-color: var(--cor-azul-profundo);
  color: var(--cor-branca);
  text-align: center;
  padding: 20px;
}

header h1 {
  color: var(--cor-branca);
  font-size: 2.5rem;
  line-height: 1.2;
}

nav {
  background-color: var(--cor-azul-claro);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}

nav a {
  color: var(--cor-branca);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

nav a:focus,
button:focus {
  outline: 2px dashed var(--cor-azul-claro);
  outline-offset: 3px;
}

.logo img {
  max-width: 180px;
  margin: 20px auto;
  display: block;
}

.container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

h1, h2 {
  color: var(--cor-azul-profundo);
}

h2 {
  font-size: 1.8rem;
  line-height: 1.3;
}

section {
  margin-bottom: 40px;
}

button {
  background-color: var(--cor-azul-claro);
  color: var(--cor-branca);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--cor-azul-profundo);
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border: 1px solid var(--cor-azul-claro);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

label {
  font-weight: 600;
}

/* BLOG LAYOUT */

.blog_files .blog-post {
  margin-bottom: 40px;
}

.blog_files .blog-post .post-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.blog_files .blog-post .post-wrapper.left {
  flex-direction: row;
}

.blog_files .blog-post .post-wrapper.right {
  flex-direction: row-reverse;
}

.blog_files .blog-post .post-wrapper a {
  display: block;
  width: 30%;
}

.blog_files .blog-post .post-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.blog_files .blog-post .post-text {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
  text-align: left;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .blog_files .blog-post .post-wrapper {
    flex-direction: column;
  }

  .blog_files .blog-post .post-wrapper a,
  .blog_files .blog-post .post-text {
    width: 100%;
  }

  .blog_files .blog-post .post-text {
    align-items: flex-start;
  }
}
