:root{
    --black-color: rgb(51, 51, 51);
    --white-color: #fff;
    --nav-background: #1a1a1a;
    --nav-background-sub: #8e8e8e;
    --page-1: rgba(13, 18, 40, 0.803); 
    --blue: blue;
    --orange: rgb(255, 108, 29);
    --yellow: yellow;
}
body{
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
}
/*Background Design*/
.curve {
    position: absolute;
    height: 225px;
    width: 100%;
    bottom: 0;
}
.curve::before {
    content:'';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    background-color: var(--nav-background);
    transform: translate(85%, 60%);
    z-index: -1;
}
.curve::after {
    content:'';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    background-color: var(--nav-background-sub);
    transform: translate(-4%, 40%);
    z-index: -2;
}

/*Nav-bar*/
#mobile-navbar {
    display:none;
}
#navbar {
    height: 100%;
    width: 14%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--nav-background);
    font-family: "poppins";
    z-index: 1;
}
#navbar .nav-top {
    align-items: center;
    display: flex;
    height: 60px;
    width: 100%;
    margin-top: 4rem;
    justify-content: center;
}
#navbar .nav-top img{
    width: 200px;
    align-self: center;
}
#navbar .side-bar .nav-links {
    height: 100%;
    padding-top: 70px;
    padding-left: 0;
}
#navbar .side-bar .nav-links li {
    position: relative;
    list-style: none;
    transition: all .4s ease;
}
#navbar .side-bar .nav-links li:hover {
    background: var(--nav-background-sub);
}
#navbar .side-bar .nav-links li .icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#navbar .side-bar .nav-links li i {
    height: 7vh;
    min-width: 40px;
    padding-left: 1rem;
    line-height: 7vh;
    color: var(--white-color);
    font-size: 1.2rem;
}
#navbar .side-bar .nav-links li a {
    display: flex;
    align-items: center;
    text-decoration: none;
} 
#navbar .side-bar .nav-links li a .link-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white-color);
}
#navbar .side-bar .nav-links li .sub-menu {
    padding: 6px 6px 14px 80px;
    margin-top: -10px;
    background:var(--nav-background-sub);
}
#navbar .side-bar .nav-links li .sub-menu a {
    color: var(--white-color);
    font-size: .9rem;
    padding: 5px 0;
    white-space: nowrap;
    opacity: .6;
    transition: all .3s ease;
}
#navbar .side-bar .nav-links li .sub-menu a:hover {
    opacity: 1;
}
#navbar .side-bar.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    transition: all .4s ease;
    opacity: 0;
    pointer-events: none;
}
#navbar .side-bar.close .nav-links li:hover .sub-menu {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}
#navbar .side-bar .nav-links li .sub-menu .link-name {
    display: none;
}
#navbar .side-bar.close .nav-links li .sub-menu .link-name {
    font-size: 1.1rem;
    opacity: 1;
    display: block;
}
#navbar .side-bar.close .nav-links li:hover .sub-menu {
    top: 0;
}
/*Nav-bar Close*/
/*Pages*/
#pages {
    height: 100vh;
    box-sizing: border-box;
    min-height: fit-content;
    position: relative;
}
.hidden-1 {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}
.hidden-2 {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(100%);
    transition: all 1s;
}
.fade {
    opacity: 0;
    filter: blur(5px);
    transition: all 1s;
}
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}
.line{
    border-top: 2px dashed var(--orange);
}
.fixed-position {
    position: fixed;
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}
/*Pages Close*/
/*About Me*/
#about-me {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/*Profile*/
#profile .container {
    margin: 0 0 0 14%;
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
    z-index: -11;
    padding-bottom: 30px;
}
#profile .container .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    background: var(--nav-background);
    padding: 4rem;
    border-radius: 3rem;
    margin-top: -100px;
    opacity: 1;
    transition: opacity 0.1s linear;
    box-shadow: 2px 2px 25px #fff;
}
#profile .container .header:hover{
    box-shadow: 2px 2px 25px var(--orange);
    transform:scale(101%) ;
}
.container .header .profile-pic {
    display: flex;
    height: 300px;
    width: 300px;
    margin: auto 0;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
}
.container .header .profile-pic img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
.container .section-text {
    align-self: center;
    text-align: center;
}
.container .btn-container {
    align-self: center;
}
.container .socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}
.container .socials-container img {
    background-color: white;
    border-radius: 50%;
    padding: 2px;
}
.icon {
    cursor: pointer;
    height: 2rem;
}
.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
    font-family: 'poppins';
}
.btn-color-1,
.btn-color-2 {
    border:.1rem solid rgb(53, 53, 53);
}
.btn-color-1:hover,
.btn-color-2:hover {
    cursor: pointer;
} 
.btn-color-1,
.btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: var(--white-color);
}
.btn-color-1:hover {
    background: var(--nav-background);
    border: 1px solid var(--nav-background-sub);
}
.btn-color-2 {
    background: var(--white-color);
}
.btn-color-2:hover {
    border:.1rem solid rgb(255, 255, 255);
}
.btn-container {
    gap: 1rem;
}
/*Profile Close*/
/*spinning img*/
.banner {
    width:85%;
    height: 70vh;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-left: 200px;
}
.banner .slider {
    position: absolute;
    width: 200px;
    height: 250px;
    top: 25%;
    left: calc(50% - 50px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 30s linear infinite;
}
@keyframes autoRun {
    from{
        transform: perspective(1000px) rotateX(-10deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-10deg) rotateY(360deg);
    }
}
.banner .slider .item {
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) *(360 / var(--quantity)) * 1deg))
        translateZ(250px);
}
.banner .slider .item img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}
/*hello world*/
.about-cont{
    margin: 0 0 0 14%;
    padding-bottom: 150px;
    overflow: hidden;
}
.hello-world{
    display: flex;
    flex-wrap: wrap;
    padding: 0 5%;
}
.about-left{
    width: 300px;
    text-align: center;
}
.about-right p{
    padding-top: 15px;
    padding-left: 20%;
    margin: 0;
    text-align:justify;
}
.about-left h4{
    border: 20px solid var(--orange);
    padding:10px;
    margin-bottom: 0;
    width: 300px;
}
/*feature designs*/
.project-cont{
    margin: 0 0 0 14%;
    padding: 150px
}
.project-cont h4{
    margin-left: 25px;
}
.project-cont .line{
    margin: 0 20px;
}
.project-cards{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
.project-cards .card{
    margin: 40px 15px;
    width: 100%;
    background: var(--nav-background);
    color: #fff;
    border: 1px solid transparent;
}
.project-cards .card:hover{
    transform: translateY(-3px);
    transition: .5s;
    border: 1px solid var(--orange);
}
.project-cards .card img{
    width: 100%;
}
.project-cards .card h4{
    margin-left: 30px;
}
.project-cards .card-skills{
    margin-left: 20px;
    display: flex;
    flex-wrap: wrap;
}
.project-cards .card-skills span{
    background: var(--black-color);
    margin: 5px 5px;
    padding: 10px;
    border-radius: 7%;
    font-family: "Poppins";
    border: 1px solid transparent;
}
.project-cards .card-skills span:hover{
    transition: 1s;
    background: var(--nav-background);
    border: 1px solid var(--nav-background-sub);
    cursor:default;
}
.project-cards .card .btn{
    margin: 30px;
}
/*my drive*/
.box-cont{
    margin: 0 0 0 14%;
    height: 1000px;
    width: auto;
}
.box-1{
    position: absolute;
    left: 20%;
    background: var(--nav-background-sub);
    border-radius: 5em;
    box-shadow: 2px 2px 50px #ffffff;
}
.box-1 img{
    width: 1000px;
    padding: 5px;
    border-radius: 5em;
}
.box-2{
    width: 800px;
    height: max-content;
    right: 10%;
    margin-top: 100px;
    position: absolute;
    background: var(--nav-background-sub);
    border-radius: 5em;
    padding: 5px;
    opacity: .9;
}
.box-2 .text-layer{
    border-radius: 5em;
    height: 750px;
    padding: 25px;
    background: var(--nav-background);
}
.box-2 .text-layer h4{
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: center;
}
.box-2 .text-layer p{
    padding: 0 10px;
    font-size: 1.6rem;
    text-align: justify;
}
.box-2 .text-layer .line {
      opacity: 0;
    }
/*tech and tools*/
.techtools-cont{
    margin: 0 0 0 14%;
    padding:0 14% 150px 14%;
}
.techtools{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    color: #fff;
}
.techtools span{
    background: var(--nav-background);
    margin: 5px 5px;
    padding: 10px;
    border-radius: 7%;
    font-family: "Poppins";
    border: 1px solid transparent;
    font-weight: 500;
}
.techtools span:hover{
    transition: .5s;
    background: var(--nav-background-sub);
    border: 1px solid var(--nav-background);
    color: var(--nav-background);
    cursor: default;
}
/*Footer*/
#footer{
    background: var(--nav-background);
    margin: 0;
    padding: 0;
    box-shadow: 0 -50px 100px rgb(143, 143, 143);
}
#footer .line{
    display: none;
  }
