/*Landing Page*/
@media(max-width: 1200px){
#navbar {
    height: 100%;
    width: 50px;
    transition: 1s ease-in-out;
    overflow: hidden;
}
#navbar:hover {
    width: 20%;
    transition: .5s ease-in-out;
    }
#navbar .nav-top img{
    width: 50px;
}
.side-bar .nav-links {
    padding: 1px;
}
body {
    margin: 0 0 0 50px;
}

#profile .container{
    margin: 0; 
    }
.about-cont{
    margin: 0;
}
.project-cont{
    margin: 0;
    padding: 80px 20px 80px 20px;
}
.box-cont{
    margin: 0;
    height: 700px;
}
#footer .container{
    margin: 0;
}
.middle img{
    width:150px
}
/*resizing boxes*/
.box-1{
    left: 10%;
    width: 500px;
}
.box-1 img{
    width: 500px;
}
.box-2{
    width: 500px;
    height: 650px;
}
.box-2 .text-layer{
    height: 600px;
}
.box-2 .text-layer h4{
    font-size: 3rem;
}
.box-2 .text-layer p{
    font-size: 1.1rem;
}
/*website-1*/
#website-1{
    margin: 0 0 0 50px;
}
.website-1-cont{
   margin: 0;
   padding: 0;
   margin-inline: auto;
}
.website-1-cont .video-container video{
    width: 80%;
}
.techtools-cont{
    margin: 0 0 0 50px;
    padding:0 5% 150px 0;
}
#profile .container .header{
    gap: 3rem;
    padding: 3rem;
}
#profile .header .profile-pic,
#profile .header .profile-pic img{
    width: 260px;
    height: 260px;
}
#profile .section-text .main-header-1{ font-size: 2.75rem; }
#profile .section-text .main-header-2{ font-size: 1.5rem; }
#profile .btn{ width: 7.5rem; padding: .85rem; }
#profile .icon{ height: 1.75rem; }
}
@media (max-width: 900px){
#navbar:hover {
    width: 25%;
    transition: .5s ease-in-out;
    }
#profile .container{
    padding: 120px 0;
    min-height: auto;
  }
#profile .container .header{
    flex-direction: row;
    gap: 2.5rem;
    margin-top: -40px;
    width: 70%;
    height: auto;
  }
#profile .header .profile-pic,
#profile .header .profile-pic img{
    width: 150px;
    height: auto;
    align-self: center;
  }
#profile .section-text .main-header{  font-size: 1rem; }
#profile .section-text .main-header-1{ font-size: 2.25rem; }
#profile .section-text .main-header-2{ font-size: 1.25rem; }
#profile .btn-container{
    flex-wrap: wrap;
    gap: .75rem;
  }
#profile .btn{
    width: auto;
    min-width: 8rem;
    padding: .9rem 1.1rem;
    font-size: .95rem;
  }
#profile .socials-container{ gap: .75rem; }
#profile .icon{ height: 1.6rem; }

.hello-world{ flex-direction:column; }
  .about-left{ position:static; width:100px; margin-bottom:1rem; }
  .about-right{ padding-left:0; margin:0; text-align:left; }
    .about-left h4{width: 200px; font-size: 4rem;}
    .about-right p {font-size: 1.7rem;}

