* {
  box-sizing: border-box
}

body {
  background-color: #fff;
  font-family: Verdana, Arial, sans-serif;
  margin: 30px;
  font-size: 1em;
}

h1 {
  font-size: 2.2em;
  font-weight: 100;
  color: #bbb;
  margin: auto;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.4em;
  font-weight: 100;
  color: #000;
  margin-top: 10px;
}

pre {
  font-size: 1em;
}

.name {
  color: #aac;  
  text-decoration: none;
}

.tab {
  float: left;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 18ch;
}

.tab button {
  display: block;
  font-size: 1.1em;
  background-color: inherit;
  color: black;
  padding: 16px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.5s;
}

.tab button:hover {
  background-color: #dde;
}

.tab button.active {
  background-color: #cce;
}

.tabcontent {
  float: left;
  background-color: #fbfbff;
  padding: 20px 30px 20px 40px;
  border: 1px solid #ccc;
  margin-left: 8px;
  width: 100%;
  max-width: 600px;
  min-height: 800px;
  background-image: '';
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto;
  border-radius: 60px;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.2);
}

.intro {
  background-image: url('img/cat.webp');
}

.software {
  background-image: url('img/software.webp');
}

.ai {
  background-image: url('img/ai.webp');
}

.ui {
  background-image: url('img/ui.webp');
}

.dv {
  background-image: url('img/dv.webp');
}

.contact {
  background-image: url('img/contact.webp');
}

/* Small devices */
@media only screen and (max-width: 744px) {
  body {
    margin: 10px;
  }

  h1 {
    font-size: 2em;
  }

  .tab button {
    padding: 12px 12px;
  }

  .tabcontent {
    font-size: 0.9em;
    min-width: none;
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    padding: 14px;
    min-height: 400px;
    border-radius: 20px;
  }

  .intro {
    background-size: 35%;
  }

  .software {
    background-size: 30%;
  }

  .ai {
    background-size: 40%;
  }

  .ui {
    background-size: 35%;
  }
  
  .dv {
    background-size: 35%;
  }
  
  .contact {
    background-size: 40%;
  }

  .final {
    width: 70%;
  }

}