/*
Theme Name: Sotero
Theme URI: https://sotero.dev/
Author: Sotero
Author URI: https://sotero.dev/
Description: This is my custom theme
Version: 1.0
*/

/*====  RESET ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

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

a {
  text-decoration: none;
  color: var(--base-color);
}

a b {
  text-shadow: 0 0 1px #1b1464;
}

img {
  width: 100%;
  height: auto;
}

/*====  VARIABLES ============================ */
:root {
  --header-height: 100px;
  --hue-primary: 165.6;
  --hue-secondary: 324;
  --base-color: #00da75;
  --base-color-second: #7500da;
  --base-color-alt: hsl(var(--hue-primary) 54% 39%);
  --title-color: white;
  --text-color: white;
  --text-color-light: hsl(0 0% 98%);
  --body-color: #1F2229;
  --title-font: "Raleway", system-ui;
  --body-font: "Raleway", system-ui;
  --card-bg:#2A2D35;
}

/*===  BASE ============================ */
html {
  scroll-behavior: smooth;
}

body {
  font: 300 18px var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

b {
  text-shadow: 0 0 1px var(--text-color);
}

.title {
  font: 600 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.button {
  background-color: transparent;
  color: white;
  border: 2px solid var(--base-color);
  display: inline-flex;
  align-items: center;
  padding: 25px 40px;
  border-radius: 7px;
  letter-spacing: 2px;
  font: 400 18px var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  background: var(--base-color);
}

.divider-1 {
  background: #404248;
  text-align: center;
  letter-spacing: 1px;
  font-size: 48px;
  margin: 20px 0px;
  line-height: 1;
  height: 1px;
}

.divider-2 {
  color: hsla(var(--hue-primary), 100%, 60%, 1);
  text-align: center;
  width: 100%;
  letter-spacing: 1px;
  font-size: 48px;
  line-height: 1;
}

/*====  LAYOUT ============================ */
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section-internal {
  padding: 70px 0 110px 0;
}

.section-internal p {
  font-size: 1.375rem;
  line-height: 2rem;
}

.section-internal h1 {
  font: 700 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
  margin-bottom: 15px;
}

.section .title {
  margin-bottom: 30px;
  line-height: 1.3;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 4rem;
}

.section header strong {
  color: var(--base-color);
}

#header {
  display: flex;  
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
  margin: 25px 0px;
}

#header.scroll {
  position: fixed;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
  margin: 0px;
}

/*====  LOGO ============================ */
.logo {
  width: 200px;
  transition: width 0.2s;
  margin-top: 20px;
}

#header.scroll .logo {
  margin-top: 6px !important;
}

.scroll .logo {
  width: 170px;
  transition: width 0.2s;
}

/*====  NAVIGATION ============================ */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: height 0.2s;
}

.scroll nav {
  height: 70px;
  transition: height 0.2s;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--base-color);
}
/*
nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #1b1464;
  position: absolute;
  left: 0;
  bottom: -40px;
  transition: bottom 0.2s;
}
  */

.scroll nav ul li a::after {  
  transition: bottom 0.2s;
  bottom: -25px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

/* Mostrar menu */
nav.show .menu {
  opacity: 1;
  visibility: visible;
  background: var(--body-color);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 50px;
}

/* toggle menu */
.toggle {
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
  z-index: 2;
}

/*====  HOME ============================ */
#home {
  overflow: hidden;
}

#home .container {
  margin: 0;
}

#home .image {
  position: relative;
}

#home .image::before {
  content: "";
  height: 98.2%;  
  width: 100%;
  background: var(--base-color-second);
  position: absolute;
  top: -10px;
  right: 0px;
  z-index: 0;
}

#home .image img {
  position: relative;
  right: 10px;
}

#home .text {
  text-align: center;
}

#home .text h1 {
  margin-bottom: 30px;
  font-size: 42px;
}

#home .text h2 {
  margin-bottom: 40px;
  letter-spacing: 1px;
  font-size: 20px;
  font-weight: 500;
}

/*====  ABOUT ============================ */

#about .container {
  margin-left: 0;
  margin-right: 0;
}

#about .image {
  position: relative;
}

#about .image::before {
  content: "";
  height: 98.2%;
  width: 100%;
  background-color: var(--base-color-second);
  position: absolute;
  top: -10px;
  left: 0px;
  z-index: 0;
}

#about .image img {
  position: relative;
  left: 10px;
}

#about .text {
  padding-left: 50px;
  text-align: justify;
}

