/************************TAG SELECTORS***************************/

body {
  margin: 0;
  text-align: center;
  font-family: 'Merriweather', serif;
  color: #40514E;
  background: linear-gradient(180deg, #EAF6F6, #66BFBF);
}

h1 {
  margin: 50px auto 0 auto;
  font-family: 'Fredoka One', cursive;
  font-size: 5.625rem;
  color: #66BFBF;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  -webkit-background-clip: text;
  color: transparent;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: #66BFBF;
  font-weight: normal;
  padding-bottom: 10px;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  color:  #11999E;
}

a {
  color:  #11999E;
  font-family: 'Montserrat', sans-serif;
  margin: 10px 20px;
  text-decoration: none;
  font-size: 30px;
}

a:hover {
  color: #EAF6F6;
  text-decoration: underline;
}

hr {
  border-style: none;
  border-top-style: dotted ;
  color:  grey;
  border-width: 5px;
  width: 3%;
  margin: 100px auto;
}

p {
  line-height: 2;
}

/***********************CLASS SELECTORS**************************/

.icon {
  border-radius: 100%;
}

.profile-pic {
  transition: transform .2s;
}

.profile-pic:hover {
  transform: scale(1.2);
}

.top-container, .middle-container, .bottom-container {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px;
  animation: fadeIn 1s ease-in-out;
}

.skill-row {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: slideIn 1s ease-in-out;
}

.skill, .leg-spin {
  border-radius: 100%;
  width: 20%;
  transition: transform .2s;
  float: left;
  margin-right: 30px;
  animation: rotateIn 1s ease-in-out;
}

.leg-spin {
  width: 35%;
  float: right;
  margin-left: 30px;
  position: relative;
  animation: rotateIn 1s ease-in-out;
}

.skill:hover, .leg-spin:hover {
  transform: scale(1.2);
}

.pro {
  text-decoration: underline;
}

.intro {
  width: 80%;
  margin: auto;
}

.contact-message {
  width: 80%;
  margin: 40px auto 60px;
}

.bottom-cloud {
  position: absolute;
  left: 250px;
  bottom: 300px;
  animation: cloudAnimation 10s linear infinite;
}

.top-cloud {
  position: absolute;
  top: 40px;
  right: 300px;
  animation: cloudAnimation 10s linear infinite;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #fff;
  padding: 20px 0;
}

.btn {
  background: #11cdd4;
  background-image: -webkit-linear-gradient(top, #11cdd4, #11999e);
  background-image: -moz-linear-gradient(top, #11cdd4, #11999e);
  background-image: -ms-linear-gradient(top, #11cdd4, #11999e);
  background-image: -o-linear-gradient(top, #11cdd4, #11999e);
  background-image: linear-gradient(to bottom, #11cdd4, #11999e);
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 34px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background:  #30e3cb;
  background-image: -webkit-linear-gradient(top,  #30e3cb, #2bc4ad);
  background-image: -moz-linear-gradient(top,  #30e3cb, #2bc4ad);
  background-image: -ms-linear-gradient(top,  #30e3cb, #2bc4ad);
  background-image: -o-linear-gradient(top,  #30e3cb, #2bc4ad);
  background-image: linear-gradient(to bottom,  #30e3cb, #2bc4ad);
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes rotateIn {
  from { transform: rotate(-45deg); opacity: 0; }
  to { transform: rotate(0); opacity: 1; }
}

@keyframes cloudAnimation {
  0% { transform: translateX(-20px); }
  50% { transform: translateX(20px); }
  100% { transform: translateX(-20px); }
}
