/* General styling */

@import url('https://fonts.googleapis.com/css2?family=Cute+Font&family=Dangrek&family=Modak&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cute+Font&family=Dangrek&family=DynaPuff:wght@400..700&family=Modak&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Baloo+Chettan+2&family=Calligraffitti&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-image: linear-gradient(black, rgb(90, 154, 175), rgb(90, 154, 175), black);
    overflow-x: hidden;
}

button {
  border: none;
}

.hide {
  visibility: hidden;
  position: absolute;
}

/* ! Links and buttons scroll when clicked */

html, body{
  scroll-behavior: smooth;
}

a, .btn{
    transition: all 300ms ease;
}

/* ! Navigation Menu */

#navbar{
  position: sticky;
}

nav{
  position: sticky;
  top: 0;
  z-index: 8;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: transparent;
  transition: background-color 0.3s ease;
  position: relative;
}

.nav-links{
  display: flex;
  list-style: none;
  position: relative;
  font-size: 1.2rem;
  gap: 2rem;
  z-index: 5;
}

.nav-links a{
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); 
  text-decoration: none;
  z-index: 5;
}

.nav-links a:hover{
  color: rgb(0, 255, 0);
}

nav::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background 0.3s ease;
}

.nav-scroll::before{
  background: rgba(0, 0, 0, 1);
}

.logo{
  padding-right: 620px;
  z-index: 3;
}

.logo a{
  font-size: 1rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.logo a:hover{
  color: rgb(0, 104, 0);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(0, 104, 0);
}

.logoimage{
  max-height: 80%;
  z-index: 3;
}


/* ! Hamburger */
#hamburger-nav{
    display: none;
}

.hamburgermenu{
    position: relative;
    display: inline-block;
    z-index: 6;
}

.hamburger-icon{
    display: none;
}


.hamburger-icon span{
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3 ease-in-out;
}

.hamburgermenu-links{
    position: absolute;
    top: 100%;
    right: 0%;
    background-color: rgb(121, 1, 121);
    border-radius: 15px;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6 ease-in-out;
}

.hamburgermenu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: all 0.3 ease-in-out;
}

.hamburgermenu-links a:hover{
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(13, 155, 0);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.hamburgermenu-links li{
    list-style: none;
}

.hamburgermenu-links.open{
    max-height: 300px;
}

.hamburger-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2){
    opacity: 0;
}
.hamburger-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child{
    transform: none;
}
.hamburger-icon span:first-child{
    opacity: 1;
}
.hamburger-icon span:first-child{
    transform: none;
}

/* ! Hero Section background */

#herointro{
    width: 100%;
    height: 80vh;
    background-image: linear-gradient(black, rgba(0, 1, 37, 0.322), rgba(0, 75, 119, 0.411), rgba(0, 111, 119, 0.329), rgba(0, 190, 51, 0.144));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid chocolate;
}

#hero {
  position: relative;
}

.intro{
  z-index: 2;
  padding: 5px;
  border-radius: 15%;
  text-align: center;
  background: hsl(27, 5%, 11%, 0.04);
  backdrop-filter: blur(5px) brightness(125%);
}

/* ! stars */

.night{
    position: absolute;
    width: 100%;
    height: 2%;
    transform: rotateZ(30deg);
    z-index: 1;
    overflow: hidden;
}

.night2{
    position: absolute;
    width: 90%;
    height: 20%;
    transform: rotateZ(20deg);
    z-index: 1;
    overflow-x: hidden;
}

.night3{
    position: absolute;
    width: 55%;
    height: 20%;
    transform: rotateZ(25deg);
    z-index: 1;
    overflow-x: hidden;
}