/*====  SERVICES ============================ */
.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  border-bottom: 0.25rem solid var(--base-color-second);
  text-align: center;
  background: var(--card-bg);
  border-radius: 15px 15px 0px 0px;
}

.card i {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 5rem;
  color: var(--base-color);
}

.card svg {
  margin-bottom: 1.5rem;
  fill: var(--base-color);
}

.card .title {
  font-size: 27px;
  margin-bottom: 0.75rem;
}

/*====  TESTIMONIALS ============================ */
#testimonials .container {
  margin-left: 0;
  margin-right: 0;
  position: relative;
  overflow: hidden;
}

#testimonials header {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

#testimonials blockquote {
  padding: 2rem;
  background: var(--card-bg);
}

#testimonials blockquote p {
  position: relative;
  text-indent: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
  font-size: 18px;

}

#testimonials blockquote p span {
  font: 700 60px serif;
  position: absolute;
  top: -17px;
  left: -34px;
}

#testimonials cite {
  display: flex;
  align-items: center;
  font-style: normal;
}

#testimonials cite img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  clip-path: circle();
  margin-right: 0.5rem;
}

/* swiper */
.swiper-slide {
  height: auto;
  padding: 45px 10px;
}

.swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
}

.swiper-pagination-bullet-active {
  background: var(--base-color-second);
}

/*====  CONTACT ============================ */
#contact .grid {
  gap: 4rem;
}

#contact .text p {
  margin-bottom: 2rem;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul.grid {
  gap: 4rem;
}

#contact ul li {
  display: flex;
  align-items: center;
  font-size: 17px;
}

#contact ul li.social i {
  font-size: 40px;
  color: rgba(255, 255, 255, .85);
  margin-right: 25px;
}

#contact ul li.social svg {
  margin-right: 25px;
  margin-top: 1px;
}

#contact ul li.social a {
  transition: 0.3s;
  display: inline-block;
}

#contact ul li.social a:hover {
  transform: translateY(-8px);
}

#contact ul li i {
  color: var(--base-color);
}



/*====  FOOTER ============================ */
footer {
  /* background: #373737; */
}

footer.section {
  padding: 4rem 0;
  text-align: center;
}

footer .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer .brand p {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

footer i {
  font-size: 30px;
  color: #D2D3D4;
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
  margin-top: auto;
}

footer .social a {
  transition: 0.3s;
  display: inline-block;
}

footer .social a:hover {
  transform: translateY(-8px);
}

/* Back to top */
.back-to-top {
  background: var(--base-color-second);
  color: white;

  position: fixed;
  right: 1rem;
  bottom: 1rem;

  padding: 0.5rem;
  /* clip-path: circle(); */

  font-size: 1.5rem;
  line-height: 0;

  visibility: hidden;
  opacity: 0;

  transition: 0.3s;
  transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/*========= MEDIA QUERIES =========*/
/* extra large devices: 1200 > */
@media (min-width: 1200px) {
  #about .image {
    width: 300px;
  }
  /* reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 80px 0;
  }

  .section header,
  #testimonials header {
    max-width: 70%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  .menu-item a {
    font: 300 16px var(--body-font);
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    color: var(--title-color);
  }

  .menu-item a.active {
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* home */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
    margin-top: 20px;
  }

  #home .text {
    order: 0;
    text-align: left;
  }

  #home .text h1,
  #home .text h2
  {
    width: 95%;
  }

  /* about */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  /* services */
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 70%;
  }

  /* footer */
  footer.section {
    padding: 6rem 0;
    font-size: 15px;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
  }
}
/* large devices: 1023 > */
/* large devices: 992 > */
@media (min-width: 992px) {
  :root {
    --title-font-size: 39px;
    --subtitle-font-size: 24px;
  }
}
/* medium devices: 767 > */

@media (max-width: 992px) {
  :root {
    --title-font-size: 34px;
    --subtitle-font-size: 22px;
  }  


  .scroll .logo {
    width: 150px;
    transition: width 0.2s;
  }

  .logo {
    width: 170px;
    margin-top: 8px;
  }

  header {
    margin: 20px 0px;
  }

  #home .text {
    padding-left: 20px;
    padding-right: 20px;
  }

  .swiper-slide {
    padding: 30px 20px;
  }

  #testimonials cite {
    display: grid;
  }

  .contact {
    padding: 30px !important;
  }  

  .section .title {
    text-align: center;
  }

  #home .text h1 {
    font-size: 36px;
  }
  
  .section .subtitle {
    text-align: center;
  }

  #about .image::before {
    width: calc(100% - 60px);
    top: -10px;
    left: 25px;
  }

  #about .image img {
    left: 35px;
    width: calc(100% - 60px);
  }

  #home .image::before {
    width: calc(100% - 60px);
    top: -10px;
      right: 25px;
  }

  #home .image img {
    right: -25px;
    width: calc(100% - 60px);
  }

  #about .text {
    padding-left: 20px;
    text-align: justify;
    padding-right: 20px;
  }

  .section {
    padding: 60px 0;
  }

  #header {
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .section header {
    margin-bottom: 30px;
  }

  #home .text p {
    padding-left: 15px;
    padding-right: 15px;
  }
}

