
* {
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  ;
}


body {
  background-image: url("portt.jpg");
  background-size: cover;
  opacity: 0.9;
 }
  


header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

nav img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  margin-left: 30px;
}

nav {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  box-shadow: #0f0f10a1 0px 0px 20px;
  background-color: #090032;
  opacity: 0.8;
  width: 100%;
  height: 80px;
  z-index: 1;
}


.nav-list {
  list-style: none;
  margin: 0;
  padding: 10;
  display: flex;
}


.nav-item {
  margin-right: 50px;
}


.nav-item a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}


.nav-item a:hover {
  text-decoration: underline;
  color: #385e86;
}


section {
  padding: 100px 0;
  margin: 0 5px;
  overflow: hidden;
  align-items: center;
}

.circle {
  width: 0px;
  height: 0px;
  border: 1px solid #00ffd0;
  position: absolute;
}

.main {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 200px;
  margin-top: 100px;
  max-width: 500px;
}

.detail span {
  color: #a14cb2;
  margin-bottom: 10px;
  text-transform: uppercase;
  background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #800e88 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

a {
  text-decoration: none;
}

#cv {
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 4rem;
  color: #73b1d0;
  text-decoration: none;
}

#cv:hover {
  background-color: #73b1d0;
  color: #fff;
  transition: .5s ease;
}

#img {
  transition: all 0.2s ease-out;
  width: 500px;
  height: 400px;
  margin-top: 80px;
  margin-right: 200px;
}

#img:hover {
  transform:rotate3d(1, 1, 1, 18deg);
}

.wrapper .button {
  display: inline-block;
  height: 60px;
  width: 60px;
  left: 250px;
  margin: 0 5px;
  overflow: hidden;
  background: #fff;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.icons a {
  display: inline-block;
  margin: 0 10px;
  color: #f1f4f4;
  font-size: 20px;
  transition: all 0.3s ease-out;
}

.icons a:hover {
  color: #31a5cb;
}

.wrapper .button .icon {
  display: inline-block;
  height: 60px;
  width: 60px;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 60px;
  transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1):hover .icon {
  background: #4267b2;
}

.wrapper .button:nth-child(2):hover .icon {
  background: #1da1f2;
}

.wrapper .button:nth-child(3):hover .icon {
  background: #e1306c;
}

.wrapper .button .icon i {
  font-size: 25px;
  line-height: 60px;
  transition: all 0.3s ease-out;
}

.wrapper .button:hover .icon i {
  color: #fbf9f9;
}

.wrapper .button span {
  font-size: 20px;
  font-weight: 500;
  line-height: 60px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1) span {
  color: #4267B2;
}

.wrapper .button:nth-child(2) span {
  color: #1DA1F2;
}

.wrapper .button:nth-child(3) span {
  color: #E1306C;
}

/* Link styles */
.button .icon a {
  color: #0f0f10;
  text-decoration: none;
  padding: 10px 10px;
  border: 2px;
}

/* Image styles */
h1 {
  position: relative;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #92bdd4;
}

p {
  font-size: 1.6rem;
  margin-bottom: 30px;
  text-align: center;
  color: #f1dfdf;
}

/* Skills section */
#skills {
  padding: 100px 100px;
  margin: 0 5px;
}

#skills h2 {
  color: #090032;
  margin-bottom: 5rem;
}

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

.container .servicebox {
  flex: 1 1 30rem;
  background-color: #130423;
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  transition: .5s ease;
}

.container .servicebox:hover {
  border-color: #69a6c4;
  transform: translateY(-1rem);
}

.servicebox i {
  font-size: 6rem;
  color: #73b1d0;
  margin-bottom: 2rem;
}

.servicebox h3 {
  font-size: 2rem;
  color: #92bdd4;
  margin-bottom: 1rem;
}

.servicebox p {
  font-size: 1.4rem;
  color: #c1d1d9;
  margin: 1rem 0 3rem;
}

/* Portfolio section */
.portfolio {
  background-color: none;
}

.portfolio h2 {
  margin-bottom: 4rem;
  color: #090032;
  font-size: 3rem;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 2rem;
}

.portfolio-container .portfolio-box {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
}

.portfolio-box img {
  width: 100%;
  transition: .5s ease;
}

.portfolio-box:hover .img {
  transform: scale(1.1);
}

.portfolio-box .layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(0, 0, 0, .1), #670b95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: .5s ease;
}

.portfolio-box:hover .layer {
  transform: translateY(0);
}

.layer h4 {
  font-size: 2rem;
  color: #a14cb2;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.layer p {
  font-size: 1.6rem;
  color: #c1d1d9;
  margin: 1rem 0 3rem;
}

.detail img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  margin-top: 10px;
  margin-left: 500px;
  margin-bottom: 200px;
  transition: all 0.3s ease-out;
}

#contact h2 {
  color: #402e8e;
}

h2 {
  color: #090032;
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

li {
  color: #c1d1d9;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#img1 {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 10%;
  cursor: pointer;
}


@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-item {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .detail {
    margin-left: 0;
    margin-top: 50px;
    text-align: center;
  }
  
  #img {
    margin-right: 0;
    margin-bottom: 50px;
  }
  
  .container {
    justify-content: center;
  }
  
  .servicebox {
    margin-bottom: 30px;
  }
  
  .portfolio-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .detail img {
    margin-left: 0;
  }
}


@media screen and (max-width: 480px) {
  .nav-item a {
    font-size: 14px;
  }
  
  .detail {
    margin-top: 30px;
  }
  
  .detail span {
    font-size: 18px;
  }
  
  .container .servicebox {
    padding: 2rem 1rem 3rem;
  }
  
  .servicebox h3 {
    font-size: 1.6rem;
  }
  
  .servicebox p {
    font-size: 1.2rem;
  }
  
  .portfolio h2 {
    font-size: 2rem;
  }
  
  .portfolio-box .layer h4 {
    font-size: 1.8rem;
  }
  
  .portfolio-box p {
    font-size: 1.4rem;
  }
  
  #contact h2 {
    font-size: 2rem;
  }
  
  li {
    font-size: 1rem;
  }
}


@media screen and (min-width: 1200px) {
  .nav-item {
    margin-right: 30px;
  }
  
  .detail {
    margin-left: 100px;
    max-width: 1000px;
  }
  
  #img {
    margin-right: 50px;
  }
}




#button-jump-scare  {
  background-color: #476fb9; 
  color: #fff; 
  padding: 10px 20px;
  border: none; 
  border-radius: 24px; 
  cursor: pointer; 
  font-size: 16px; 
  margin-left: 100px;
}

#button-jump-scare :hover {
  background-color: #990000; 
}
#jump-scare {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); 
  z-index: 9999; /* Ensure it's on top of everything */
  text-align: center;
}

#gif-image {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
  border: none;
}