.night4{
    position: absolute;
    width: 25%;
    height: -10%;
    transform: rotateZ(25deg);
    z-index: 1;
    overflow-x: hidden;
}
  
  .star{
    position: absolute;
    left: 100%;
    top: 100%;
    height: 2px;
    background: linear-gradient(-45deg, #f8da2e3b, transparent);
    filter: drop-shadow(5px 5px 5px #fff203);
    animation: trail 2s ease-in-out infinite,
               position 2s ease-in-out infinite;
  }
  
  @keyframes trail{
    0%{
      width: 0;
    }
    30%{
      width: 105px;
    }
    100%{
      width: 0;
    }
  }
  
  @keyframes position{
    0%{
      transform: translateX(0);
    }
    100%{
      transform: translateX(330px);
    }
  }
  
  .star:nth-child(1){
    top: calc(0% - 0px);
    left: calc(50% - 22px);
    animation-delay: 1.4s;
  }
  
  .star:nth-child(2){
    top: calc(10% - 50px);
    left: calc(30% - -200px);
    animation-delay: 0.2s;
  }
  
  .star:nth-child(3){
    top: calc(26% - 0px);
    left: calc(40% - 150px);
    animation-delay: 0.9s;
  }
  
  .star:nth-child(4){
    top: calc(10% - -20px);
    left: calc(60% - 100px);
    animation-delay: 0.8s;
  }
  
  .star:nth-child(5){
    top: calc(7% - 190px);
    left: calc(50% - 250px);
    animation-delay: 0.2s;
  }
  
  .star:nth-child(6){
    top: calc(20% - 400px);
    left: calc(90% - 100px);
    animation-delay: 0.7s;
  }
  

/* ! fox and text in Hero Section */

.fox{
  position: absolute;
  bottom: 0;
  right: 20vw;
  width: 180px;
  height: auto;
  -webkit-box-reflect: below -5px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0, 0, 0, 0.514));
}


.name{
    position: relative;
    font-family: "DynaPuff", sans-serif;
    font-weight: 200;
    font-size: 4rem;
    color: #690092d7;
    text-shadow:
    rgb(255, 230, 0) -1px -2px 3px;
}

.name span:hover{
  display: inline-block;
  position: relative;
  animation: floaty 2s ease-in-out infinite;
}


@keyframes floaty{
  0%{
    top: 1px;
  }
  50%
  {
    top: -20px;
  }
  100%{
    top: 1px;
  }
}

.intro h2 {
  font-family: "Dangrek", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  color: white;
  animation: clouds 50s linear infinite;
  position: relative;
  transform: translateZ(0);
}

@keyframes clouds {
  0% {
      text-shadow: 
      rgba(255, 255, 255, 0.4) -2300px -200px 70px,
      rgb(121, 121, 121) -1800px -160px 51px,
      rgb(255, 255, 255) -1400px -210px 50px,
      rgba(255, 255, 255, 0.8) -1300px -130px 45px,
      rgba(255, 255, 255, 0.4) -1800px -150px 50px,
      rgb(121, 121, 121) -1500px -130px 51px,
      rgb(255, 255, 255) -1900px -210px 50px,
      rgba(255, 255, 255, 0.8) -1300px -130px 45px,
      rgba(255, 255, 255) -2400px -200px 50px,
      rgb(121, 121, 121) -3000px -130px 51px,
      rgb(255, 255, 255) -2300px -210px 50px,
      rgba(255, 255, 255, 0.8) -1200px -130px 45px;
  }
  50% {
      text-shadow: 
      rgba(255, 255, 255, 0.5) -900px -200px 70px,
      rgb(121, 121, 121) 500px -110px 51px,
      rgb(255, 255, 255) 800px -210px 50px,
      rgba(255, 255, 255, 0.8) 700px -130px 45px,
      rgba(255, 255, 255, 0.2) -300px -150px 50px,
      rgb(121, 121, 121) 700px -190px 51px,
      rgb(255, 255, 255) 500px -250px 50px,
      rgba(255, 255, 255, 0.4) 500px -190px 45px,
      rgba(255, 255, 255, 0.4) 500px -150px 50px,
      rgb(121, 121, 121) 300px -130px 51px,
      rgb(255, 255, 255) -300px -210px 50px,
      rgba(255, 255, 255, 0.8) 100px -130px 45px;
  }
  100% {
      text-shadow: 
      rgba(255, 255, 255) 2500px -200px 50px,
      rgb(121, 121, 121) 2000px -130px 51px,
      rgb(255, 255, 255) 2000px -210px 50px,
      rgba(255, 255, 255, 0.1) 2000px -130px 45px,
      rgba(255, 255, 255, 0.1) 2000px -150px 50px,
      rgb(121, 121, 121) 2000px -130px 51px,
      rgb(255, 255, 255) 2000px -210px 50px,
      rgba(255, 255, 255, 0.1) 2500px -130px 45px,
      rgba(255, 255, 255, 0.1) 2500px -150px 50px,
      rgb(121, 121, 121) 2000px -130px 51px,
      rgb(255, 255, 255) 2000px -210px 50px,
      rgba(255, 255, 255, 0.1) 2500px -130px 45px;
  }
}