p {
  margin: 20px 0;
}
.page #content p,
.single-post #content p {
  font-size: 18px;
  line-height: 145%;
}
* p:last-of-type,
#sidebar .widget-container:last-child {
  margin-bottom: 0;
}
a:hover,
a:focus {
  text-decoration: none;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
pre {
  overflow-x: auto;
  white-space: pre-wrap;
}
pre,
code {
  font-family: "courier new", courier, serif;
}
hr {
  height: 1px;
  border: 0;
  margin: 30px 0;
  background: var(--base-color-second);
}
blockquote {
  padding: 15px;
  border-left: 4px solid var(--base-color-second);
  margin: 30px 0;
  border-radius: 0px 15px 15px 0px;
}
blockquote p:first-of-type {
  margin-top: 0;
}
.entry-content ul,
.widget-container ul,
.comment-body ul,
.entry-content ol,
.widget-container ol,
.comment-body ol {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 30px 0 30px 60px;
}
.entry-content ul ul,
.widget-container ul ul,
.comment-body ul ul,
.entry-content ol ol,
.widget-container ol ol,
.comment-body ol ol,
.entry-content ul ol,
.widget-container ul ol,
.comment-body ul ol,
.entry-content ol ul,
.widget-container ol ul,
.comment-body ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
.entry-content ol,
.widget-container ol,
.comment-body ol {
  list-style: decimal outside;
  list-style-type: decimal-leading-zero;
  margin-left: 70px;
}
.entry-content ul li,
.widget-container ul li,
.comment-body ul li {
  list-style-type: "— ";
}
.entry-content li,
.widget-container li,
.comment-body li {
  line-height: 125%;
  margin: 20px 0;
}
input,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  padding: 15px;
  border: 0;
  border-bottom: 1px solid transparent;
  outline: 0;
  margin-top: 10px;
  background: #f6f6f6;
}
input:focus,
textarea:focus {
  border-bottom: 1px solid var(--base-color-second);
}
a img,
input[type="image"],
iframe {
  border: 0;
}
a img:hover,
a:focus img,
a svg:hover,
a:focus svg {
  opacity: 0.8;
}
img,
video,
audio,
table,
select,
textarea {
  max-width: 100% !important;
  height: auto;
}
table {
  width: 100%;
  margin: 30px 0;
}

#wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
}
#branding {
  float: left;
}
#logo {
  max-height: 100%;
}

#content {
  width: 75%;
  padding-right: 5%;
  float: left;
}
#sidebar {
  width: 25%;
  float: right;
}
#footer {
  clear: both;
}

#menu {
  margin-top: 10px;
  float: right;
}
#menu div:first-of-type {
  float: left;
}
#menu ul {
  font-size: 0;
}
#menu ul,
#menu li,
#menu a {
  position: relative;
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu li.menu-item-has-children > a:after,
#menu li.page_item_has_children > a:after {
  font-family: serif;
  content: " ▾";
}
#menu li.current-menu-item a,
#menu li.current_page_parent a {
}
#menu a {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  text-align: right;
  text-decoration: none;
  line-height: 33px;
  padding-bottom: 10px;
  margin-top: -1px;
  margin-right: 25px;
}
#menu a:hover,
#menu a:focus {
  color: #767676;
  text-decoration: none;
}
#menu ul.sub-menu,
#menu ul.children {
  position: absolute;
  display: block;
  top: 100%;
  left: -9999px;
  margin-top: 20px;
  transition: unset;
  z-index: 1000;
}
#menu ul.sub-menu a,
#menu ul.children a {
  width: 200px;
  font-size: 14px;
  color: #333;
  text-align: left;
  line-height: 20px;
  padding: 15px;
  border: 1px solid #eee;
  background: #fff;
}
#menu ul.sub-menu a:hover,
#menu ul.sub-menu a:focus,
#menu ul.children a:hover,
#menu ul.children a:focus {
  color: #767676;
  background: #f7f7f7;
}
#menu li.menu-item-has-children a:hover + ul.sub-menu,
#menu li.menu-item-has-children a:focus + ul.sub-menu,
#menu li.menu-item-has-children a + ul.sub-menu:hover,
#menu li.menu-item-has-children a + ul.sub-menu:focus-within,
#menu li.page_item_has_children a:hover + ul.children,
#menu li.page_item_has_children a:focus + ul.children,
#menu li.page_item_has_children a + ul.children:hover,
#menu li.page_item_has_children a + ul.children:focus-within {
  left: 0;
}
#menu .menu-toggle {
  display: none;
  color: #fff;
  text-align: center;
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
  transition: unset;
}
#menu .menu-toggle:hover,
#menu .menu-toggle:focus {
  color: var(--base-color-second);
}
#menu .menu-icon {
  font-size: 50px;
}