.box-cont{
    display: flex;
    justify-content: center;
    align-items: center;      
     min-height: 60vh;
}
.box-1{
  margin-left: 200px;
}
.box-2{
    position: relative;
    margin-inline: 70px;
    justify-content: right;
}
}
@media (max-width:767px){
    #navbar{
      display: none;
      overflow: hidden;
    }
    body {
      margin: 0;
    }
    #mobile-navbar {
        display: block;
        height: 100vh;
        overflow: hidden;
        overflow-y: none;
        width: 100vw;
        margin: 0;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: var(--nav-background);
        font-family: "poppins";
        z-index: 2;
    }
    #mobile-navbar .nav-top {
        align-items: center;
        display: flex;
        width: 100%;
        height: 200px;
        margin-top: 1rem;
    }
    #mobile-navbar .nav-top {
        margin-top: 70px;
        justify-content: center;
    }
    #mobile-navbar .side-bar .nav-links {
        height: auto;
        padding-left: 0;
        margin-top: 0;
        border-bottom: 2px solid black;
    }
    #mobile-navbar .side-bar .nav-links li {
        position: relative;
        text-align: center;
        list-style: none;
        transition: all .4s ease;
        border-top: 2px solid black;
        background: #1f1f1f;
    }
    #mobile-navbar .side-bar .nav-links li:hover {
        background: var(--nav-background-sub);
    }
    #mobile-navbar .side-bar .nav-links li i {
        height: 6vh;
        min-width: 40px;
        padding-left: 2rem;
        line-height: 6vh;
        color: var(--white-color);
        font-size: 2.2rem;
    }
    #mobile-navbar .side-bar .nav-links li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        padding-right: 17%;
        flex-direction: row-reverse;
    } 
    #mobile-navbar .side-bar .nav-links li a .link-name {
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--white-color);
        padding-left: 17%;
    }
    #nav-profile .container {
        margin: 0 20px 0 20px;
        display: grid;
        place-items: center;
        align-content: center;
        width: 89%;
        height: 200px;
        padding-bottom: 80px;
    }
    #nav-profile .container .header {
        display: flex;
        width: 100%;
        height: 200px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        background: var(--nav-background);
        padding: 1rem;
        border-radius: 3rem;
        box-shadow: 2px 2px 25px #fff;
    }
    #nav-profile .container .header:hover{
        transform:none;
    }
    #nav-profile .container .header .profile-pic {
        height: 100px;
        width: 100px;
    }
    #nav-profile .container .header .profile-pic img{
        width: 100px;
        height: 100px;
    }
    #nav-profile .btn {
        font-weight: 600;
        transition: all 300ms ease;
        padding: .5rem;
        width: 5rem;
        border-radius: 2rem;
        font-family: 'poppins';
        font-size: 8px;
        margin-top: 10px;
    }
    #nav-profile .socials-container .icon{
      width: 20px;
      height: 20px;
    }
    #nav-profile .section-text h3{
      font-size: 15px;
    }
    #nav-profile .section-text h1{
      font-size: 20px;
      margin-bottom: 40px;
    }
    #nav-profile .section-text h2{
      font-size: 20px;
      margin-bottom: 0;
    }
    #mobile-nav-call{
      position: fixed;
      right: 0;
      top: 0;
      z-index: 1;
      background: var(--nav-background);
      border-radius: 50%;
      padding: 5px;
      margin: 20px 35px;
      cursor: pointer;
      box-shadow: 0 0 10px #fff;
    }
    #mobile-nav-call:hover{
      color: var(--orange);
      box-shadow: 0 0 10px var(--orange);
    }
    #mobile-nav-call::after{
      display: none;
    }
    #mobile-nav-call i{
      font-size: 40px;
      color: #fff;
    }
    #profile .section-text .main-header{  font-size: 1rem; }
    #profile .section-text .main-header-1{ font-size: 1.5rem; padding-bottom: 20px;}
    #profile .section-text .main-header-2{ font-size: 1.1rem; }
    #profile .btn-container{
        flex-wrap: wrap;
        gap: .75rem;
      }
    #profile .btn{
        width: auto;
        min-width: 4rem;
        padding: .9rem 1.1rem;
        font-size: .65rem;
      }
    #profile .socials-container{ gap: .75rem; }
    #profile .icon{ height: 1.6rem; }
    .hello-world h4{
      width: 135px;
      height: 70px;
      font-size: 30px;
      border: 10px solid var(--orange);
    }
    .box-cont{
      height: auto;
      margin: 20px 5vw 0 10vw;
    }
    .box-1{
        display: none;
    }
    .box-2 .text-layer p{
        font-size: 1.1rem;
        padding-top: 20px;
        line-height: 1.4rem;
    }
    .box-2{
        max-height: auto;
        width: 100%;
        margin: 0;
        background: none;
    }
    .box-2 .text-layer{
        border: 0px solid var(--nav-background-sub);
        background: none;
    }
    .box-2 .text-layer h4{
      margin-bottom: 10px;
      margin-top: 30px;
      text-align: left;
      margin-left: 25px;
      font-size: 30px;
    }
    .box-2 .text-layer .line {
      opacity: 1;
      margin: 0 10px;
    }
    .box-cont{
      margin-left: 10vw;
      width: 100%;
      padding: 0;
    }
}
@media (max-width: 600px){

#profile .container .header{
    padding: 2rem;
    width: auto;
    gap: 5vw;
    box-shadow: 0 0 18px rgba(255,119,0,.6);
  }
