body {
    background-color: #181818;
    margin: 0;
    font-family: 'Geomanist', Arial, Helvetica, sans-serif;

}
  @media all and (min-width:1440px) {
    body {
    zoom: 1.25; /* Scales everything to 125% */
    -moz-transform: scale(1.25); /* Firefox fallback */
    -moz-transform-origin: 0 0;
    }
}

.page-border {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 10px solid #fff;
    /* border color and thickness */
    pointer-events: none;
    /* lets clicks pass through */
    z-index: 9999;
}

.header {
    display: flex;
    flex-direction: row;
}

.ap-logo-container>a>img:hover {
    transform: scale(1.1);
    transition: transform 0.1s ease-in-out;
    background-image: url(../images/hover-ap-logo-img.png);
}

.ap-logo-container {
    margin: 50px;
    position: fixed;
    top: 30px;
    left: 30px;
}

.transparent-div {
    margin-left: 78%;
    overflow-y: auto;

}

.nav-bar {
    width: 100%;
    position: fixed;
    top: 50px;
    left: 87%;

}

.nav-bar>ul {
    list-style-type: none;


}

.nav-bar>ul>li {
    padding: 5px;
}

#shuffle {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

#shuffle:hover {
    color: #B3A577;

}

#shuffle.active {
    color: #B3A577;
}

::-webkit-scrollbar {
    width: 2px;
    /* scrollbar width */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* track color */
}

::-webkit-scrollbar-thumb {
    background: #888;
    /* scrollbar color */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* hover color */
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    /* "auto" or "thin" */
    scrollbar-color: #B3A577 #fff;
    /* thumb color, track color */
}

.contact-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
}

.contact {
    width: 75%;
    margin-top: 30px;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.contact>p {
    font-family: 'Geomanist-bold', Arial, Helvetica, sans-serif;
    font-size: 35px;
    color: #fff;
    font-weight: 700;
    text-align: left;
}


input {
    width: 50%;
    margin-bottom: 20px;
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding-top: 7px;

}
input::placeholder {
    color: #B3A577;
}
input:focus {
    border-bottom: 1px solid #B3A577;
}
#fullname{
    margin-top: 15px;
}
textarea {
    width: 50%;
    height: 100px;
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 1px solid #fff;
    color: #fff;
}
textarea::placeholder {
    color: #B3A577;
}
#button{
    border: 1px solid #fff;
    padding: 5px 20px;
    border-radius: 25px;
    color: #B3A577;
    margin-top: 10px;
}
#button:hover {
    background-color: #B3A577;
    color: #181818;
    cursor: pointer;
}
#button:active {
    background-color: #181818;
    color: #B3A577;
    border: 1px solid #B3A577;
}





footer {
    width: 100%;

    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.social-media {
    width: 75%;
    margin: 30px 0 50px -90px;

}

.social-media ul {
    list-style-type: none;
    display: flex;

}

.social-media ul li {
    margin: 0 10px;


}

.social-media ul li a {
    text-decoration: none;
    font-family: 'Geomanist', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 2px;
    border-bottom: 2px solid #fff;
}

.social-media ul li a:hover {
    color: #B3A577;
    border-bottom: 2px solid #B3A577;
}

.copyright {
    font-family: 'Geomanist', Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #fff;
    margin-top: 20px;
}

.copyright:hover {
    color: #B3A577;
}

.input {
    display: flex;
    flex-direction: column;
}

@import url('https://fonts.googleapis.com/css?family=Raleway:200');

#box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 200px;
  color: white;
  font-family: 'Raleway';
  font-size: 2.5rem;
}
.gradient-border {
  --borderWidth: 1.5px;
  background: #181818;
  position: relative;
   width: 45%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.gradient-border:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}