#footer .container{
  margin: 0 0 0 14%;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  grid-auto-rows: auto auto;
  gap: 2rem 1.5rem;
  width: auto;
  padding: 20px 30px 0 5%;
  color: var(--nav-background-sub);
  text-align: right;
}
#footer .socials{ grid-column: 1; grid-row: 1; text-align: center;}
#footer .contact-row{ grid-column: 5; grid-row: 1; text-align: left; gap: 1rem;}
#footer .left{ grid-column: 3; grid-row: 1; text-align: left;}
#footer .right{ grid-column: 3; grid-row: 1; text-align: right; gap: 0 0 20px 0;}
#footer .copyright{ grid-column: 3; grid-row: 2; text-align: center;}
#footer .copyright br{display: none;}

#footer .socials .profile-pic img{ width: 100px; height: auto; border-radius: 50%;}
#footer .socials .btn{ display:inline-block;}
#footer .right{ text-align: left; padding-left: 70%;}
.left h3{
    font-family: 'Poppins';
    line-height: 3rem;
    color: var(--orange);
}
.left a{
    font-family: 'Poppins';
    line-height: 4rem;
    color: var(--nav-background-sub);
    text-decoration: none;
}
.left a:hover{
    color: var(--orange);
    cursor: pointer;
}
.right h4{
    font-family: 'Poppins';
    line-height: 3rem;
}
#footer .copyright{
    grid-template-columns: 2 / -1;
    text-align: center;
    font-size: 10px;
  }
