@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;

}
.splink:link{color: blue;
  text-decoration: none;
}
.splink:visited{color: blue;
  text-decoration: none;
}
.splink:hover{color: purple;
  text-decoration: underline;
} 

/* Ensure the body takes up the full height of the viewport */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: black;
  font-size: 18px;
  line-height:1.5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


header {
  position: fixed;
  width: 100%;
  border-bottom: 2px solid black;
    z-index: 9999;

}
main {
  flex-grow: 1;
  margin-top: 50px; /* Match the height of the fixed header */
  padding: 10px;
  background: #e0e0e0;
  border: 2px solid #808080;
  box-shadow: inset 1px 1px 1px #fff, inset -1px -1px 1px #404040;
}
.logo {
  font-weight: bold;
  font-size: 28px;
  color: navy;
  text-shadow: 1px 1px 0 white;
  letter-spacing: 1px;
  
}
nav{
  background: linear-gradient(to top, #c0c0c0 0%, #808080 100%);
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #404040;
}
nav ul{

  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
}
nav a:hover{
  background-color: #2929297c;
}
nav li:first-child{
  margin-right: auto;
}
nav a.sideactive:not(.logo) {
  color: white !important;
  background-color: #2929297c;
  outline: 2px solid black;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.sidebar.active {
  transform: translateX(0);
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
  color: black;
}
.sidebar a:hover{
  background-color: #2929297c;
}
.sidebar a.active {
  background-color: #2929297c;
  color: white;
}
.menu-button{
  display: none;
}
.section-highlight {
  animation: highlight-fade 1.5s ease-out;
}

@keyframes highlight-fade {
  0% {
    background-color: lightskyblue;
  }
  100% {
    background-color: transparent;
  }
}
section {
  padding-left: 10px;
  margin-bottom: 10px ;
}
section h3 {
  /* scale with main font-size and inherit chosen font */
  font-family: inherit;
  font-size: 1.15em;
  margin-bottom: 0.6em;
}
section em{
  border-left: #2929297c 2px solid;
  border-spacing: 0;
}

section ul {
  padding-left: 20px;
}

h1 {
  /* follow Reading Settings by inheriting main font and using em units */
  font-family: inherit;
  font-size: 1.6em;
  margin-bottom: 1.2em;
  transition: font-size 160ms ease;
}

.wrapper .img-area,
.social-icons a,
.buttons button{
  background: #ecf0f3;
  box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1;
}
.wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    margin: 32px auto;
    padding: 30px 18px;
}

.wrapper .icon i{
  position: relative;
  z-index: 9;
}
.wrapper .img-area{
  height: 200px;
  width: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgb(80, 80, 80);
}
.img-area .inner-area{
  height: calc(100% - 25px);
  width: calc(100% - 25px);
  border-radius: 50%;
  display: flex;
    align-items: center;
    justify-content: center;
      overflow: hidden;
}
.inner-area img{
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.wrapper .name{
  font-family: inherit; /* scale with Reading Settings */
  font-size: 1.2em;
    font-weight: 600;
  color: black;
     margin: 10px 0 5px 0;
    text-align: center;
}
.wrapper .about{
  font-family: inherit; /* scale with Reading Settings */
  color: black;
  font-weight: 400;
  font-size: 1em;
    text-align: center;
    margin-bottom: 10px;
}
.wrapper .social-icons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 18px 0 22px 0;
}
.social-icons a{
  position: relative;
  margin: 0 5px;
  display: inline-flex;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4em;
}
.social-icons a:hover::before,
.wrapper .icon:hover::before,
.buttons button:hover:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  background: #ecf0f3;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
}
.buttons button:hover:before{
  z-index: -1;
  border-radius: 5px;
}
.social-icons a i{
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  height: 100%;
  line-height: 40px;
}
.social-icons a.instagram i{
  color: #E1306C;
}
.social-icons a.linkedin i{
  color: #0077b5;
}
.social-icons a.github i{
  color: #333;
}
.social-icons a.whatsapp i{
  color: #25D366;
}
.wrapper .buttons{
   display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin-top: 12px;
}
.buttons button, .full-button-link > button {
  position: relative;
  width: 100%;
  border: none;
  outline: none;
  padding: 12px 0;
  color: black;
  /* inherit the chosen font applied to <main> and scale with it */
  font-family: inherit;
  font-size: 1em;
  font-weight: 400;
  border-radius: 5px;
  cursor: pointer;
  z-index: 4;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.full-button-link {
  width: 100%;
  text-decoration: none;
}

@media (max-width: 500px) {
    .wrapper {
        max-width: 98vw;
        padding: 18px 4vw;
    }
    }
    
footer {
  background: linear-gradient(to top, #3a3939  0%, #3a3939 100%);
  color: white;
  text-align: center;
  padding: 1px 2px 2px;
}

.socials-container {
  display: flex;
  gap: 14px;
  padding: 1em;
  justify-content: center;
}

.socials-container a {
  background-color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: background-color 0.3s;
}

.socials-container a svg {
  height: 20px;
  width: 20px;
}

.socials-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.3em 0.7em;
  font-size: 0.75rem;
  border-radius: 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-26px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover {
  background-color: var(--accent-color);
  fill: white;
}

.socials-container a::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.socials-container a:hover::before {
  transform: translateY(-52px) rotate(0);
  opacity: 1;
}

.socials-container a:hover::after {
  transform: translateY(-32px) rotate(0);
  opacity: 1;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0 15px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #aaa;
}

footer p {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

footer span {
  font-weight: bold;
  color: #bbb;
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
      width: 250px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .socials-container {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0.8em;
  }

  .socials-container a {
    width: 40px;
    height: 40px;
  }

  .socials-container a svg {
    height: 18px;
    width: 18px;
  }

  .socials-container a::before {
    font-size: 0.65rem;
    padding: 0.25em 0.6em;
    transform: translateY(-22px) rotate(25deg);
  }

  .socials-container a:hover::before {
    transform: translateY(-45px) rotate(0);
  }

  .socials-container a::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--accent-color);
  }

  .socials-container a:hover::after {
    transform: translateY(-28px) rotate(0);
  }
}