#search {
  float: right;
}
#search .search-field {
  width: 36px;
  height: 36px;
  color: transparent;
  padding: 10px;
  border-color: transparent;
  margin-top: 0;
  background-color: #transparent;
  background-image: url(images/find-light.png);
  cursor: pointer;
}
#search .search-field:focus {
  width: 200px;
  color: #fff;
  border-color: var(--base-color-second);
  cursor: text;
}
.widget-container .search-field {
  width: 100%;
}
.error404 .entry-content .search-field,
.search .entry-content .search-field {
  width: 200px;
  margin-top: 30px;
}
.error404 .entry-content .search-field,
.search .entry-content .search-field,
.widget-container .search-field {
  background-color: #f6f6f6;
}
.search-field {
  background: url(images/find.png) no-repeat 98% center / 24px auto;
}

#site-title h1,
#site-title a {
  display: inline;
  font-size: 40px;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0;
}
#site-description,
#copyright,
#copyright a {
  color: #8a8a8a;
}
.single h1.entry-title a {
  color: #767676;
  text-decoration: none;
}
h2.entry-title,
h3.widget-title {
  margin-top: 0;
}
#commentform label {
  display: block;
}
#commentform #comment {
  width: 100%;
  max-width: 400px !important;
  height: auto;
}
#comments .comment-author {
  line-height: 14px;
}
#comments .comment-author img {
  margin-right: 5px;
  float: left;
}
#comments .comment {
  margin: 20px 10px;
}
#comments .comment-body {
  padding: 15px;
}
#comments .odd > .comment-body {
  background: #f6f6f6;
}
#comments .comment-body > p {
  font-size: 16px;
  margin: 15px 0 0;
}
#copyright {
  text-align: center;
}
.entry-meta,
.entry-footer,
.archive-meta {
  margin: 30px 0;
}
.entry-footer {
  clear: both;
}
.entry-meta,
.entry-meta a,
.entry-footer,
.entry-footer a,
.comment-meta,
.comment-meta a,
.comment-author,
.comment-author a {
  font-size: 14px;
  color: #767676;
}

.sticky {
  padding-bottom: 60px;
  border-bottom: 4px solid #ccc;
}
.bypostauthor {
}
.post,
.widget-container,
.search article {
  margin-bottom: 60px;
}
.post:last-of-type {
  margin-bottom: 0;
}
.wp-caption {
  width: auto !important;
}
.wp-caption.aligncenter,
.wp-caption-text,
.gallery-caption {
  text-align: center;
}
.wp-block-gallery ul,
.wp-block-gallery ul li,
.wp-block-gallery ul li:before {
  content: "";
  margin: 0;
}
.wp-post-image {
  display: block;
  margin-bottom: 30px;
}
.entry-attachment img {
  display: block;
  margin: 60px auto 30px;
}
.attachment .entry-caption {
  text-align: center;
}
.alignleft {
  margin: 0 30px 30px 0;
  float: left;
}
.alignright {
  margin: 0 0 30px 30px;
  float: right;
}
.aligncenter {
  display: block;
  margin: 30px auto;
  clear: both;
}
#content p.wp-block-cover-text {
  color: #fff;
}
.nav-links {
  margin-top: 30px;
}
.nav-links a,
#nav-above a {
  text-decoration: none;
}
#nav-above a {
  display: block;
  font-family: tahoma, sans-serif;
  font-size: 50px;
  color: #767676;
  line-height: 0;
  margin: 30px 0 15px;
}
.nav-previous {
  text-align: left;
  float: left;
}
.nav-next {
  text-align: right;
  float: right;
}

