body{
    background-color: #002e45;
}

.port_header{
    font-family: "Tiny5", sans-serif;
    font-weight: lighter;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    color: #837601;
    text-align: center;
}

.para{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 30rem;
    height: 40rem;
    position: relative;
    left: 3rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 5px 10px #888888;
}

.para p{
    text-align: center;
    font-family: "Tiny5", sans-serif;
    color: #837601;
    width: 30rem;
}

.parag a{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    font-family: "Tiny5", sans-serif;
    color: #837601;
    position: relative;
    bottom: 3rem;
}





.mid{
    display: flex;
    flex-direction: row;
    gap: 25rem;
}



.right_side {
    /* this is now just a flex container, no white box */
    display: flex;
    flex-direction: column;
    gap: 10rem;
    position: relative;
    top: 1rem;
    font-family: "Tiny5", sans-serif;
    color: #837601;
}

/* shared card style for both boxes */
.skills,
.currently {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;          /* set the card width here */
    box-sizing: border-box;
    box-shadow: 5px 10px #888888;
}

/* keep list styling */
.right_side ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.right_side h3 {
    text-align: center;
}

@media (max-width: 1000px) {

 body {
    background-color: #002e45;
    background-image: none;
    }

  

  .mid {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1rem 4rem;
    align-items: center;
    justify-content: flex-start;
  }

  .para{
    font-size: small;
    width: 15rem;
    height: auto;
    box-shadow: 5px 10px #888888;
  }

  .para p{
    width: 15rem;
    text-align: center;
  }

  .parag{
    position: relative;
    right: 3rem;

  }

  .parag a{
    position: relative;
    
  }

  .port_header{
    position: relative;
    
  }

  .skills{
    font-size: small;
    width: 18rem;
    height: auto;
    position: relative;
   box-shadow: 5px 10px #888888;
  }

   .currently{
    font-size: small;
    width: 18rem;
    height: auto;
    position: relative;
    bottom: 7rem;
    box-shadow: 5px 10px #888888;
  }


}


@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: portrait)  {
  body {
    background-color: #002e45;
    background-image: none;
    }

  

  .mid {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1rem 4rem;
    align-items: center;
    justify-content: flex-start;
  }

  .para{
    font-size: small;
    width: 15rem;
    height: auto;
    box-shadow: 5px 10px #888888;
  }

  .para p{
    width: 15rem;
    text-align: center;
  }

  .parag{
    position: relative;
    right: 3rem;

  }

  .parag a{
    position: relative;
    
  }

  .port_header{
    position: relative;
    
  }

  .skills{
    font-size: small;
    width: 18rem;
    height: auto;
    position: relative;
   box-shadow: 5px 10px #888888;
  }

   .currently{
    font-size: small;
    width: 18rem;
    height: auto;
    position: relative;
    bottom: 7rem;
    box-shadow: 5px 10px #888888;
  }

}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: landscape)  {
  body{
    background-color: #002e45;
}

.port_header{
    font-family: "Tiny5", sans-serif;
    font-weight: lighter;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    color: #837601;
    text-align: center;
}

.para{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 30rem;
    height: 40rem;
    position: relative;
    left: 3rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 5px 10px #888888;
}

.para p{
    text-align: center;
    font-family: "Tiny5", sans-serif;
    color: #837601;
    width: 30rem;
}

.parag a{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    font-family: "Tiny5", sans-serif;
    color: #837601;
    position: relative;
    bottom: 3rem;
}





.mid{
    display: flex;
    flex-direction: row;
    gap: 20rem;
}



.right_side {
    /* this is now just a flex container, no white box */
    display: flex;
    flex-direction: column;
    gap: 10rem;
    position: relative;
    top: 1rem;
    font-family: "Tiny5", sans-serif;
    color: #837601;
}

/* shared card style for both boxes */
.skills,
.currently {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    width: 28rem;          /* set the card width here */
    box-sizing: border-box;
    box-shadow: 5px 10px #888888;
}

/* keep list styling */
.right_side ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.right_side h3 {
    text-align: center;
}
}

/* ===== iPAD PORTRAIT / TABLET PORTRAIT (768px–1024px) ===== */





/* ===== BIG MONITORS (>= 1400px) ===== */
@media (min-width: 1400px) {

  .port_header{
    margin-top: 2rem;
    font-size: 2.8rem;
  }

  .mid{
    width: min(1200px, 100% - 6rem);  /* centered content block */
    margin: 3rem auto 4rem;
    gap: 20rem;                       /* smaller than 25rem */
    align-items: flex-start;
  }

  .parag{
    top: 3rem;
    margin: 0 auto;
  transform: translateX(-300px);                          /* no manual shifting */
  }

  .para{
    width: 32rem;                     /* slightly wider text card */
    height: auto;                     /* avoid hard 40rem lock */
    left: 0;
  }

  .para p{
    width: 100%;
  }

  .right_side{
    top: 0;
    gap: 6rem;
  }

  .skills,
  .currently{
    width: 26rem;
  }
}
