/* h1 font */

@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Reset and Box Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  background-color: #f4f4f4;
}

/* Container Styling */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

/* Heading Styling */
h1 {
  text-align: center;
  font-size: 40px;
  font-family: "Lora", serif;
}

/* Resume Section Styling */
.resume-section {
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: 7px;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Layout Styling */
.layout {
  background-color: rgb(5, 42, 111);
  padding: 20px;
  flex: 1;
  min-width: 250px;
  color: #f4f4f4cd;
}

/* Image Styling */
.image-container {
  text-align: center;
  margin-bottom: 20px;
}
.pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid rgb(191, 177, 136);
}

/* Section Heading Styling */
h3 {
  font-size: 30px;
  font-family: "Lora", serif;
  padding: 2%;
  border-radius: 10px;
}

/* Right Container Styling */
.right-container {
  flex: 2;
  padding: 20px;
  border-radius: 10px;
  background-color: #f4f4f4ef;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

/* Form Group Styling */
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}
.form-group input {
  height: 50px;
}

/* Button Styling */
.button {
  border-radius: 6px;
  background-color: #f4511e;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
}
.button span {
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.button span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.button:hover span {
  padding-right: 25px;
}
.button:hover span:after {
  opacity: 1;
  right: 0;
}

/* About Section Styling */
#about {
  height: 100px;
}

/* Sections Styling */
.section {
  margin-bottom: 20px;
}
.section-header {
  font-size: 18px;
  font-weight: 500;
}

/* Text Content Styling */
.contact-info p,
.skills p,
.experience p,
.education p {
  margin: 2px 0;
  font-family: "Poppins", sans-serif;
}

/* Resume Output Styling */
#resume-output {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  outline: none;
}
#resume-output input,
#resume-output textarea {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  font-family: inherit;
  outline: none;
  font-size: 15px;
}
#resume-output h1 {
  padding: 20px;
  border-radius: 20px;
  font-family: "Lora", serif;
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}
#resume-output .span {
  color: #333;
  font-family: "Lora", serif;
  font-size: 20px;
  position: relative;
  bottom: 50px;
  left: 150px;
}

#resume-output .layout input,
#resume-output .layout textarea {
  color: #f4f4f4cd;
}
#resume-output .layout label {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  font-family: "Lora", serif;
}

/* Print Button Styling */
#print-resume {
  border-radius: 6px;
  background-color: #065127;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
}
/* Responsive Styles for Tablets and Smaller Screens */
@media (max-width: 768px) {
  .resume-section {
    flex-direction: column;
    padding: 10px;
  }
  .layout,
  .left-container,
  .right-container {
    width: 100%;
    margin: 0;
  }
  .pic {
    width: 120px;
    height: 120px;
  }
  h1 {
    font-size: 26px;
  }
  h3 {
    font-size: 18px;
  }
  .button {
    font-size: 18px;
  }
  #resume-output {
    padding: 10px;
    font-size: 14px;
  }
  #resume-output h1 {
    font-size: 30px;
  }
  #resume-output .span {
    font-size: 18px;
    bottom: 30px;
    left: 100px;
  }
  
}


/* Responsive Styles for Mobile Devices */
@media (max-width: 480px) {

 
  .resume-section {
    padding: 5px;
  }
  .pic {
    width: 100px;
    height: 100px;
  }
  h1 {
    font-size: 22px;
  }
  h3 {
    font-size: 16px;
  }
  .button {
    font-size: 16px;
  }
  #resume-output {
    display: flex;
    padding: 5px;
    font-size: 12px;
  }
  #resume-output h1 {
    font-size: 24px;
  }
  #resume-output .span {
    font-size: 16px;
    bottom: 20px;
    left: 50px;
  }
  #print-resume{
    display: flex;
    justify-content: center;
    font-size: 16;
  }
  
}


@media print{
  #resume-input{
  display: none;
 
  }

  body{
     /* for adding color in mobile screen */
  -webkit-print-color-adjust:exact; 

  }

  .button{
    display: none;
  }

  
}

  