.note {
  display: block;
  font-size: 14px;
  padding: 20px;
  margin: 30px 0;
}

.blue,
.blue *,
.blue-dark,
.blue-dark *,
.green,
.green *,
.green-dark,
.green-dark *,
.orange,
.orange *,
.purple,
.purple *,
.red,
.red *,
.black,
.black * {
  color: #fff;
}
.white,
.white *,
.yellow,
.yellow * {
  color: #000;
}
.white {
  background-color: #fff !important;
}
.blue {
  background-color: var(--base-color-second) !important;
}
.blue-dark {
  background-color: #1c78b5 !important;
}
.green {
  background-color: #91da29 !important;
}
.green-dark {
  background-color: #5d8c1a !important;
}
.orange {
  background-color: #f98733 !important;
}
.purple {
  background-color: #bb6cf8 !important;
}
.red {
  background-color: #ef645d !important;
}
.yellow {
  background-color: #f8f658 !important;
}
.black {
  background-color: #4a4a45 !important;
}
.lighter {
  background-color: rgba(255, 255, 255, 0.05);
}
.darker {
  background-color: rgba(0, 0, 0, 0.05);
}
.overlay:before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.layer {
  width: 100%;
  padding: 5%;
}
.layer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.box,
.box-2,
.box-3,
.box-4,
.box-5,
.box-6,
.box-1-3,
.box-2-3 {
  display: inline-block;
  width: 100%;
  padding: 5%;
  vertical-align: top;
  float: left;
}
.box-2 {
  width: 50%;
}
.box-3,
.box-1-3 {
  width: 33.3333333%;
}
.box-4 {
  width: 25%;
}
.box-5 {
  width: 20%;
}
.box-6 {
  width: 16.6666667%;
}
.box-2-3 {
  width: 66.6666666%;
}

.left {
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.clear {
  clear: both;
}
.clear-left {
  clear: left;
}
.clear-right {
  clear: right;
}
.clear-float:after,
#header:after,
#topo:after,
.boxes:after {
  display: table;
  content: "";
  clear: both;
}
.offset {
  padding-top: 100px;
  margin-top: -100px;
}
.spacer {
  display: inline-block;
  width: 25px;
}

@media (max-width: 1024px) {
  .box-5,
  .box-6 {
    width: 25%;
  }
  .boxes .box-5:nth-child(5) {
    width: 100%;
  }
  .boxes .box-6:nth-child(5),
  .boxes .box-6:nth-child(6) {
    width: 50%;
  }
}
@media (min-width: 769px) {
  #logo-container {
    display: block;
    height: 35px;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  #header,
  #footer {
    text-align: center;
  }
  #content,
  #sidebar {
    width: 100%;
    padding: 0;
  }
  #branding,
  #menu,
  #menu div:first-of-type,
  #search {
    float: none;
  }
  #search {
    margin-top: 20px;
  }
  #search .search-field {
    width: 100%;
    color: #fff;
    border-color: #8a8a8a;
    cursor: text;
  }
  #search .search-field:focus {
    width: 100%;
  }
  #menu.toggled {
    width: 100%;
    height: 100%;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
  }
  #menu .menu-toggle {
    display: inline-block;
  }
  #menu ul {
    display: none;
  }
  #menu.toggled ul,
  #menu.toggled ul.sub-menu,
  #menu.toggled ul.children {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    padding: 0 0 10px 0;
    margin: 0;
  }
  #menu.toggled ul.sub-menu,
  #menu.toggled ul.children {
    padding-bottom: 0;
  }
  #menu.toggled a,
  #menu.toggled ul.sub-menu a,
  #menu.toggled ul.children a {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    color: #fff;
    text-align: center;
    line-height: 20px;
    padding: 15px 0 5px;
    border: 0;
    margin: 0;
    background: none;
  }
  #menu.toggled ul.sub-menu a,
  #menu.toggled ul.children a {
    color: #ccc;
  }
  .box-4,
  .box-5,
  .box-6 {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .single .nav-links .nav-previous,
  .single .nav-links .nav-next {
    float: none;
  }
  .box-3 {
    width: 50%;
  }
  .boxes .box-3:nth-child(3) {
    width: 100%;
  }
}
@media (max-width: 576px) {  
  .box-2,
  .box-3,
  .box-4,
  .box-5,
  .box-6,
  .boxes .box-6:nth-child(5),
  .boxes .box-6:nth-child(6),
  .box-2-3,
  .box-1-3 {
    width: 100%;
  }
  .spacer {
    display: block;
    width: 100%;
  }
}
@media print {
  * {
    color: #000 !important;
    background: #fff !important;
  }
  body {
    padding: 50px !important;
    margin: 0 !important;
  }
  #content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #header,
  #sidebar,
  #footer,
  #comments,
  .entry-footer,
  .navigation,
  .share,
  .video-wrap,
  iframe,
  img {
    display: none !important;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}
.screen-reader-text:focus {
  background-color: #f7f7f7;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: var(--base-color-second);
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}
.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}
.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.search-submit {
  display: none !important;
}