p{
    font-family: "Dangrek", sans-serif;
    font-style: normal;
    font-size: 1.2rem;
    color: white;
}

.japanese{
  font-size: 15px;

}

.herolanguages{
  font-size: 1rem;
}

/* ! Buttons and social links in Hero section */

.btn-container{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 80px;
  margin-right: 80px;
}

.btn{
  color: rgb(233, 225, 189);
  font-size: larger;
  width: 140px;
  height: 40px;
  margin: 35px;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  z-index: 0;
}

.btn1::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: linear-gradient(-85deg, rgba(65, 0, 65, 0.9), rgba(206, 0, 196, 0.651), rgb(221, 224, 0));
  filter: blur(2px);
  z-index: -1;
  animation: border 60s linear infinite;
  background-size: 145%;
  border-radius: 12px;
}

.btn2::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: linear-gradient(-85deg, rgba(65, 0, 65, 0.952), rgba(206, 0, 196, 0.651), rgb(221, 224, 0));
  filter: blur(2px);
  z-index: -1;
  animation: border2 60s linear infinite;
  background-size: 145%;
  border-radius: 12px;
}

.btn::after{
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #026666cc;
  left: 0;
  top: 0;
  border-radius: 12px;
}

@keyframes border{
  0%{background-position: 0 0;}
  50%{background-position: 1000% 0;}
  100%{background-position: 0 0;}
}

@keyframes border2{
  0%{background-position: 0 0;}
  50%{background-position: -1000% 0;}
  100%{background-position: 0 0;}
}

.btn:active{
  color: #008d07;
  font-weight: bold;
}

.btn:hover{
  opacity: 0.7;
  outline: purple 2px solid;
  animation: buttonhover 1s infinite;
}

@keyframes buttonhover{
  0%{

  }
  50%{
    outline-offset: 10px;
  }
  100%{
    outline: none;
  }
}

.socialscontainer{
  display: flex;
  justify-content: center;
  align-items: center;
}

.socialscontainer img{
  margin-top: 50px;
  margin-left: 35px;
  margin-right: 35px;
  cursor: pointer;
}

/* ! About Section formatting */

#profile{
  padding: 80px;
}

.about, #profile{
  padding-top: 80px;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(67, 216, 129, 0.664), rgba(136, 248, 233, 0.774), rgb(198, 244, 252));
}

.abouttitle{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 5rem;
  font-family: "Raleway", sans-serif;
}

.selfie, .aboutme, .skills{
  display: flex;
  flex-direction: column;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.aboutme h3{
  font-size: 40px;
  margin-top: 2px;
  margin-bottom: 15px;
}

/* ! About Me title */

.me{
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
  line-height: 220px;
  color: #6e006bc5;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.644),0 -4px 2px #92f7a0;
}

/* ! About Section Layout */

.myprofile{
  padding-top: 3px;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        flex-direction: column;
}

/* ! Picture */

.selfie img{
  width: 600px;
  grid-column: 1;
  transform: rotate(15deg);
  filter:drop-shadow(0px 0px 5px rgb(0, 0, 0));
}

/* ! About Me Text */

.aboutme{
  margin: 40px;
  min-height: 50px;
  height: auto;
  grid-column: 2;
  border: 2px solid purple;
  background: hsla(92, 64%, 85%, 0);
  backdrop-filter: blur(1px) brightness(10%);
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 40;
  font-style: normal;
  font-size: 12px;
  color: rgba(217, 255, 0, 0.89);
}

.aboutme p{
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  word-wrap: break-word;
  line-height: 1.4;
}

/* ! Skills */

.skills{
  grid-column: 3;
  margin: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  z-index: 1;
}

.skills img{
  width: 150px;
  border-radius: 50% 20% / 10% 40%;
  background: hsla(140, 100%, 43%, 0.13);
  backdrop-filter: blur(5px) brightness(35%);
  padding: 10px;
  box-shadow: 5px 5px 10px black;
}

.skills img:hover{
  animation: rotate 6s linear infinite;
}

@keyframes rotate { 
  100% { 
      transform:rotate(360deg); 
  } 
}

.myskills{
  font-family: "Permanent Marker", cursive;
  font-weight: 300;
  font-style: normal;
  white-space: nowrap;
  font-size: 3rem;
  text-align: center;
  color: #310161d8;
  text-shadow: 4px 4px 5px rgba(0,0,0,0.4), 0 -3px 3px #e5e900;
}

/* ! Portfolio Section Layout */

#portfolio{
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(198, 244, 252), rgb(198, 244, 252), rgb(90, 154, 175));
}

