/* responsivenesss */

/* ========== Age Timer Responsiveness Start ========== */

@media only screen and (max-width: 700px) {
  .age {
    margin: 0.5rem;
    padding: 0.5rem;
    height: 5rem;
    width: fit-content;
    /* display: flex; */
  }
  .age .a-box {
    height: 4.5rem;
    width: 3rem;
    background-color: transparent;
  }

  .age .a-box .a-in-box {
    height: 3rem;
    width: 3rem;
    background-color: transparent;
    border: 1.5px dashed var(--main-color);
  }
  .age .a-box .a-in-box p {
    font-size: 2rem;
  }
  .age .a-box > p {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: var(--main-color);
  }
}

@media only screen and (max-width: 700px) {
  .contact-content {
    flex-direction: column;
    margin: 0.5rem;
  }
  .contact .contact-content .column {
    width: 90%;
  }
}

@media only screen and (max-width: 500px) {
  .age-section {
    height: 4.5rem;
    overflow: hidden;
  }
  .age-container {
    height: 4.5rem;
  }
  .age {
    /* margin: 1rem; */
    padding: 0 0.5rem;
    padding-bottom: 0;
    height: 5rem;
    width: max-content;
    display: flex;
    transform: scale(0.8);
  }
  .age .a-box {
    height: 3rem;
    width: 2rem;
    padding: 0.1rem;
    margin: 0.5rem;
  }

  .age .a-box .a-in-box {
    height: 2rem;
    width: 2rem;
    padding: 0.1rem;
    margin-bottom: 0.1rem;
  }
  .age .a-box .a-in-box p {
    font-size: 1.5rem;
  }
  .age .a-box > p {
    font-size: 0.75rem;
  }
}

/* ========== Age Timer Responsiveness END ========== */

/* ======== Home section responiveness starts ================ */
@media only screen and (max-width: 950px) {
  
  #leetcode-card{
    margin-top: 4rem;
   
  }
  #leetcode-card:hover{
    transform: scale(0.95);
    filter: drop-shadow(8px 8px 8px var(--main-color));
  }
}

@media only screen and (max-width: 1450px){
  .home .home-content .text-1,
  .home .home-content .text-3{
    font-size: 1.5rem;
  }
  .home .home-content .text-2{
    font-size: 3rem;
  }
  .home .home-content a
  {
    height: 1.5rem;
  width: 1.5rem;
  font-size: 1.75rem;
  }
  #leetcode-card img{
    width: 24rem;
  }
}

@media only screen and (max-width: 1150px){
  .home .home-content .text-1,
  .home .home-content .text-3{
    font-size: 1.25rem;
  }
  .home .home-content .text-2{
    font-size: 2.5rem;
  }
  .home .home-content a
  {
    height: 1rem;
    width: 1rem;
    font-size: 1.5rem;
    }
  #leetcode-card img{
    width: 20rem;
  }
}
/* ======== Home section responiveness ends ================ */


/* ========== About Section Responsivenesss Start ========== */

@media only screen and (max-width: 1050px) {
  
  .home-content {
    padding: 0;
    margin: -10px;
  }
  .about .about-content {
    flex-direction: column;
  }
  .about .about-content .left {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about .about-content .left img {
    width: 50%;
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .about .about-content .right p {
    font-size: 1rem;
    /* font-weight: 400; */
  }
  .about .about-content .right .text {
    font-size: 1.25rem;
    text-align: start;
  }
  .about .about-content .right .text p {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
  }
  .about .about-content .right a {
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
  }
  .certificate-section-banner h2 {
    /* color: red; */
  }
  .frame {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  .category {
    width: 35%;
    font-size: 2.5rem;
  }
  .preview {
    width: 60%;
  }
  .view-cer {
    width: 40%;
  }
}

@media only screen and (max-width: 750px) {
  .preview {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .view-cer {
    width: 90%;
  }
}

/* ========== About Section Responsivenesss END ========== */

/* ========== Mobile Menu Responsivenesss Start ========== */

@media only screen and (max-width: 900px) {
  .sm-icons {
    display: none;
  }

  .skills .skills-group {
    margin-right: 1rem;
  }

  .education .education-content {
    margin-right: 0.5rem;
  }
  .section-banner {
    background-color: var(--main-color);
    height: 3.5rem;
    color: var(--secondry-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 0 0 1rem 1rem;
    z-index: 3;
  }

  .mobile-name-banner {
    margin-left: 1%;
    display: inline-block;
    width: 98%;
    text-align: center;
    position: absolute;
    top: 5px;
    /* background: var(--bg-noise-img); */
    background-color: var(--secondry-bg-color);
    color: var(--home-color);
    font-size: 10px;
    z-index: 2;
    filter: drop-shadow(1px 1px 10px var(--nav-color));
    border-radius: 2rem;
  }
  .mobile-name-banner h1 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: -0.75rem;
    color: var(--main-color);
    /* max-width: 70%; */
  }
  .mobile-name-banner h2 {
    font-size: 1rem;
    margin: 0.25rem 0;
    font-weight: 100;
    color: var(--text-color);
  }

  .nav {
    position: absolute;
    left: -11rem;
    width: 50%;
    transition: all 0.8s ease;
    z-index: 5;
  }
  .nav .logo {
    display: none;
  }
  .nav ul {
    margin-top: 2rem;
  }
  .ham {
    visibility: visible;
  }
  .cross {
    position: relative;
    visibility: visible;
  }
  #check:checked ~ .nav {
    left: 0px;
  }
  #check:checked ~ .ham {
    visibility: hidden;
  }
  .about .about-content .right {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .projects .projects-content {
    margin: 0;
  }
}

@media only screen and (max-width: 625px) {
  .home .home-content .text-1,
  .home .home-content .text-3,
  .home .home-content .text-3 span {
    font-size: 1.25rem;
  }
  .home .home-content .text-2,
  .home .home-content .text-2 span {
    font-size: 2rem;
  }

  .home .home-content a {
    height: 1.25rem;
    width: 1.25rem;
  }

  #leetcode-card{
    margin-top: 2rem;
  }

  #leetcode-card img{
    width: 18rem;
  }

  .right form{
    transform: scale(0.9);
  }
}

/* ========== Mobile Menu Responsivenesss END ========== */