/*Website*/
.website-1-cont {
    display: grid;
    margin:0 0 0 14%;
    padding: 0 4%;
    justify-content: center;
}
.website-1-cont .website-hero {
    padding-bottom: 30px;
    text-align: right;
    margin: 0 100px;
}
.website-1-cont .website-hero video {
    width: 100%;
    margin-top: 45px;
    border-radius: 1rem;
    border: 2px solid #1a1a1a;
}
.website-1-cont .website-hero p{
    text-align: center;
}
.website-1-cont .iphone{
    width: 240px;
    height: 460px;
    margin: 50px;
    align-content: center;
}
.website-1-cont .iphone video{
    width: 240px;
    height: 460px;
    object-fit: cover;
    border-radius: 2em;
}
.website-1-cont .card-1 {
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin: 150px 0;
}
.website-1-cont .card-1-text {
    width: 600px;
}
.website-1-cont .card-1-text h3 {
    text-align: right;
    font-size: 4rem;
    margin-bottom: 0;
}
.website-1-cont .card-1-text p {
    text-align: justify;
    font-style: italic;
    font-family: "poppins";
    font-size: 1.5rem;
}
.website-1-cont .card-2 {
    padding: 20px;
    display:flex;
    justify-content: space-around;
    margin: 150px 0;
}
.website-1-cont .card-2-text {
    width: 600px;
    margin-right: 200px;
}
.website-1-cont .card-2-text h3 {
    text-align: left;
    font-size: 2rem;
    width: 100%;
    margin-bottom: 0;
}
.website-1-cont .card-2-text p {
    text-align: justify;
    font-style: italic;
    font-family: "poppins";
    font-size: 1.5rem;
}
/*Website-2*/
#sneaker-spot .website-1-cont .website-hero .video{
    border: 2px solid #1a1a1a;
}
.desktop{
    width: 600px;
    margin: 80px 40px 0 0px;
}
.desktop video{
    width:100%;
    object-fit: cover;
    border-radius: 2rem;
}
/*Education*/
#education {
    min-height: 100%;
    overflow: hidden;
}
#education .container {
    margin: 0 0 0 14%;
    text-align: center;
}
#education .container h1{
    padding-top: 50px;
    text-shadow: 0 0 100px #1a1a1a;
}
#education .school-card-cont {
    justify-content: center;
}
#education .school-card {
    height: 450px;
    width: auto;
    margin: 0 20px auto 20px;
    padding-bottom: 150px;
}
#education .container h2{
    color: #fff;
}
#education .container h3{
    color: #fff;
}
.school-card img {
    width: 75vw;
    height: 450px;
    border-radius: 2em / 2em;
}
#education h2 {
    margin: -20px 0 20px 0;
}
/*Web exercises*/
#web-exercises {
    height: 100%;
}
#web-exercises .container {
    margin: 0 0 0 14%;
    text-align: center;
    padding-top: 40px;
}
#tin-dog .info-box-3 {
    display: flex;
    text-align: center;
    margin-top: 200px;
    padding-left: 200px;
}
#tin-dog .info-box-3 .web-text{
    padding-left: 30%;
}
#tin-dog .info-box-3 h3 {
    padding-top: 35%;
}
#tin-dog .info-box-3 p {
    margin-bottom: 40px;
}
/*photography*/
#photography {
    min-height: 100vh;
}
#photography .photo-container {
    padding-top: 40px;
    text-align: center;
    margin: 0 0 0 14%;
    padding-bottom: 0;
}

