/* Global */
* {
  margin: 0;
  padding: 0;
  font-family: serif;
  scroll-behavior: smooth;
}

header{
  height: 50px;
}

nav ul li{
  display: inline-block;
}

.right{
  text-align: center;
}

li a{
  margin: 10px;
  text-decoration: none;
  color: black;
  padding-bottom: 5px;
}

li a:hover{
  color: #FF88C5;
  text-decoration: none;
  font-weight: bold;
}

.underline{
  display: inline-block;
  position: relative;
  color: black;
  margin-top: 10px;
}

.underline:after{
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #5FEBFC;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.underline:hover:after{
  transform: scaleX(1);
  transform-origin: bottom-left;
}

.name{
  font-size: 25px;
  list-style: none;
  padding-left: 100px;
  margin-top: 5px;
}

nav ul li:last-child{
  font-size: 20px;
  float: right;
  padding-right: 100px;
}

/* WELCOME PAGE */
.welcome{
  width: 100%;
  text-align: center;
  color: black;
  background-color: white;
}

.welcome_container{
  font-size: 60px;
  height: 550px;
}

.welcome_text{
  padding-top: 100px;
  animation-name: fadeInText;
  animation-delay: 0.2s;
}

.welcome_title1{
  font-size: 50px;
  animation-delay: 0.2s;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.welcome_title2{
  font-size: 30px;
  animation-delay: 1s;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

.welcome_container button{
  font-size: 20px;
  background-color: #5FEBFC;
  padding: 10px;
  border: 1px solid white;
  border-radius: 10px;
  color: black;
  transition: 0.5s;
  animation-delay: 2s;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes fadeInText {
  0%{}
  100%{opacity: 1;}
}


.welcome_container button:hover{
  background-color: #FF88C5;
  transition: 0.2s;
  color: white;
  transform: scale(1.1);
  transition: 0.5s;
}


.aboutPage{
  width: 100%;
  display: none;
}

.aboutPage_container{
  width: 50%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  height: 550px;
}

.aboutTextTitle{
  font-size: 30px;
  color: #FF88C5;
  padding-top: 50px;
}
.aboutText{
  margin-top: 30px;
  font-size: 18px;
}


/* PORTFOLIO */
.portfolioPage{
  width: 100%;
  display: none;
  height: 900px;
}

.portfolio_container{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  height: 500px;
  padding-top: 50px;
}

.portfolio_title{
  text-align: center;
  font-size: 30px;
  color: #FF88C5;
}

.item{
  text-align: center;
  margin-top: 30px;
  box-shadow: 2px 2px 10px black;
  border-radius: 10px;
  overflow: hidden;
}

.item .item_img img{
  width: 100%;
  height: 300px;
  border-radius: 10px;
  transition: 0.2s;
  position: relative;
}

.item .item_img img:hover{
  transform: scale(1.1);
  transition-duration: 0.5s;
  filter: brightness(10%);
}

.item .item_text{
  font-weight: bold;
  font-size: 20px;
  background-color: black;
  padding: 10px;
  color: white;

}

.button{
  position: absolute;
  color: white;
  width: 30%;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  margin-top: 150px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  border-radius: 10px;
  background-color: #5FEBFC;
  padding: 10px;
  color: black;
  opacity: 0;
}

.item .item_img img:hover + .button{
  transition: 0.2s;
  opacity: 100;
}

.item .item_img img ~ .button:hover{
  transition: 0.2s;
  opacity: 100;
}


.item .button a:hover ~ .item_img img {
  transform: scale(1.1);
  filter: brightness(10%);
}


/* FOOTER */
.footer_container{
  background-color: #FF88C5;
  height: auto;
  padding-top: 5px;
}

footer .text{
  padding-top: 1%;
  text-align: center;
  padding-bottom: 2%;
  color: black;
  font-size: 20px;
}

.footer_container .icons{
  text-align: center;
  margin-top: 20px;
}


footer .icons img{
  margin: 1%;
  width: 4%;
}


@media screen and (max-width: 660px) {
  header{
    display: block;
  }

  header ul li:first-child{
    width: 100%;
  }

  header ul li:first-child a{
    width: 100%;
    text-align: center;
  }
}
