/* navbar */
* {
    box-sizing: border-box;
    font-size: 16px;
    top: 0;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: poppin;
    src: url(../Poppins/Poppins-Bold.ttf);
}

.container {
    display: flex;
    justify-content: space-between;
    background-color: white;
    position: fixed;
    z-index: 999;
    overflow: hidden;
    width: 100%;
}

.heading h3 {
    font-weight: 500%;
    padding: 8px 4px;
    font-size: 32px;
    padding-left: 60px;
    font-weight: bolder;
}

.navbar {
    font-weight: 500%;
    width: 50%;
}

.fix {
    color: white;
    background-color: black;
    font-size: 16px;
    font-weight: bolder;
    /* padding: 16px 22px; */
}

.list {
    display: flex;
    justify-content: flex-start;
    width: 50%;
    /* padding: 16px 22px; */
}

ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: black;
    color: #fff;
    z-index: -1;
    transition: transform 0.5s;
}

ul li a:hover::after {
    transform: scaleX(1);
}

ul li a:hover {
    color: #fff;
    padding: 12px 16px;
    background-color: #000;
    font-weight: 500%;
    list-style-type: none;
}

ul li {
    list-style-type: none;
    font-size: 16px;
}

ul li a {
    float: left;
    width: 100px;
    height: 50px;
    text-decoration: none;
    color: #000;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    transition: all 500ms;
    position: relative;
    z-index: 1;
}

header nav a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: right;
    background: black;
    color: #fff;
    z-index: -1;
    transition: transform 1s;
}


/* main */
.main {
    background-color: rgb(250, 248, 250);
    align-items: center;
    display: flex;
    width: 90%;
    height: 80%;
    position: relative;
    margin: 7px;
    margin-left: 60px;
}

.left img {
    width: 480px;
    height: 520px;
    object-fit: cover;
    position: fixed;
    z-index: 999;
    top: 54px;
}

.right {
    display: flex;
    float: right;
    /* position: absolute; */
    left: 600px;
    flex-direction: column;
    left: 800px;
    width: 100%;
    padding-top: 58px;
    margin-top: 58px;
    padding-left: 500px;
    margin-left: 8px;
    margin-bottom: 90px;
    height: auto;
    overflow: hidden;
    transform: translateY(5%);
    animation: slide-up 1.5s ease-in-out forwards;
}
@keyframes slide-up {
    0%{
        opacity: 0;
        transform: translateY(5%);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

.create {
    padding: 3px;
    margin-top: 45px;
}

.create h1 {
    font-size: 20px;
    letter-spacing: 8px;
    position: relative;
}

.create h1::after {
    position: absolute;
    content: "";
    width: 280px;
    height: 1px;
    left: 10%;
    top: 42%;
    background-color: #7d7789;
    transform: translateX(-50%);
    margin-left: 445px;
}

.portfolios {
    display: flex;
    flex-direction: row;
    padding: 8px;
    margin-top: 18px;
    margin-left: -18px;
}

.portfolios a {
    padding: 8px;
    margin: 4px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bolder;
    color: black;
}

.portfolio {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    display: inline-block;
    width: 250px;
    height: auto;
    padding: 10px;
    margin: 10px;
    left: 500px;
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 10px;
    margin-left: -95px;
  }
  
  .portfolio-item {
    width: 300px;
    text-align: center;
    margin: 0 10px;
    margin-bottom: 20px;
    padding: 0px 28px;
  }
  .portfolio-item {
    position: relative;
    display: inline-block;
  }
  
  .portfolio-item .image-text {
    position: absolute;
    display: block;
    bottom: 16px;
    left: 38px;
    top: 80%;
    width: 95%;
    background-color: rgb(253, 252, 252);
    color: #0a0a0a;
    opacity: 0;
    text-align: left;
    font-weight: bolder;
    padding: 10px;
    margin: 5px;
    transform: translateY( -50%);
    opacity: 0;
    /* animation: slides-up 1.5s ease-in-out forwards; */
    transition: opacity 0.2s ease-in-out ;
  }

  .image-text span{
    font-size: 12px;
  }

  @keyframes slide-upHover {
    0% {
      opacity: 0;
      transform: translateY(50%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .portfolio-item img {
    /* max-width: 100%; */
    width: 310px;
    height: 390px;
    object-fit: cover;
  }
.portfolio-item .image-text:hover{
    opacity: 1;
}
  .portfolio-item .image-text:hover{
    animation: slide-upHover 0.5s ease-in-out forwards;
    transition: opacity 0.2s ease-in-out 
    /* opacity: 1; */
  }
  
  .portfolio-item h3 {
    margin-bottom: 10px;
  }
  
  .portfolio-item p {
    color: #888;
  }

/* footer */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 1px;
    padding-right: 60px;
    position: fixed;
    padding-top: 7px;
    background-color: white;
    z-index: 999;
    bottom: 0;
    top: 92%;
    /* margin-top: 900px; */
    width: 100%;
    height: 20%;
}

.social-icons {
    width: 25px;
    height: auto;
    display: flex;
    padding-top: 7px;
    width: 15%;
}

i {
    padding-right: 12px;
    color: black;
}