.projectcontainers{
  display: grid;
  margin-left: 85px;
  margin-right: 85px;
  gap: 5%;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
}

.tech img {
  width: 50px;
}

.projectimage{
  width: 90%;
}

.projectimage2{
  width: 70%;
}

.projectimage3{
  width: 80%;
}

.projectimage4{
  width: 70%;
}

.buttoncontainer {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: flex-start;
}

.apppreviewbutton, 
.appinfobutton, 
.apppreviewbutton2, 
.appinfobutton2, 
.apppreviewbutton3, 
.appinfobutton3,
.appinfobutton4,
.apppreviewbutton4{
  width: 50%;
  text-align: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  font-family: "Black Ops One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.project1 .apppreviewbutton {
  background-color: white;
  border-top-left-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project1 .appinfobutton {
  background-color: grey;
  border-top-right-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project2 .apppreviewbutton2 {
  background-color: white;
  border-top-left-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project2 .appinfobutton2 {
  background-color: grey;
  border-top-right-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project3 .apppreviewbutton3 {
  background-color: white;
  border-top-left-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project3 .appinfobutton3 {
  background-color: grey;
  border-top-right-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}
.project4 .apppreviewbutton4 {
  background-color: white;
  border-top-left-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

.project4 .appinfobutton4 {
  background-color: grey;
  border-top-right-radius: 25px;
  padding: 10px;
  font-size: 20px;
  width: 50%;
  cursor: pointer;
  text-align: center;
}

ol{
  list-style-type: none;
}

.project1 .buttoncontainer .btn,
.project2 .buttoncontainer .btn,
.project3 .buttoncontainer .btn,
.project4 .buttoncontainer .btn {
    border: none;
}

/* !Portfolio Title */

.portfoliotitle{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
  background: linear-gradient(rgb(198, 244, 252), #00ff2283, #8400ff77, #8400ffea, rgb(0, 255, 13));
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  height: 90px;
  z-index: 0;
}

.portfoliotitle::after{
  content: '';
  position: absolute;
  background: rgb(198, 244, 252);
  border-radius: 50%;
  right: -100px;
  left: -100px;
  bottom: -150px;
  top: 40px;
  z-index: 0;
  filter: blur(5px);
}

.porttitle{
  font-family: 'Calligraffitti', cursive;
  font-weight: 700;
  font-size: 5rem;
  position: absolute;
  text-transform: uppercase;
  text-shadow: -15px 5px 20px #ced0d3;
  letter-spacing: 0.3em;
  color: #007a10;
  text-shadow: 2px 2px 0px #fff350, 
              8px 8px 0px #bd50ef42, 
              4px 4px 0px #6868AC, 
              6px 6px 0px #90e09d;
  z-index: 5;
}

/* ! Project Displays */

.project1,
.project2, 
.project3,
.project4{
  background: white;
  box-shadow: 2px 2px 10px black;
  border: 1px solid black;
  border-radius: 25px;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* .project5{
  background: hsl(27, 5%, 11%, 0.04);
  box-shadow: 2px 2px 10px black;
  border: 1px solid black;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

.appinfo{
  text-align: center;
  line-height: 2;
}

.appinfo2{
  text-align: center;
  line-height: 2;
}


.appinfo h2{
  font-size: 40px;
}

.appinfo p{
  color: black;
}

.appinfo2 h2{
  font-size: 40px;
}

.appinfo2 p{
  color: black;
}

.appinfo3 h2{
  font-size: 40px;
}

.appinfo3 p{
  color: black;
}
.appinfo4 h2{
  font-size: 40px;
}

.appinfo4 p{
  color: black;
}

/* ! Project Buttons */

.projectbtncontainer{
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
.projectbtn{
  color: rgb(255, 255, 255);
  background-color: #43005e;
  font-size: larger;
  width: 140px;
  height: 40px;
  margin-top: 10px;
  margin-right: 20px;
  margin-bottom: 30px;
  border: 3px solid black;
  outline: none;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  z-index: 0;
}

.projectbtn:hover{
  cursor: pointer;
  background-color: #9200cc;
}

/* ! Contact Form Layout */

#contactform{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  width: 100%;
  margin: auto;
  padding: 20px;
  background-color: white;
  border-radius: 55px;
}

.contactbg{
  padding: 180px;
  background-image: linear-gradient(rgb(90, 154, 175), rgb(90, 154, 175), black);
  display: flex;
  justify-content: center;
  align-items: center;
}

#contactform label {
  font-size: 16px;
  margin-bottom: 8px;
}

#contactform input,
#contactform textarea {
  position: relative;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  z-index: 5;
}

#contactform .contactbutton {
  position: relative;
  padding: 10px 20px;
  background-color: rgb(0, 49, 8);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  z-index: 5;
}

#contactform .contactbutton:hover {
  background-color: #c55af7;
  cursor: pointer;
  z-index: 5;
}

/* ! Contact Title */

.contacttitle {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 4rem;
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* ! Contact Email */

.myemail {
  color: black;
  padding: 20px;
  font-size: 20px;
  text-align: center;
  width: 100%;
}

.myemail p {
  color: black;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.myemailaddress {
  text-align: center;
  text-decoration: underline;
  text-decoration-color: #008d07;
  text-underline-offset: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.myemailaddress a {
  color: black;
  font-size: 1.4rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.myemailaddress img {
  margin-right: 10px;
  max-width: 25px;
  height: auto;
}

/* ! Actual Contact Form */

#contactform form {
  position: relative;
  z-index: 2;
  padding: 25px;
  border-radius: 55px;
  text-align: center;
  color: black;
  background: linear-gradient(rgb(198, 244, 252), rgb(76, 127, 145));
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  box-shadow: inset 1px 1px 5px 5px black;
  z-index: 5;
}

#contactform form::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 55px; 
    padding: 3px;
    background:linear-gradient(45deg,rgb(0, 99, 38) 0%,rgba(109, 2, 170, 0.692) 50%,rgba(2, 170, 66, 0.692) 100%); 
    -webkit-mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude; 
}

input {
  padding: 5px;
  width: 100%;
}

textarea {
  padding: 5px;
  width: 100%;
}

.contactbutton {
  width: 120px;
  height: 50px;
  font-size: 20px;
  margin-right: 20px;
  border-radius: 15px;
  border: 2px solid purple;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  box-shadow: #2bff00 0px 0px 10px;
}

.contactbutton:hover {
  cursor: pointer;
  opacity: 0.7;
  outline: purple 2px solid;
  animation: buttonhover 1s infinite;
}

.contactbutton:active {
  background-color: #690092;
}

input:invalid, textarea:invalid {
  border: 2px solid rgba(255, 0, 0, 0.473);
}

input:valid, textarea:valid {
  border: 2px solid greenyellow;
}

/* ! Footer */

#footer{
  background-color: black;
  color: white;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.rights{
  padding-top: 10px;
  bottom: 0;
  text-align: center;
}
.footer-links{
  margin-top: 50px;
}

/* ! To Top Button */

.topbutton {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: fixed;
  bottom: 20px;
  right: 2%;
  padding: 10px;
  font-family: sans-serif;
  color: #fff;
  background: hsl(290, 100%, 40%);
  border-radius: 100px;
  white-space: nowrap;
  text-align: center;
  border: 2px solid rgb(144, 82, 226);
  z-index: 5;
  max-width: 10vw;
  max-height: 10vw;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.topbutton a {
  text-decoration: none;
  color: white;
}

.toparrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  color: white;
}

.topbutton:hover {
  background-color: green;
}