
body, html{
    overflow-x: hidden;
}

@font-face {
    font-family: "andy";
    src: url(AndyBold.ttf);
}

#mybackground
{
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  height:100%;
  object-fit: cover;
  z-index: -1;
}

.main 
{
  height: 100vh;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
      -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: black;
}

.header
{
  width: 500px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  margin-top: 100px;
}

.home
{
  height: 30px;
  transition: 0.15s;
}

.about
{
  height: 30px;
  transition: 0.15s;
}

.intro
{
 width: 100vh;

}

.welcome-to-my-portfolio
{
  height: 40px;
  
}

.check-out-my-work
{
  height:30px;
}

.welcome
{
  display: flex;
  justify-content: center;
}

.check
{
  display: flex;
  justify-content: center;

}
.see-projects
{
  display: flex;
  justify-content: center;
  font-family: andy;
  
}
.projects
{
  color:white;
  font-size: 20px;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: rgba(56, 58, 134, 0.7);
  border: solid;
  border-color: rgba(28, 27, 60, 0.7);
  border-radius: 10px;
}

.my-projects-box
{
  display: flex;
  justify-content: center;
  height: 67px;
}


#project
{
  background-color: rgba(56, 58, 134, 0.7);
  min-height: 400px;
  padding: 60px 20px;
  height: 50vh;
 
  border-radius: 100px;
    border: solid;
  border-color: rgba(28, 27, 60, 0.7);
    -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

.link-box
{
  margin-left: 10px;
  margin-right: 10px;
  display: block;
}

.my-projects
{
  width: 300px;
}



.project-boxes
{

  display: flex;
flex-direction: column;
  margin-top:20px;
  
}

.youtube
{
  font-size: 25px;
  transition: 0.15s;
  margin:0;
  color:white;
  font-family: andy;
  
}


.mock-up
{
  width: 100px;
  transition: 0.15s;
}

.mini-räknare
{
  width: 100px;
  transition: 0.15s;
  margin-left: 10px;
}

.project-box
{
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  text-decoration: none;
}

#about{
  padding-top: 200px;
  height: 30vh;
  padding-bottom: 200px;
}



.text
{
  background-color: rgba(56, 58, 134, 0.7);
  height: 100%;
  color:white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: andy;
  border-radius: 50px;
  padding-left: 10px;
  border: solid;
  border-color: rgba(28, 27, 60, 0.7);
  flex-direction: column;
}

#contact
{
    background-color: rgba(56, 58, 134, 0.7);
  min-height: 100px;
  padding: 60px 20px;
  height: 5vh;
  display: flex;
  justify-content: space-around;
  border-radius: 100px;
    border: solid;
  border-color: rgba(28, 27, 60, 0.7);
    -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}


.facebook
{
  height: 75px;
  transition: 0.15s;
}

.contact-link
{
  width:  100px;
  transition: 0.15s;
}

    @keyframes wiggle {
      0%   { transform: rotate(0deg); }
      25%  { transform: rotate(5deg); }
      50%  { transform: rotate(-5deg); }
      75%  { transform: rotate(5deg); }
      100% { transform: rotate(0deg); }
    }

    @keyframes pulse {
      0% {transform: scale(100%); }
      50% {transform: scale(105%);}
      100% {transform: scale(100%);}
    }
    

.facebook:hover
{
  transform: scale(105%);
}


.contact-link:hover
{
  transform: scale(105%);
}
  
  
.name
{
  width: 100vh;
  display: flex;
  justify-content: center;
}

.my-name
{
  height: 50%;
  animation: pulse 8s ease-in-out infinite;
  
}

.projects:hover
{
  color: yellow;
  animation: pulse 3s ease-in-out infinite;
}
.home:hover 
{
  height:50px;
  animation: pulse 2.5s ease-in-out infinite;
  cursor: pointer;
}

.about:hover 
{
  height:50px;
  animation: pulse 2.5s ease-in-out infinite;
  cursor: pointer;
}


.youtube:hover
{
  
  animation: wiggle 0.5s ease-in-out;
  cursor: pointer;
  color: yellow;
}



  .projects-div
  {
    display: flex;
    flex-direction: column;
    align-items: center;
  }





@media ( width >= 1300px )
{
  .my-projects-box
  {
    display: flex;
    justify-content: center;
  }


  .my-projects
  {
    width: 300px;
  }

  #project{
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .project-boxes
  {
  width: 650px;
  display: flex;
  justify-content: center;
  }

.youtube
{
  font-size: 40px;
  transition: 0.15s;
  margin:0;
  color:gray;
}

  .home
{
  height: 50px;
}

.about
{
  height: 50px;
}

.intro
{
 width: 100vh;

}

.welcome-to-my-portfolio
{
  height: 70px;
  
}

.check-out-my-work
{
  height:50px;
}
.my-name
{
  height: 100%;
}
.header
{
  margin-top: 200px;
}
.projects
{
  font-size: 25px;
  transition: 0.15s;
  margin:0;
  color: gray;
}

#about{
  -webkit-text-stroke-width: 0.7px;
  -webkit-text-stroke-color: black;
}
.text
{
  font-size:27px;
}
}