#profile .header .profile-pic,
#profile .header .profile-pic img{
    width: 85px;
    height: auto;
  }
#profile .section-text .main-header{  font-size: .85rem; }
#profile .section-text .main-header-1{ font-size: 1.1rem; margin-bottom: 0; padding-bottom: 0;}
#profile .section-text .main-header-2{ font-size: .9rem; margin-top: 0;}
#profile .btn-container{ gap: .6rem; }
#profile .btn{
    width: 3rem;
    font-size: .45rem;
    height: 26px;
    margin: 0;
    padding: 2px;
  }
#profile .socials-container{ gap: .6rem; }
#profile .icon{ height: 1.4rem; }

.project-cont .project-cards{
    display: grid;
}
.project-cont .project-cards .card{
   width: 92%
}
.box-cont{
      margin: 20px 5vw 0 10vw;
}
.box-2 .text-layer p{
        font-size: 1.1rem;
}
    
}
@media (max-width: 475px){
  .about-cont .about-right p{
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
    padding: 0 20px;
  }
  .project-cards .card h4{
    font-size: 1rem;
  }
  .project-cards .card .btn{
    margin: 10px;
    width: 100px;
    height: 30px;
    font-size: .7rem;
    padding: 0;
    margin: 25px 0 15px 20px;
  }
  .about-cont .about-left h4{
    font-size: 1.4rem;
    width: 125px;
    height: 50px;
    padding: 5% 0 5% 12%;
    border: 5px solid var(--orange);
  }
  .project-cards .card-skills span {
    font-size: .6rem;
    margin: 2px 2px;
    padding: 5px;
    border-radius: 7%;
  }
  .box-2 .text-layer p{
        font-size: 1rem;
        font-weight: 600;
    }
  .box-2 .text-layer{
      height:auto;
      width: auto;
      padding: 15px 5px 35px 5px;
    }
  .box-cont{
      margin-left: 10vw;
      width: 100%;
      padding: 0;
    }
  .box-2{
      margin: 0 5px;
      padding: 0;
      width: 100%;
    }
}
@media (hover: none){
  #profile .container .header:hover{
    transform: none;
    box-shadow: 2px 2px 25px #ff7700;
  }
}
@media (prefers-reduced-motion: reduce){
  #profile .container .header,
  #profile .btn{
    transition: none !important;
  }
}
/*Landing Page Close*/

/*footer*/
@media (max-width: 1200px)and (min-width:767px){
  #footer .container{
    margin: 0 0 0 50px;
    width: 100%-50px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
    grid-auto-rows: auto auto;
    gap: 2rem 0.1rem;
    align-items:center;
    padding: 24px 40px 0 0;
    text-align: left;
  }
  
  #footer .socials .profile-pic img{ width: 84px; height: auto; border-radius: 50%;}
  #footer .socials .btn{ min-width: 12rem;}

  #footer .left a{ line-height: 2.2rem; display: inline-block;}
  #footer .right h4{ line-height: 2.2rem; letter-spacing: 0.08em; margin: 0;}

  #footer .contact-row a{ font-size: 48px ; color: aliceblue; }

  #footer .container > *{ min-width: 0; }
}

