@import url("https://fonts.googleapis.com/css2?family=Sassy+Frass&display=swap");
* {
  padding: 0;
  margin: 0;
  font-family: "Lato", sans-serif;
  box-sizing: border-box;
}
*:focus,
*:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
/* allows for smooth scrolling  */
html {
  scroll-behavior: smooth;
}
/* Sets Styles for use  */
h1,
h2,
h3,
h4,
h5,
h6,
span {
  color: cadetblue;
  text-align: center;
  line-height: 1.25;
}
h1 {
  font-size: 36px;
}
p {
  line-height: 1.5;
  font-size: 16px;
}
a {
  text-decoration: none;
  position: relative;
  transition: opacity 300ms ease;
}
/* when mouse hovers the icon becomes opaic */
i:hover {
  opacity: 0.7;
}
/* creates underline effect on links */
.link__hover-effect:after {
  content: "";
  position: absolute;
  height: 3px;
  background-color: cadetblue;
  width: 0%;
  bottom: -3px;
  right: 0;
  transition: all 300ms ease;
}
/* Mouse hover */
.link__hover-effect:hover:after {
  width: 100%;
  left: 0;
}
/* adds different color to the footer links */
.link__hover-effect--white:after {
  background-color: cadetblue;
}
/* removes bullets from the list */
li {
  list-style-type: none;
}
/*  */
.flex {
  display: flex;
}
/* Sets teh flexible length on flexiable items */
.flex-1 {
  flex: 1;
}
/* sets the space between each "container" */
.container {
  padding: 50px 0;
  text-align: center;
}
/* Keeps content in a box */
.row {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
}
/* every second section will be this color  */
section:nth-child(even) {
  background-color: rgba(209, 206, 206, 0.7);
}
/* puts space below heading */
.section__title {
  margin-bottom: 20px;
}
/* Navigation bar */
nav {
  height: 100px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}
.nav__link--list {
  display: flex;
}
/* Sets the style of the Three nav links */
.nav__link--anchor {
  margin: 0 12px;
  text-decoration: none;
  font-size: 16px;
  color: black;
  font-weight: 700;
}
/* Style the "Contact" button */
.nav__link--anchor-primary {
  background-color: cadetblue;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
  transition: all 300ms ease;
}
/* changes the color when hover over it  */
.nav__link--anchor-primary:hover {
  background-color: rgb(10, 173, 179);
}
/* Style the logo */
.personal_logo{
    font-size:24px;
    color:cadetblue;
    margin: 0 12px;
    font-weight:bold;
}
/* About Me */
.text--blue{
  color:#5f9ea0;
}
/* Control the content in the box */
#about-me{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.about-me__info{
  display:flex;
  flex-direction: column;
}
/* Controlled all the text in the Div  */
.about-me__info--container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
/* Controlling the size and the shape of the picture  */
.about-me__picture--mask{
  width:100px;
  height:100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
  margin-bottom: 28px;
  animation: animate-profile-picture 800ms 200ms backwards;
}
/* The  fitment of the picture in the circle */
.about-me__picture{
  width:100%;
  transform:scale(2.0);
  padding-top:17px;
}
.about-me__info--title{
  margin-bottom: 16px;
  animation: fade-up 650ms 400ms backwards;
}
.about-me__info--para{
  font-size:20px;
  margin-bottom: 28px;
  animation:fade-up 650ms 600ms backwards;
}
/* Styling the links */
.about-me__link{
  font-size: 20px;
  color: #609d9f;
  text-decoration: none;
  padding:0 16px;
}
.about-me__links{
  animation: fade-up 650ms 800ms backwards;
}
.about-me__img{
  width:100%;
  animation:fade-in 1200ms 800ms backwards;
}
.about-me__img--container{
  flex:1;
  display: flex;
  align-items: center;
}
.wave{
  display:inline-block;
  animation: animate-wave 500ms infinite ease-in-out;
}
/* Animations for About me Section */
@keyframes fade-up{
  0%{
    opacity:0;
    transform: translateY(40px);
  }
  100%{
    opacity:1;
    transform: translateY(0);
  }
}
@keyframes fade-in{
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}
@keyframes animate-wave{
  0%{
    transform: rotate(0);
  }
  50%{
    transform:rotate(30deg)
  }
  100%{
    transform: rotate(0);
  }
}
@keyframes animate-profile-picture{
  0%{
    
  }
}