.photo-container .picture-book {
    min-height: 72vh;
    align-items: center;
    justify-content: center;
    display: flex;
}
.picture-book .photos {
    --size: 100px;
    display: grid;
    grid-template-columns: repeat(14, var(--size));
    grid-auto-rows: var(--size);
    gap: 5px;
    place-items: start center;
    margin-bottom: var(--size);
    padding: 50px 50px 50px 50px;
}
.picture-book .photos img{
    width: calc(var(--size) * 2);
    height: calc(var(--size) * 2);
    object-fit: cover;
    grid-column: auto / span 2;
    border-radius: 5px;
    clip-path: path("M90,10 C100,0 100,0 110,10 190,90 190,90 190,90 200,100 200,100 190,110 190,110 110,190 110,190 100,200 100,200 90,190 90,190 10,110 10,110 0,100 0,100 10,90Z");
    transition: clip-path 0.25s, filter 0.75s;
}
.picture-book .photos img:nth-child(13n - 5) { 
    grid-column: 2 / span 2;
}
.picture-book .photos:has(img:hover) img:not(:hover) {
    filter: brightness(0.7) contrast(0.6);
}
.picture-book .photos img:hover {
    clip-path: path("M0,0 C0,0 200,0 200,0 200,0 200,100 200,100 200,100 200,200 200,200 200,200 100,200 100,200 100,200 100,200 0,200 0,200 0,100 0,100 0,100 0,100 0,100Z");
    transition: clip-path 0.25s, filter 0.25s;
    z-index: 1;
}
.picture-book .photos a:focus {
    outline: 1px dashed black;
    outline-offset: -5px;
}
/*Artwork*/
#artwork {
    height: 100%;
    min-height: 100vh;
}
#artwork .container {
    margin: 0 0 0 14%;
    text-align: center;
}
/*Artwork Close*/

/*Video Editing*/
#video-editing {
    height: 100%;
    min-height: 100vh;
}
#video-editing .container {
    text-align: center;
}
/*Video Editing Close*/

/*Contacts*/
#contacts {
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}
#contacts .container {
    text-align: center;
    margin: 0 0 0 14%;
    padding-top: 40px;
    padding-bottom: 50px;
}
#contact-form {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.contact-container {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding-left: 20px;
}
.contact-left-title hr {
    border: none;
    width: 200px;
    height: 5px;
    margin-left:0;
    background-color: var(--orange);
    border-radius: 10px;
    margin-bottom: 20px;
}
.contact-inputs {
    box-sizing: border-box;
    border: 2px solid transparent;
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: var(--nav-background);
    border-radius: 50px;
}
.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}
.contact-inputs:focus {
    border: 2px solid var(--orange);
}
.contact-inputs::placeholder {
    color:var(--nav-background-sub)
}
.contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: var(--white-color);
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg,var(--orange),var(--purple));
    cursor: pointer;
}
.contact-right img {
    width: 700px;
}
/*Contacts Close*/