*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@font-face{
  font-family: "inter";
  src: url("../webfonts/Inter_18pt-Regular.ttf")
  format("truetype");
}

:root{
  --primary-color: rgba(29,42,91,1);
  --secondary-color: rgba(165,0,68,1); 
  --accent :rgba(225,215,0,1);
  --font-size: 1.2rem;
  --font-family: "Inter";
}

body{
  font-size: var(--font-size);
  font-family: var(--font-family), san-serif;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

header{
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.logo{
  width: 4rem;
  border-radius: 1rem;
}

img.my-pic{
  width: 20rem;
  border-radius: 2rem;
  margin: 0 auto 0 auto;
}

.my-pic:active{
  border: 0.1rem solid var(--primary-color);
}

.desktop-menu{
  display: none;
}

.header{
  background: rgba(255,255,255,0.97);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.menu-icon{
  font-size: 2rem;
  background: whitesmoke;
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--primary-color);
}

.menu-icon:active{
  opacity: 0.5;
}

.mobile-menu{
  display: none;
  flex-direction: row;
  justify-content: flex-end;
  background: white;
  padding: 3rem;
  border-bottom-right-radius: 3rem;
  box-shadow: 0 0.1rem 0.2rem;
}

main{
  margin-top: 7rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@keyframes emerge{
  0%{
    scale: 1 0;
  }
  
  100%{
    scale: 1 1;
  }
}

h1.name{
  font-size: 1.7rem;
  color: var(--primary-color);
  scale: 1 0;
  animation-name: emerge;
  animation-duration: 0.7s;
  transform-origin: bottom;
  animation-fill-mode: forwards;
}

.introduction{
  display: inline-flex;
  flex-direction: column;
  gap: 4rem;
}

@keyframes fadeIn{
  0%{
    opacity: 0;
  }
  
  100%{
    opacity: 1;
  }
}

.description{
  line-height: 1.8rem;
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.content{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.contact-btn:link, .contact-btn:visited{
  cursor: pointer;
  background: var(--primary-color);
  padding: 1.5rem;
  color: white;
  border-radius: 2rem;
  text-decoration: none;
}

 .contact-btn:hover, .contact-btn:active{
  border: 0.1rem solid var(--primary-color);
  background: rgba(29, 42, 91, 0.1);
  color: var(--primary-color);
}

footer{
  background: var(--primary-color);
  padding: 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

h2{
  font-size: 1.6rem;
}

.footer-1, .footer-2{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-1 ul, .footer-2 ul{
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu ul{
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.mobile-menu ul li a:link, .mobile-menu ul li a:visited{
  cursor: pointer;
  color: var(--primary-color);
  text-decoration: none;
}

.mobile-menu ul li a:hover, .mobile-menu ul li a:active{
  opacity: 0.5;
}

.page:link, .page:visited{
  color: white;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.page:hover, .page:active{
  color: var(--secondary-color);
}

.social-container ul{
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}

.sm-link:link, .sm-link:active{
  color: var(--accent);
  cursor: pointer;
}

.sm-link:hover, .sm-link:active{
  color: var(--secondary-color);
}

.social-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}


.propel-icon{
  background: var(--secondary-color);
  padding: 1rem;
  color: white;
}

.propel-icon:active{
  opacity: 0.7;
}
@media screen and (min-width:922px){
  .mobile-menu{
    display: none;
  }
  
  .menu-icon{
    display: none;
  }
  
  .desktop-menu{
    display: flex;
  }
  
  @keyframes fromRight{
    0%{
      opacity: 0;
    }
    
    100%{
      opacity: 1;
      transform: translateX(0%);
    }
  }
  
  .desktop-menu ul{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 1rem;
    list-style-type: none;
    background: var(--primary-color);
    border-radius: 3rem;
    transform: translateX(110%);
    opacity: 0;
    animation-name: fromRight;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
  }
  
  .desktop-menu ul li a:link, .desktop-menu ul li a:visited{
    display: block;
    color: white;
    padding: 1rem;
    text-decoration: none;
  }
  
  .desktop-menu ul li a:active, .desktop-menu ul li a:hover{
    background: white;
    color: var(--primary-color);
    border-radius: 2rem;
  }
  
  .footer{
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}