/* SKILLS */
/* The card features  */
.card{
  display:flex;
  height: 360px;
  width: 280px;
  padding: 20px 35px;
  background: rgb(50,100,173);
  background: radial-gradient(circle, rgba(50,100,173,1) 0%, rgba(0,19,19,1) 100%);
  border-radius: 20px;
  box-shadow:-1rem 0 3rem rgba(0, 0, 0,0.2);
  transition: 0.4s ease-out;
  display:inline-block;
  text-align: center;
  position:relative;
  left: 0px;
}
/* Contorls the icons in the card */
.card i{
  font-size: 30px;
  display: block;
  text-align: center;
  margin: 25px 0px;
  color:white;
}
.card--title{
  color:white;
  font-size: 13px;
  margin-bottom: 15px;
}
/* Tells the card to move to the right if not selected */
.card:not(:first-child){
  margin-left:-20px;
}
/* effects when the mouse hovers on the card */
.card:hover{
  transform:translateY(-10px);
  transition: 0.4s ease-out;
}
/* So the card moves upwards  */
.card:hover ~ .card{
position:relative;
left: 20px;
transition: 0.4s ease-out;
}
/* Controls the card title */
.card--title{
  color:white;
  font-weight: 30px;
  position:absolute;
  left: 20px;
  top: 15px;
}
/* Contols the card Parapgraph */
.Skills--text p{
  color:white;
  font-size: 10px;
  line-height:27px;
  margin-bottom: 25px;
}
/* Tech Stack */
.language {
  width: 25%;
  display: flex;
  justify-content: center;
  position: relative;
}
.language__img{
  width: 100%;
  max-width: 100px;
  transition: all 300ms ease;
}
/* Effects the size of the image */
.language:hover.language__img{
  filter:brightness(80%);
  opacity: 0.86;
  transform:scale(0.9);
}
.language__img--wrapper{
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 25px 16px;
}
/* Puts Logos next to each other  */
.language__list{
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}
.language__name{
  position: absolute;
  bottom: 0;
  transform: scale(0);
  transition: all 300ms ease;
  font-size: 20px;
  opacity: 0;
}
.language:hover .language__name{
  transform: scale(1);
  opacity:1;
}
/* Project Section */
.project{
  margin-bottom: 135px;
}
.project:last-child{
  margin-bottom: 40px;
}
.project__img{
  width:100%;
  border-radius: 20px;
  transition: all 500ms ease;
}
.project__wrapper{
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
/* Overlay and Zoom */
.project__wrapper:before{
  content:" ";
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  background-color: cadetblue;
  opacity: 0.25;
  transition: 450ms ease;
  z-index: 2;
}
.project:hover.project__wrapper{
  opacity:0.7;
}
.project:hover .project__img{
  transform:scale(1.07);
  filter:blur(5px);
}
/* make the text appear when hover */
.project:hover .project__description{
  opacity:1;
  transform: translateY(-50%);
}
.project__list{
  padding-top: 40px;
}
.project__description{
  position: absolute;
  top:50%;
  left:90px;
  transform: translateY(-50%);
  max-width: 550px;
  z-index: 4;
  opacity: 0;
  transition: transform 450ms, opacity 300ms;
}
.project__description--title{
  font-size: 40px;
}
.project__description--para{
font-size: 12px;
margin-right: 16px;
}
.project__description--link{
  margin-right: 16px;
  font-size: 18px;
  text-decoration: none;
}
.project__description--title,
.project__description--sub-title,
.project__description--para,
.project__description--link{
  text-align: left;
  color: white;
}
/* Footer */
footer {
  background-color: #969494b3;
}
.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 0;
}
.footer__logo--img {
  width: 70px;
  height: 70px;
}
.footer__social--list {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
}
.footer__social--link,
.footer__copyright{
  color: white;
}
.footer__logo--popup {
  position: absolute;
  right: 0;
  top: 30px;
  font-weight: 700;
  opacity: 0;
  transition: all 300ms ease;
}
.footer__anchor {
  margin-bottom: 20px;
  position: relative;
}
/* when hover logo Top will pop out */
.footer__anchor:hover .footer__logo--popup {
  transform: translateX(60px);
  opacity: 1;
}
.icon-container{
    display: inline-block;
}
.wrapper {
  display: inline-flex;
  list-style: none;
}
.wrapper .icon {
  position: relative;
  background: #ffffff;

  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .tool-tip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .tool-tip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tool-tip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tool-tip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}
.wrapper .instagram:hover,
.wrapper .instagram:hover .tool-tip,
.wrapper .instagram:hover .tool-tip::before {
  background: white;
  color: cadetblue;
}
.wrapper .github:hover,
.wrapper .github:hover .tool-tip,
.wrapper .github:hover .tool-tip::before {
  background: white;
  color: cadetblue;
}
.wrapper .threads:hover,
.wrapper .threads:hover .tool-tip,
.wrapper .threads:hover .tool-tip::before {
  background: white;
  color: cadetblue;
}
.wrapper .mail:hover,
.wrapper .mail:hover .tool-tip,
.wrapper .mail:hover .tool-tip::before {
  background: white;
  color: cadetblue;
}
.wrapper .file:hover,
.wrapper .file:hover .tool-tip,
.wrapper .file:hover .tool-tip::before {
  background: white;
  color: cadetblue;
}

/* This is for Responsiveness for small phones, tablets, large smartphones */
@media(max-width:768px){
nav{
  height:68px;
}
h1{
  font-size: 28px;
}
.about-me__info--para{
  font-size: 18px;
}
.language{
width: calc(100%/3);
}
.project__description--para{
  font-size:14px;
}
.project__description{
  left: 30px;
  padding-right: 30px;
}
}
@media(max-width:480px){
  .nav__link:not(:last-child){
    display:none;
  }
  /* align text and titel */
  .project__description{
    padding:0;
    left:0;
    width:100%;
  }
  .project__description--para{
    display:none;
  }
  .project__description--links{
    display:flex;
    justify-content: center;
  }
  /* Wraps heading of text */
  .project__description--title{
    font-size:32px;
    line-height:1;
    text-align:center;
  }
  .project__description--sub-title{
    text-align: center;
    margin: 12px 0;
  }
}
