/* CSS RESET */
/* Box sizing rules */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
*,
*::before,
*::after {
  box-sizing: border-box; }

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0; }

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none; }

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth; }

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background-color: #F7F0F0;
  border-top: 5px solid #18A999; }

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto; }

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block; }

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit; }

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important; } }

body {
  font-family: 'Quattrocento Sans', sans-serif;
  font-weight: 400; }

.container {
  max-width: 1400px;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0 5em; }
  @media only screen and (max-device-width: 728px) {
    .container {
      max-width: auto;
      display: block;
      width: 100%;
      margin: 0 auto;
      padding: 0 1em; } }

header {
  padding: 2em 0; }
  header .left {
    float: none;
    width: 100%; }
    @media screen and (min-width: 768px) {
      header .left {
        float: left;
        width: 60%; } }
  header .right {
    float: none;
    width: 100%;
    text-align: left;
    font-size: 15px; }
    header .right i {
      font-size: 18px; }
    @media screen and (min-width: 768px) {
      header .right {
        float: left;
        width: 40%;
        text-align: right; } }
  header .contact {
    float: right;
    border: 3px solid #0d6849;
    padding: 15px;
    border-radius: 5px;
    text-align: right; }
    @media only screen and (max-device-width: 1024px) {
      header .contact {
        float: none;
        text-align: center;
        margin-top: 30px;
        margin: 0 auto;
        padding: 10px;
        border: none;
        background: #e3e3e3;
        display: block; } }
    header .contact p {
      font-size: 24px;
      line-height: 28px;
      color: #484349;
      border-bottom: 2px solid #0d6849;
      padding-bottom: 2px;
      margin-bottom: 8px;
      font-weight: 700;
      display: inline-block; }
      @media only screen and (max-device-width: 1024px) {
        header .contact p {
          font-size: 22px;
          line-height: 28px;
          padding-bottom: 5px;
          border: none;
          margin-bottom: 5px; } }
    header .contact a {
      font-size: 23px;
      line-height: 26px;
      text-decoration: none;
      color: #484349;
      display: block; }
      @media only screen and (max-device-width: 1024px) {
        header .contact a {
          font-size: 20px;
          line-height: 25px;
          text-decoration: underline; } }
      header .contact a:hover {
        text-decoration: underline; }

h1 {
  color: #484349;
  font-size: 22px;
  line-height: 28px; }
  @media screen and (min-width: 600px) {
    h1 {
      font-size: 26px;
      line-height: 30px; } }
  @media screen and (min-width: 800px) {
    h1 {
      font-size: 32px;
      line-height: 36px; } }

h2 {
  padding-bottom: .5em;
  font-size: 24px;
  line-height: 30px;
  margin: 0;
  font-weight: 700;
  color: #484349; }
  @media screen and (min-width: 600px) {
    h2 {
      font-size: 32px;
      line-height: 38px; } }
  @media screen and (min-width: 800px) {
    h2 {
      font-size: 38px;
      line-height: 42px; } }

.clear {
  clear: both; }

.section {
  padding: 2em 0; }
  .section p {
    font-size: 18px;
    line-height: 24px; }
    @media screen and (min-width: 600px) {
      .section p {
        font-size: 24px;
        line-height: 30px; } }
    @media screen and (min-width: 800px) {
      .section p {
        font-size: 30px;
        line-height: 36px; } }

.section.skills ul li {
  font-size: 16px;
  line-height: 24px; }
  @media screen and (min-width: 800px) {
    .section.skills ul li {
      font-size: 24px;
      line-height: 30px; } }

.section.javascript ul li a {
  color: #484349; }

hr.style2 {
  border-top: 2px solid #18A999;
  padding: 0;
  margin: 0; }

/* Tabs */
.tabs {
  display: none; }
  @media screen and (min-width: 800px) {
    .tabs {
      display: block; } }

ul#tabs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  display: none; }
  @media screen and (min-width: 800px) {
    ul#tabs-nav {
      display: block; } }

ul#tabs-nav li {
  float: left;
  width: 24%;
  margin: 0 .5%;
  cursor: pointer;
  position: relative;
  height: 300px; }

ul#tabs-nav li:hover .bg,
ul#tabs-nav li.active .bg {
  opacity: 1; }

#tabs-nav li .bg {
  width: 100%;
  height: 300px;
  background-position: center center;
  background-size: cover;
  opacity: 1; }

#tabs-nav li .bg.water {
  background-position: 14% center; }

#tabs-nav li a {
  text-decoration: none;
  color: #000; }

#tabs-nav li .title {
  position: absolute;
  left: 0px;
  bottom: 0px;
  color: #ffffff;
  font-size: 21px;
  line-height: 26px;
  font-weight: 700;
  background: #797979;
  width: 100%;
  height: 60px;
  padding: 5px; }

#tabs-nav li .screen {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: .25; }

#tabs-nav li:hover .screen {
  display: block; }

.tabs-mobile .bg1 {
  width: 100%;
  height: 35vw;
  max-width: 200px;
  background-position: center center;
  background-size: cover;
  float: none;
  margin: 0 auto; }

.tabs-mobile {
  display: block; }
  @media screen and (min-width: 768px) {
    .tabs-mobile {
      display: none; } }
  .tabs-mobile > div {
    padding-bottom: 2em; }
  .tabs-mobile .title {
    font-size: 24px;
    padding-top: 1em; }
  .tabs-mobile div > a {
    font-size: 20px;
    line-height: 30px;
    color: #3c3c3c; }
  .tabs-mobile ul {
    padding: 0 0 0 1em; }
  .tabs-mobile li {
    font-size: 18px;
    line-height: 24px; }
    @media screen and (min-width: 600px) {
      .tabs-mobile li {
        font-size: 24px;
        line-height: 32px; } }

.tab-content {
  padding: 10px; }
  .tab-content .title {
    padding-top: 1em;
    font-size: 28px;
    line-height: 36px; }
  .tab-content div > a {
    font-size: 20px;
    line-height: 30px;
    color: #3c3c3c; }
  .tab-content li {
    font-size: 24px;
    line-height: 32px; }

footer {
  padding: 1em 0;
  background-color: #18A999; }
  footer .mobile-logo {
    width: 100%;
    display: block;
    margin: 0;
    padding: 2em 0;
    max-width: 150px; }
    footer .mobile-logo p {
      margin: 0 0 15px 0;
      padding: 0; }
    footer .mobile-logo .left {
      float: left;
      width: 50%; }
    footer .mobile-logo .right {
      float: left;
      width: 50%;
      text-align: right;
      padding-top: 1em; }

.btn {
  background: #8faadf;
  display: inline-block;
  color: white;
  position: relative;
  padding: .5em 1em;
  border-radius: 5px;
  font-size: 18px;
  margin-bottom: 1em;
  text-decoration: none;
  margin-top: 1em; }
