@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --blue: #074C41;
    --white:#f5f4f4;
    --darkblue: #043029;
    --dark: #2d3436;
}

@page  {
    /* Some samples of different page sizes */
   size: A4 auto;
   margin: 0;
   page-break-inside: avoid;
   background-image: linear-gradient(to right, #074C41 33%, white 33%);
   
}


*{
    margin: 0;
    padding: 0;
}


.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
  }

  .roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
  }

  .roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
  }

  .roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
  }

  .roboto-thin-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: italic;
  }

  .roboto-light-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
  }

  .roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
  }

  .roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
  }

  .roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
  }

  .roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
  }




body{
      font-family: "Roboto", sans-serif;
      font-weight: 400;
      font-style: normal;
    
}


.wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.withoutFooter{
  flex: 1;
}


.reference{
  padding: 8px 6px;

}

  
    #container{
        display: grid;
        --sidenote-width: 70mm;
        grid-template-columns: var(--sidenote-width) 1fr;  
       
    }


    #left{
        padding: 0px 16px;
        color: var(--white);
        background-color: var(--blue);
        page-break-inside: avoid;
    }

    .right{
        padding: 0px 20px;
        
    }


    .left-heading{
        margin-top: 28px;
        letter-spacing: 1.5px;
        border-bottom: 1px solid white;
        padding-bottom: 4px;
        color: #fff;
        margin-bottom: 6px;
        break-after: avoid;
    }

    .first-heading{
      margin-top: 8px;
    }
    
    .contact{
        margin-top: 8px;
        padding: 6px 0px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        font-family: "Roboto", sans-serif;
        font-weight: 300;
        font-style: normal;
    }

    .contact_portion{
        display: flex;
        gap: 8px;

    }


    .education{
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .education_portion{
        margin-top: 8px;

    }


    .educationDuration{
        display: flex;
        gap: 6px;
    }

    .schoolName > p {
        margin-top: 2px;
        letter-spacing: 1px;
    }

   .degreeName{
    margin-top: 4px;
    line-height: 16px;
    display: flex;
    gap: 6px;
   }

   .skills, .language, .hobbies{
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
   }


   .skillName, .languageName, .hobbyNames{
    display: flex;
    gap: 6px;

   }

   .hobbyNames{
    display: flex;
    gap: 6px;
   }


    #imageOuter{
        width: 52mm;
        height: 50mm;


    }

    #profileImage{
        width: 130px;
        height: 130px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        border: 6px solid var(--darkblue);
        border-radius: 50%;


    }


    .nametitelouter{
      width: 100%;
      height: 40mm;
      padding: 14px 0px;
      margin-bottom: 26px;
    }

    .nametitle{
      text-transform: uppercase;
      padding: 8px 16px;
      padding-top: 22px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    

    }

    .fullname{
      color: var(--dark);
      font-size: 3rem;
      overflow-wrap: break-word; /* Prevent words from overflowing */
    }

    .lastname{
      color: var(--blue);
    }

    .designation{
      font-size: 1.2rem;
      color: var(--dark);
    }

    .underline{
      margin-top: 8px;
      width: 70px;
      height: 5px;
      border-radius: 3px;
      background-color: var(--blue);
    }


    .profile-heading{
      color: var(--blue);
      border-bottom: 1px solid var(--blue);
    }

    .workOuter{
      padding-left: 30px;
      /* display: flex; */
      /* flex-direction: column; */
      /* gap: 20px; */
    }

    .worktotal{
      /* display: flex; */
      /* gap: 10px; */
      position: relative;
      margin-bottom: 10px;

    }

    .workdesign {
  position: absolute;
  left: -30px;
}

   .bi-briefcase{
    color: var(--blue);
   }


    .work-heading{
      margin-top: 18px;
      margin-bottom: 10px;
      break-after: avoid;
    }



    .description{
     text-align: justify;
     color: var(--dark);
    }

    .workdescription{
      margin-top: 8px;
      color: var(--dark);
      margin-left: 16px;
      
    }
    
    li{
      margin-bottom: 6px;
    }

    .placeduration{
      display: flex;
      justify-content: space-between;
    }

     .workplace::after{
      content: ",";
    }

    .workplacecity{
      display: flex;
      gap: 4px;
    }

    


    @media (max-width: 767px) {
      #container {
          width: 800px; /* Fixed width similar to desktop view */
          margin: 0 auto; /* Center the container horizontally */
          transform: scale(0.6); /* Adjust the scale if needed */
          /* transform-origin: center; Set transform origin to the center */
      }

      .fullname{
        font-size: clamp(1rem, 4vw, 4rem);
      }
  
  }