
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

body {
  height: 200vh;
  background: linear-gradient(175deg, #000000, #333333, #000000);
  background-color: #000000; /* Fallback color for non-supporting browsers */
  background-size:100% 100%;
  width: 100%;
  margin: 0;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .name{
  font-size: 50px;
  font-weight: bold;
  margin-left: 100px;
  letter-spacing: 0px;
  flex: 1;
  animation: fadeInLeft 1.5s ease-in-out;
  background: linear-gradient(45deg, #636363, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

header .name span{
  font-weight: normal;
}

header .page-btns{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  padding-right: 100px;
  animation: fadeInRight 1.5s ease-in-out;
}

header .page-btns .page-btn{
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  margin-left: 50px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  padding: 0 0.3px;
}

header .page-btns .page-btn:hover{
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

header .page-btns .page-btn.active{
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

header .links{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  padding-right: 100px;
  animation: fadeInRight 1.5s ease-in-out;
}

header .links .link{
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  margin-left: 50px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 15px 15px;
  line-height: 0;
}

header .links .link:hover{
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

main {
  width: 100%;
  height: calc(100vh - 150px);
  margin-top: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

main .content {
  width: 90%;
  height: 90%;
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
}

main .content .name-write {
  color: white;
  max-width: 50%;
  font-weight: bold;
  animation: upAndDown 3s;
  transition: 0.3s ease-in-out;
  font-size: 50px;
}

main .content .name-write.expanded {
  position: absolute;
}

main .content .name-write::after {
  content: "|";
  animation: blink 1s infinite;
}

main .content .description {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  max-width: 80%;
  margin-top: 50px;
  letter-spacing: 1px;
  transition: 0.3s ease-in-out;
  order: 2;
}

.description.expanded {
  padding-top: 110px;
}

main .content .img-right {
  background-image: url(https://cdn.discordapp.com/attachments/1017494768487518218/1117512504181002330/F_orange_logo_with_bg_2-modified.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.3s ease-in-out;
  border-radius: 50%;
  width: 2000px;
  height: 600px;
  margin-left: 50px;
  animation: upAndDown 1.5s ease-in-out infinite;
  box-shadow: 0 30px 30px 0 rgba(0, 0, 0, 0.5);
}

.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 2s ease-in-out;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}

.skills{
  border-radius: 2vw;
  width: 90%;
  margin: 0 auto;
  height: 800px;
}

.skills .title{
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0px;
  flex: 1;
  animation: fadeInLeft 1.5s ease-in-out;
  background: linear-gradient(45deg, #e0e0e0, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills .skills-container{
  display: flex;
  height: fit-content;
  width: 100%;
  padding: 50px 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

.skills .skill{
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 50px;
}

.skills .skill .skill-name{
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #e0e0e0, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills .skill .skill-bar{
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.skills .skill .skill-bar .skill-bar-fill{
  height: 100%;
  background: gray;
  width: 90%;
  text-align: right;
  overflow: visible !important;
}

.skills .skill .skill-bar .skill-bar-fill span{
  position: relative;
  top: -50px;
  color: white;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  display: inline-block;
  left: 35px;
}

.skills .skill .skill-bar .skill-bar-fill span::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(0, 0, 0, 0.5);
}

.skills .skill .skill-bar .skill-bar-value{
  height: 100%;
  background: gray;
  color: white;
}

body::-webkit-scrollbar {
  width: 10px;
  background: rgba(0, 0, 0, 0.5);
}

body::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@keyframes upAndDown {
  0% { 
    transform: translateY(0);
  }
  50% { 
    transform: translateY(-10px);
  }
  100% { 
    transform: translateY(0); 
  }
}

@keyframes blink{
  0%{
    opacity: 0;
  }

  50%{
    opacity: 1;
  }

  100%{
    opacity: 0;
  }
}

@media only screen and (max-width: 1025px) {
  header .name{
    font-size: 40px;
    margin-left: 50px;
  }

  header .page-btns{
    padding-right: 50px;
  }

  header .page-btns .page-btn{
    font-size: 15px;
    margin-left: 25px;
  }

  header .links{
    padding-right: 50px;
  }

  header .links .link{
    font-size: 15px;
    margin-left: 25px;
    padding: 10px 10px;
  }

  main .content .name-write{
    max-width: 100%;
    text-align: center;
    font-size: 40px;
  }

  main .content .description{
    max-width: 100%;
    text-align: center;
    font-size: 15px;
  }

  main .content .img-right{
    display: none;
  }
  
  main .content .skills{
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .title{
    font-size: 40px;
  }

  main .content .skills .skills-container{
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 0;
  }

  main .content .skills .skill{
    flex: 1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .skill .skill-bar{
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill{
    height: 100%;
    background: gray;
    width: 90%;
    text-align: right;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill span{
    position: relative;
    top: -50px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    display: inline-block;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill span::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(0, 0, 0, 0.5);
  }
  
}

@media only screen and (max-width: 601px) {
  header .name{
    font-size: 30px;
    margin-left: 25px;
  }

  header .page-btns{
    padding-right: 25px;
  }

  header .page-btns .page-btn{
    font-size: 10px;
    margin-left: 15px;
  }

  header .links{
    padding-right: 25px;
  }

  header .links .link{
    font-size: 10px;
    margin-left: 15px;
    padding: 5px 5px;
  }

  main .content .name-write{
    max-width: 100%;
    text-align: center;
    font-size: 30px;
  }

  main .content .description{
    max-width: 100%;
    text-align: center;
    font-size: 15px;
  }

  main .content .img-right{
    display: none;
  }

  main .content .skills{
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .title{
    font-size: 30px;
  }

  main .content .skills .skills-container{
    height: 100%;
    width: 100%;
    padding: 0;
  }

  main .content .skills .skill{
    flex: 1;
    height: 100%;
    width: 10%;
    align-items: center;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .skill .skill-name{
    font-size: 10px;
    white-space:nowrap;
  }

  main .content .skills .skill .skill-bar{
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill{
    height: 100%;
    background: gray;
    width: 90%;
    text-align: right;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill span{
    position: relative;
    top: -50px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    display: inline-block;
  }
}

@media only screen and (max-width: 600px) {
  header .name{
    font-size: 20px;
    margin-left: 15px;
  }

  header .page-btns{
    padding-right: 15px;
  }

  header .page-btns .page-btn{
    font-size: 10px;
    margin-left: 10px;
  }

  header .links{
    padding-right: 15px;
  }

  header .links .link{
    font-size: 10px;
    margin-left: 10px;
    padding: 5px 5px;
  }

  main .content .name-write{
    max-width: 100%;
    text-align: center;
    font-size: 20px;
  }

  main .content .description{
    max-width: 100%;
    text-align: center;
    font-size: 10px;
  }

  main .content .img-right{
    display: none;
  }

  main .content .skills{
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .title{
    font-size: 20px;
  }

  main .content .skills .skills-container{
    height: 100%;
    width: 100%;
    padding: 0;
  }

  main .content .skills .skill{
    flex: 1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main .content .skills .skill .skill-name{
    font-size: 10px;
  }

  main .content .skills .skill .skill-bar{
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill{
    height: 100%;
    background: gray;
    width: 90%;
    text-align: right;
  }

  main .content .skills .skill .skill-bar .skill-bar-fill span{
    position: relative;
    top: -50px;
    color: white;
    font-size: 10px;
    font-weight: bold;
    letter-spacing : 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); 
    display: inline-block;
  }

}