/******* TIMELINE *******/
.section-timeline {
  background: #ddd;
  position: relative;
  padding: 50px 0px;
}

.section-timeline .timeline {
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.section-timeline .timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.section-timeline .container-timeline {  
  position: relative;
  background-color: inherit;
}

/* The circles on the timeline */
.section-timeline .container-timeline::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -11px;
  background-color: #007aff;
  /* border: 4px solid #007aff; */
  top: 22px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.section-timeline .left {
  left: 0;
}

/* Place the container to the right */
.section-timeline .right {
  left: 50%;
}

.section-timeline h1 {
  display: inline-block;
  margin: auto;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
  z-index: 1;
  position: relative;
  background: var(--body-color);
  padding: 15px 20px;
  line-height: 1;
  border-radius: 6px;
  color: var(--base-color-second);
  box-shadow: 0px 0px 12px rgb(0 0 0 / 15%);
}

/* Add arrows to the left container (pointing right) */
.section-timeline .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 25px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.section-timeline .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 25px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.section-timeline .right::after {
  left: -10px;
}

/* The actual content */
.section-timeline .content {
  padding: 15px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  text-align: left;
}

.section-timeline .content h2 {
  margin-bottom: 15px;
  font-size: 23px;
  font-weight: 500;
}

.section-timeline .content h4 {
  font-size: 18px;
  margin-top: 15px;
  font-weight: 500;
}

.section-timeline .content h4 span {
  content: '';
  background: #007aff;
  margin-left: 10px;
  margin-right: 10px;
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  line-height: 16px;
}

.section-timeline .content .image {
  background-color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #ddd;
  position: relative;
}

.section-timeline .content .image .legenda {
  background: #2e9955;
  color: white;
  font-size: 13px;
  float: right;
  bottom: 0px;
  position: absolute;
  right: 0px;
  padding: 3px 10px;
}

.section-timeline .period h4 {
  font-size: 21px;
  color: #007aff;
  font-weight: 500;  
}


/* Media queries - Responsive timeline on screens less than 300px wide */
@media screen and (min-width: 300px) {
  .section-timeline .container-timeline.left .period {
    left: calc(50% + 305px);
    position: absolute;
    top: 18px;
    width: 100%;
  }

  .section-timeline .container-timeline.right .period {
    right: calc(50% + 305px);
    position: absolute;
    top: 18px;
    width: 100%;
  }
  
  .section-timeline .container-timeline {
    width: 50%;
  }    

  .section-timeline .container-timeline.left {
    padding-right: 35px;
    padding-bottom: 30px;
  }  

  .section-timeline .container-timeline.right {
    padding-left: 35px;
    padding-bottom: 30px;
  }  
}

@media screen and (max-width: 300px) {
  .section-timeline .content h2 {
    font-size: 20px;
  }

  .section-timeline .right::after {
      left: -23px;
  }

  /* Place the timelime to the left */
  .section-timeline .timeline::after {
    left: 10px;
  }

  /* Full-width containers */
  .section-timeline .container-timeline {
    width: 100%;
    padding-left: 10px;
    padding-right: 0px;
    margin-bottom: 30px;
  }

   /* Make sure that all arrows are pointing leftwards */
  .section-timeline .container-timeline::before {
    left: 0px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    top: 40px;
  }

  /* Make sure all circles are at the same spot */
  .section-timeline .left::after, .section-timeline .right::after {
    left: -23px;
    top: 40px;
  }

  /* Make all right containers behave like the left ones */
  .section-timeline .right {
    left: 0%;
  }

  .section-timeline .period h4 {
    text-align: center;
  }

  .section-timeline h1 {
    background: none;
    box-shadow: none;
    color: #343434;
    font-size: 25px;
    line-height: 1.3;
  }
}

.contact {
  background:var(--card-bg);
  border-radius: 20px;
  padding: 50px;
}