@media (max-width: 767px){
  #footer .container{
    grid-template-columns:repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    width: 100vw;
    padding: 0 0 20px 0;
    margin: 0;
    overflow: hidden;
    text-align: center;
  }
  #footer .line{
    grid-column: 2;
    grid-row: 2;
    display: block;
    justify-content: center;
    width: 100%; 
    margin: 10px 0 0 0;
  }
  #footer .socials{
    grid-column: 2;
    grid-row: 1;
    width: auto; 
    margin: 10px 0; 
    padding: 0;
  }
  #footer .copyright{
    grid-column: 2;
    grid-row: 3;
    text-align: center;
    font-size: 10px;
  }
  #footer .left{
    grid-column: 1;
    grid-row: 2;
    width: auto;
    text-align: center;
    margin: 0;
    padding-left: 10px;
  }
  #footer .right{
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    width: auto;
    margin: 0; 
    padding: 0;
  }
  #footer .contact-row{
    grid-column: 3;
    grid-row: 2;
    width: auto;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  #footer .socials .btn{
    width: 33%;
  }
  #footer .left a{ line-height: 2rem;}
  #footer .socials .btn{ width: auto; min-width: 12rem;}
  #footer .right h4{line-height: 2rem;}
}
/*footer close*/
/*website-1*/
@media (max-width: 1600px){
  .website-1-cont .desktop{
    width: 500px;
    padding: 0;
  }
  #sneaker-spot .website-1-cont{
    object-fit: contain;
  }
}
@media (max-width: 1350px){
#website-1{margin: 0;}
  .website-1-cont{             
    padding-inline: 6vw;
    overflow: hidden;
  }
  .website-hero p{             
    line-height: 30px;
    padding-bottom: 30px;
  }
  .website-1-cont .website-hero{
    margin: 0 auto 32px;
    text-align: center;
  }
  .website-1-cont .website-hero .video{
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 1rem;
  }
  .website-1-cont .website-hero p{
    max-width: 80ch;
    margin: 12px auto 0;
  }
  .website-1-cont .card-1,
  .website-1-cont .card-2{
    align-items: center;
    gap: 2rem;
    margin: 100px 0;
  }
  .website-1-cont .card-1-text,
  .website-1-cont .card-2-text{
    width: min(560px, 48vw);
    min-width: 0;
  }
  .website-1-cont .card-1-text h3,
  .website-1-cont .card-2-text h3{
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .website-1-cont .card-1-text p,
  .website-1-cont .card-2-text p{
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  }
  .website-1-cont .iphone{
    width: clamp(220px, 27vw, 260px);
    aspect-ratio: 9/19.5;
    margin: 28px;
    place-items: center;
  }
  .website-1-cont .iphone video{
    width: 100%; height: 100%; object-fit: cover; border-radius: 2rem;
  }
  .website-1-cont .desktop{
    width: 300px;
  }
  .website-1-cont .card-2-text{ margin-right: 0; }
}

@media (max-width: 900px){
  .website-1-cont{ padding-inline: 5vw; }
  .website-1-cont .website-hero .video{width: 80%;}
  .website-1-cont .website-hero p{padding: 10px 40px;}
  .website-1-cont .card-1,
  .website-1-cont .card-2{
    gap: 1.5rem;
    margin: 80px 0;
  }
  .website-1-cont .card-1-text,
  .website-1-cont .card-2-text{
    width: min(520px, 52vw);
  }
  .website-1-cont .card-1-text h3,
  .website-1-cont .card-2-text h3{
    font-size: clamp(2rem, 5vw, 2.4rem);
  }
  .website-1-cont .card-1-text p,
  .website-1-cont .card-2-text p{
    font-size: clamp(1rem, 2.2vw, 1.15rem);
  }
  .website-1-cont .iphone{
    width: 240px;
    margin: 18px;
  }
  .website-1-cont .desktop{
    width: 240px;
    margin: 18px;
  }
}

@media (max-width: 750px){
  .website-1-cont{ padding-inline: 6vw; }
    .website-1-cont .website-hero .video{width: 100%;}
  .website-1-cont .card-1,
  .website-1-cont .card-2{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    gap: 1.25rem;
    margin: 64px 0;
  }

  .website-1-cont .card-2 .card-2-text{ order: 1; }
  .website-1-cont .card-1-text,
  .website-1-cont .card-2-text{
    width: 100%;
    max-width: 70ch;
    margin: 0 auto;
  }
  .website-1-cont .card-1-text h3,
  .website-1-cont .card-2-text h3{
    text-align: center !important;
    text-indent: 0 !important;
    font-size: clamp(1.7rem, 6vw, 2.1rem);
    margin-bottom: 0;
  }
  .website-1-cont .card-1-text p,
  .website-1-cont .card-2-text p{
    text-align: justify !important;
    font-size: clamp(1rem, 3.2vw, 1.15rem);
    margin-inline: auto;
  }

  .website-1-cont .iphone{
    margin: 14px auto 6px;
  }
  .website-1-cont .iphone video{ aspect-ratio: 9/19.5; }
  .website-1-cont .btn{ display: inline-block; margin-inline: auto; }
}
@media (max-width: 600px){
  .website-1-cont{ padding-inline: 4.5vw; }

  .website-1-cont .card-1,
  .website-1-cont .card-2{ margin: 52px 0; gap: 1rem; }

  
  .website-1-cont .card-1-text p,
  .website-1-cont .card-2-text p{
    max-width: 68ch;
    font-size: clamp(.98rem, 3.6vw, 1.1rem);
  }
}
@media (max-width: 500px){
  .website-1-cont{ padding-inline: 4vw; }

  .website-1-cont .card-1,
  .website-1-cont .card-2{ margin: 44px 0; }
  .website-1-cont .card-1-text h3,
  .website-1-cont .card-2-text h3{
    font-size: clamp(1.5rem, 7vw, 1.8rem);
  }
  .website-1-cont .card-1-text p,
  .website-1-cont .card-2-text p{
    max-width: 64ch;
  }
}
/*website-1 close*/
/*education open*/
@media (max-width: 1200px){
  #education .container {
    margin: 0 50px 80px 50px;
    text-align: center;
}
#education .school-card {
    height: 450px;
    padding-bottom: 150px;
}
.school-card img {
    width: 80vw;
    height: 450px;
    border-radius: 2em / 2em;
}
#education .container h1{
  font-size: 9vw;
  letter-spacing: .2rem;
}
#education h2 {
    margin: 20px 0 20px 0;
}
}
@media (max-width: 750px){
  #education{
    margin: 0;
  }
  #education .container {
    margin: 0 10px 0 10px;
    text-align: center;
    padding-bottom: 50px;
}
#education .container h1{
  font-size: 7vw;
  letter-spacing: .5rem;
}
#education .school-card {
    height: 250px;
    padding-bottom: 150px;
    
}
.school-card img {
    width: 90vw;
    height: 250px;
  
}
#education h2 {
    margin: 20px 0 20px 0;
}
}
@media (max-width: 600px){
  #education .container {
    margin: 0 0 40px 0;
    text-align: center;
    padding-bottom: 60px;
}
#education .container h1{
  font-size: 7vw;
  letter-spacing: .2rem;
}
#education .school-card {
    height: 150px;
    padding-bottom: 170px;
}
.school-card img {
    width: 90vw;
    height: 180px;
}
#education h2 {
    margin: 0 20px 0 20px;
}
}
/*education close*/
/*contact open*/
@media (max-width: 1200px){
#contacts .container {
    margin: 0 0 0 50px;
}
.contact-right img {
    width: 500px;
}
}
@media (max-width: 1000px){
  #contacts .container {
    margin: 0;
}
.contact-right img {
    width: 300px;
}
}
@media (max-width: 750px){
  #contacts {
    padding-top: 20px;
  }
  .contact-right{
    display: none;
  }
  #contacts .container{
    margin: 0 10px;
  }
  #contacts .container h2{
    margin: 0 20px;
    font-size: 4rem;
    letter-spacing: .3rem;
  }
  #contacts .container hr {
    margin: 0 20px;
  }
  #contacts .contact-container .contact-left-title h2{
    font-size: 3rem;
    letter-spacing: .3rem;
  }
  #contacts form {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .contact-left button{
    align-self: center;
  }
  .contact-inputs{
    width: 100%;
  }
}
@media (max-width: 560px){
  
  #contacts .container h2{
    font-size: 3rem;
    letter-spacing: .3rem;
  }
  #contacts .contact-container .contact-left-title h2{
    font-size: 2rem;
    letter-spacing: .2rem;
  }
  .contact-inputs{
    width: 100%;
  }
}
/*contact close*/