body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  /* font-family: Arial, sans-serif; */
  background: #B57EDC;
  color: white;

  background-image: url("images/grey.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 

   justify-content: center;
  align-items: center;
}

@font-face {
  font-family: "MyMCFont";
  src: url("fonts/NicomediaGradientItalic-ALw62.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont";
  src: url("fonts/SmoochSans-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


header {
 
  text-align: center;
  font-family: "MyMCFont", sans-serif;
  
}

section{
  text-align: center;
  flex-direction: row;
}

.name{

  display:block;
 
   justify-content: center;
  align-items: center;

  padding: 20px;
  margin: 30px 0px;
  text-decoration: none; 
  /* border-radius: 8px; */
  font-style: italic;
  transition: background 0.2s, transform 0.2s;	
  text-shadow: 20px 20px 5px black;
    margin-bottom: 0px;
    font-size: 2rem;
   background-color: black;
   outline: 2px solid white;
  }
  .name:hover{
    /* background: #20202042; */
    transform: translateX(-4px);
  }




.linkbutton{
  display: inline-flex;
  width: max-content;
  min-width: max-content;
 
  justify-content: center;
  align-items: center;
 

  padding: 10px 0px;
  margin: 10px 10px;

  color: white;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;

  font-family: "MyFont", sans-serif;
  font-size: 1.0rem;

  white-space: nowrap;
}

.text-center{
 text-align: center;
}
.linkbutton:hover h2{
  /* background: #57579979; */
  /* transform: translateY(-3px); */
  /* box-shadow: 15px 15px rgba(0, 0, 0, 0.372); */
  animation: wobble 0.8s ease-in-out;
  transition: color 0.2s;

}

.linkbutton::after {
  content: " | "; 
  color: white;   
  margin: 40px 10px;
  font-size: 2.0rem;
}

.linkedIn::after {
   content: " ";
  /* margin: 0; */
}

.linkbutton>h2{
  text-shadow: 10px 10px 5px black;
}


.aboutme{
  position: relative;  
  display: flex;                 
  flex-direction: row;           
  align-items: flex-start;       
  justify-content: flex-start;   
  gap: 10px;                    
  
  padding: 1px 0px;
  margin: 40px 10px;
  color: rgb(219, 218, 218);
  background-color: black;
  font-size: 1.1rem;
  
  font-family: "MyFont", sans-serif;
  outline:2px solid white;
  
  
}

.aboutme-text a {
  color: #eaebec;          /* LinkedIn blue */
  text-decoration: none;  /* remove underline */
  font-weight: bold;
  transition: color 0.2s, text-shadow 0.2s;
  font-size: inherit;
}

.aboutme img.corner-image {
  background-image: url(images/aboutme.jpeg);
  top: 20px;               
  right: 20px;            
  width: 300px;              
  height: 300px;      
  /* border-radius:15%;        */
  object-fit: cover;   
  outline: 2px solid white;

}

html {
  scroll-behavior: smooth; 
}

.intro{
  display:block;
  padding: 1px 1px;
  width: 100%;
  height: 100%;
  color: rgb(219, 218, 218);
  background-color: rgba(54, 54, 54, 0.699);
  outline: 2px solid white;
  font-family: "MyFont", sans-serif;
  font-size: 2rem;
  font-weight: bold;

}

@keyframes wobble {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-0.5deg); }
  30% { transform: rotate(0.5deg); }
  45% { transform: rotate(-0.5deg); }
  60% { transform: rotate(0.5deg); }
  75% { transform: rotate(-0.2deg); }
  100% { transform: rotate(0deg); }
}

 .aboutme  {
  display: flex;
  gap: 1rem; 
  align-items: center; 
}

.aboutme  img {
  flex-shrink: 0; 
  max-width: 2000px; 
 
}

.aboutme p {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .aboutme  {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .aboutme  img {
    max-width: 100%; 
    margin-bottom: 1rem;
  }
}