@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }

}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content {
  background: #181818;
  border: 2px solid #B3A577;
  border-radius: 10px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 30px rgba(179, 165, 119, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header h2 {
  color: #B3A577;
  font-size: 28px;
  margin: 0 0 20px 0;
  font-family: 'Geomanist-bold', Arial, Helvetica, sans-serif;
}

.modal-body {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: 'Geomanist', Arial, Helvetica, sans-serif;
}

.modal-body p {
  margin: 10px 0;
}

.modal-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.modal-btn {
  background-color: transparent;
  border: 1px solid #B3A577;
  color: #B3A577;
  padding: 10px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Geomanist', Arial, Helvetica, sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background-color: #B3A577;
  color: #181818;
}

.modal-btn:active {
  background-color: #181818;
  color: #B3A577;
}

/* Mobile responsive modal styles */
@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    width: 90%;
    max-width: 450px;
  }

  .modal-header h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .modal-body {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .modal-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}

@media (max-width: 425px) {
  .modal-content {
    padding: 25px 15px;
    width: 85%;
    max-width: 100%;
    border-radius: 8px;
  }

  .modal-header h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  

  .modal-body {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .modal-body p {
    margin: 8px 0;
  }

  .modal-btn {
    padding: 8px 20px;
    font-size: 12px;
    border-radius: 20px;
  }
  form{
    margin-left: 100px;
  }
  form > input{
    width: 150%;

  }
  form > textarea{
    width: 150%;
  }
}

@media (max-width: 375px) {
  .modal-content {
    padding: 20px 12px;
    width: 90%;
  }

  .modal-header h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .modal-body {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .modal-btn {
    padding: 8px 18px;
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  .modal-content {
    padding: 18px 10px;
    width: 95%;
  }

  .modal-header h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .modal-body {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .modal-body p {
    margin: 5px 0;
  }

  .modal-btn {
    padding: 7px 16px;
    font-size: 10px;
  }
}

 @media screen and (max-width:1024px) {
   .nav-bar{
    margin-left: -35px;
   }
   .ap-logo-container{
    margin-left: 25px;
   }
  }
  @media screen and (max-width:768px) {
    .nav-bar{
        margin-left: -55px;
    }
    .ap-logo-container{
        margin-left: 7px;
        margin-top: 35px;
    }
  }

  @media  (max-width:425px) {
    .nav-bar{
        position: absolute;
        margin-left: -255px;
        margin-top: -25px;
        width: fit-content;
        padding: 0;

    }
    .page-border{
      display: none;
    }
    .contact-container{
        width: 370px;
        margin-left: -30px;
    }
    body{
        width: fit-content;
        color:black;
    }
    .nav-bar>ul{
        display: flex;
        flex-direction: row;
    }
    .nav-bar>ul>li{
        font-size: 13px;
    }
    .ap-logo-container{
        margin-top: 10px;
        position: absolute;
    }
    .ap-logo-container>a>img{
        width: 30px;
    }
    .header{
        width: 300px;
    }
     .gradient-border{
        position: static;
        background-color: transparent;
    }
    main{
        width: fit-content;
        
    }
    .social-media{
        margin-left: -60px;
        width: fit-content;
        /* width: 50px; */
    }
    .social-media>ul>li>a{
        font-size: 15px;
    }
    .copyright{
        margin-left: 85px;
        margin-top: 120px;
        width: fit-content;
        
    }
    
    
  }
  @media (max-width:375px) {
    .nav-bar{
        margin-left:-250px ;
    }
    p{
        font-size: 23px;
    }

    .nav-bar>ul>li{
        font-size: 12px;
    }
    .social-media{
        margin-left: -100px;
    }
    .contact-container{
      width: 375px;


    }
    .gradient-border{
        position: static;
        margin-left: -45px;
        background-color: transparent;
    }
    .skills{
      width: 375px;
      overflow: scroll;
    }
    .social-media>ul>li>a{
        font-size: 13px;
    }
    .copyright{
        margin-left: 10px;
    }
  }
  @media (max-width:320px) {
    .nav-bar{
        margin-left: -300px;
    }
    .ap-logo-container>a>img{
        width: 40px;
    }
    .profile-img{
        margin-left: 50px;
        margin-top: 300px;
        width:400px ;
        height: 400px;
    }
    .nav-bar>ul>li{
        font-size: 20px;
    }
    .intro-container{
        width: 550px;
    }
    p{
        font-size: 35px;
    }
    .social-media{
    margin-left: -120px;
    }
    .social-media>ul>li>a{
        font-size: 25px;
    }
    .copyright>span{
        font-size: 15px;
    }
    
  }

