
@font-face {
  font-family: 'Painting';
  src: url(src/fonts/Painting_With_Chocolate.ttf);
}

@font-face {
  font-family: 'Black';
  src: url(src/fonts/Black\ Anemone.otf);
}

@font-face {
  font-family: 'Permanent';
  src: url(src/fonts/PermanentMarker-Regular.ttf);
}

@font-face {
  font-family: 'Rig';
  src: url(src/fonts/Righteous-Regular.ttf);
}

@import 'https://fonts.googleapis.com/css?family=Raleway';


li {
  list-style: none;
}


/* HOMEPAGE */

.animate__animated animate__bounceInDown animate__slow { 

  display: inline-block;
  margin: 25rem;

  animation: bounce; 
   animation-duration: 1s; 
} 

.animate__animated {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  height: 89vh;
}

.title {
  font-family: "Black", sans-serif;
  color: white;
  font-size: 90px;
}

.show-once {
  font-family: "Black", sans-serif;
  color: #ffffff;
  font-size: 30px;
} 

.homepage{
  background-image: url(src/images/code18.jpg);
  background-color: #101010;
  background-size: 100% 120%;
  backdrop-filter: blur(0px); 
 }  

 .homepage p {
  font-family: "Black", sans-serif;
  color: #ffffff;
  font-size: 18px;
}


.btn {
  margin-top: 1rem;
  line-height: 0;
  padding: 1.6rem 1.5rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: orangered;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: 'Rig';
}

.btn span animate__shakeX {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;

  animation: shake; 
   animation-duration: 10s;
}
.btn i {
  margin-left: 0.1rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.btn:hover {
  background: #1a047e;
}
.btn:hover i {
  transform: translateX(5px);
}


/* NAVIGATION */


#navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: black;
  border-left: 8px solid orangered;
  font-family: 'Rig';
  
}

#navbar li {
  float: left;
}

#navbar li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  
}

#navbar li a:hover:not(.active) {
  background-color: orangered;
}


/* ABOUT ME */


.about-section {
  display: flex;
  justify-content: space-around;
  background-color: #cbcdce;
  min-height: 89vh;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 32rem;
}

.about h1,
.toolkit h1,
.hobbies-section h1 {
  color: #cf7f04;
  font-size: 25px;
  font-weight: 600;
  text-shadow: 0 0 0.6px white;
  font-family: 'Permanent';
}

.Hero-pic {
  background: url(src/images/profilpic.jpg);
  background-size: cover;
  height: 16rem;
  width: 16rem;
  border-radius: 50%;
  margin-bottom: 2em; 
  box-shadow: 0 0 0.7rem;
}

.info {
  text-align: center;
  margin: 0 20px;
  color: black;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 0 0.6px white;
  line-height: 35px;
}


.toolkit-section animate__animated animate__bounceInRight animate__slow {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  margin: 120px 0;
}



.toolkit,
.hobbies-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.toolkit {
  margin-bottom: 100px;
}

.toolkit p,
.hobbies-items {
  color: black;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0px 0px 0.6px white;
}

.toolkit img,
.hobbies-items img {
  height: 4.5rem;
  margin: 0 7px;
}

.toolkit-items,
.hobbies-items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
}

.toolkit-items li,
.hobbies-items li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px 10px 10px;
}


/* FOOTER */


.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  padding: 4.5px 0;
}

.footer p {
  margin: 8px;
  color: orangered;
}


/* PROJECTS */


.projects-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 834px;
  justify-content: center;
  background-color: #cbcdce;
}

.projects-section li {
  display: flex;
  flex-direction: column;
  background-color: black;
  width: 500px;
  height: 295px;
  position: relative;
  padding: 0;
  border: 3px solid black;
  border-radius: 5px;
  margin: 20px;
  padding-top: 40px;
  overflow: hidden;
}

.projects-section img {
  width: 100%;
  height: 100%;
  transition: all 0.2s ease-in-out;
}

.projects-section img:hover {
  transform: scale(1.05);
}

.projects-section p {
  position: absolute;
  color: white;
  top: 6px;
  left: 20px;
  font-size: 21px;
  font-weight: 600;
  border-radius: 20px;
  padding: 0 5px;
}

.github-link {
  position: absolute;
  background-color: orangered;
  color: black;
  top: 6px;
  right: 20px;
  font-size: 21px;
  font-weight: 600;
  border-radius: 20px;
  padding: 0 5px;
}


/* CONTACT */


#contact-form {
  background-image: url(src/images/code16.jpg);
  background-color: #101010;
  background-size: 100% 120%;
  backdrop-filter: blur(0px); 
 min-height: 89vh;
 padding: 20px ;
}

#contact{
  width: 40%;
  position: absolute;
  top: 20%;
  left: 20%;
}

h1 {
  color: white;
  padding-top: 10px;
  text-align: center;
  font-size: 60px;
  font-family: 'Rig';
}

input {
  background-color: white;
  width: 50%;
  margin-left: 25%;
  font-size: 20px;
  padding: 16px 16px;
  border-radius: 10px;
  border-color: black;
  margin-bottom: 20px;
  font-family: 'Rig';
}

textarea {
  background-color: white;
  width: 50%;
  margin-left: 25%;
  font-size: 20px;
  padding: 16px 16px;
  border-radius: 10px;
  border-color: black;
  margin-bottom: 25px;
  font-family: 'Rig';
}

input:focus-within {

  outline: none;
  border-color: orangered;
  border-width: 3px;
}

textarea:focus-within {

  outline: none;
  border-color: orangered;
  border-width: 3px;
}

button {
  background-color: orangered;
  border-radius: 20px;
  border-color: black;
  font-size: 22px;
  padding: 10px 18px;
  text-align: center;
  display: flex;
  margin: auto;
  font-family: 'Rig';
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
}


button:hover {
  opacity: 80%;
  cursor: pointer;
  background: #1a047e;
}


.contact-items {
  top: 19%;
  left: 60%;
  color: #ffffff;
  position: absolute;
  text-shadow: 0 0 3px white;
}

.contact-items {
  margin-top: 32px;
  margin-left: 20px;
}

.contact-items img {
  background-color: white;
  border-radius: 11px;

  height: 3.5rem;
  margin: 0 19px;
}

#social-media {
  font-family: 'Rig';
}