@font-face {
  font-family: ArialRoundedMT;
  src: url("../fonts/font.otf") format("opentype");
}

body {
  margin:0;
}

.arialroundedmt {
  font-family: 'ArialRoundedMT', serif;
}

.title {
  margin: 2em;
  font-size: 3em;
  text-align: center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  display:block;
  /* margin-top: -20px; */
  font-weight: bold;
  letter-spacing: 20px;
  background-size: cover;
}

.subtitle {
  margin-bottom: calc(2em - 100px);
  letter-spacing: 5px;
  padding-bottom: 0.5em;
}

.title-desc {
  margin: -90px auto 0 auto;
  width: 70%;
  text-align: center;
  font-style: italic;
}

h1 {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}

p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:16px;
  color: #333333;
}

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}
.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:30vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  /* margin-bottom:-7px; Fix for safari gap */
  margin-top: 5em;
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
  }
}

.svg-class {
  margin: 10px;
  width: 35px;
  height: 35px;
  text-align: center;
  fill: white;
}

.svg-class:hover {
  cursor: pointer;
}

.svg-mel:hover {
  fill: #e66450;
}

.svg-lnk:hover {
  fill: #3ca0ff;
}

.svg-git:hover {
  fill: #1c2128;
}

.hoverlink:hover {
  cursor: pointer;
  color:#3ca0ff;
}

.skill-box {
  display: inline-block;
  width: 400px;
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 100px;
  margin-top: 100px;
}

.skill-box-img {
  display: block;
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
}

#elm {
  width: 400px;
  height: 5rem;
  align-items: start;
  transition: height .2s ease-in-out;
  position: absolute;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

.item-description {
  margin-top: 35px;
  margin-bottom: 15px;
  margin-left: -20px;
  margin-right: -20px;
  text-align: justify;
  color: rgb(75 85 99);
  clip-path: inset(0 0 100% 0);
}

#elm:hover .item-description {
  animation: reveal-down .15s ease forwards;
  animation-delay: .05s;
}

@keyframes reveal-down {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.tab {
  margin-left: 2em;
}

.ci-all-div {
  display: flex;
  justify-content: center;
  height: 430px;
}

.ci-column {
  /* width: 523px; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* .ci-div:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  zoom: 1.2;
  cursor: pointer;
} */

.ci-div {
  display: flex;
  justify-content: left;
  padding: 10px;
  border-radius: 20px;
}

.ci-img {
  width: 50px;
}

.ci-text {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 20px;
  font-size: 1.3em;
}

.p-about {
  width: 800px;
  text-align: justify;
  font-size: 1.3em;
  margin-left: auto;
  margin-right: auto;
}

.minibox-container {
  width: 70%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.minibox-elm {
  margin: 20px;
  width: 150px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 1px 5px 0px;
  border-radius: 15px;
  padding: 10px;
  text-align: center;
}

.minibox-elm img {
  width: 100%;
  margin-right: 10px;
}

.minibox-elm h2 {
  font-size: 20px;
  padding: 10px;
  color: rgb(75 85 99);
  font-family: 'Lato', sans-serif;
}

.centofint-container {
  display: flex;
  width: 70%;
  height: 100%;
  margin: 0 auto;
  border-radius: 20px;
  font-family: 'ArialRoundedMT', serif;
}

.centofint-display {
  width: 70%;
  height: 300px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.centofint-list {
  width: 30%;
  overflow: hidden;
}

.centofint-elm[p="b"] {
  border-radius: 0 0 0 10px;
  box-shadow: #fff -30px -0px 0px 0px;
}

.centofint-elm[p="c"] {
  width: 90%;
  cursor: unset;
  padding-left: 15px;
  border-radius: 0 10px 10px 0;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.centofint-elm[p="a"] {
  border-radius: 10px 0 0 0;
  box-shadow: #fff -30px -0px 0px 0px;
}

.centofint-elm {
  display: flex;
  padding: 10px;
}

.centofint-elm:hover {
  padding-left: 15px;
  cursor: pointer;
}

.centofint-elm[unselectable]:hover {
  padding-left: unset;
  cursor: unset;
}

.centofint-elm p {
  font-size: 1.5em;
  font-family: "ArialRoundedMT", serif;
  margin: auto auto auto 20px;
}
