
/* {
  border: 1px solid red;
}




/* COMMON STYLE FOR ALL HTML*/

html, body {
  margin: 0;
  padding: 0;
}

body {
    background-color: whitesmoke;
}


/* footer*/
footer {
    background-color: #333;
    color: #fff;
    justify-content: space-between;
    align-items: center;
}

.baba {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
}

/* header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #333;
  color: #ffff;
}

.header-right a {
  display: flex;
  align-items: center;
  text-decoration:none;
  /*color: black;*/
  color: #ffff;
  font-family: 'Raleway', sans-serif;
}

.name{
  font-weight: 600;
  font-size: 24px;
}

.header-left ul {
  list-style-type: none;
  display: flex;
  font-family: 'Raleway', sans-serif;
  padding: 0;
  margin: 0;
}

.header-left li {
  margin-right: 20px;
}
  
.header-left a {
  text-decoration: none;
  /*color: black;*/
  color: #ffff;
}


.page-title {
  font-size: 24px;
  text-align: left;
}

.resume:hover, .projects:hover, .badges:hover, .certificate:hover {
  background-color: grey;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Common styles for smaller screens */
@media (max-width: 768px) {
  .container, .certificates-page-main, .projects-page-main, .resume-page-main  {
    padding: 0 10px;
    display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  width: auto;
  }
  
  header, footer {
    flex-direction: column;
    width: auto;
    display: flex;
  }
  .profile-image img , .project-right{
    width: 200px;
    height: 200px;
    padding: 0 10px;
  }

  .introduction {
    width: 100%;
    padding: 0;
    margin-top: 20px;
  }

  .introduction h1 {
    font-size: 36px;
  }

  .body-links a {
    font-size: 14px;
  }

  .project-container {
    flex-direction: row;
  }

  .project-left,
  .project-right {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Styles for even smaller screens */
@media (max-width: 500px) {
  .introduction h1 {
    font-size: 24px;
  }

  main h1, .introduction p {
    font-size: 50px;
    padding: 0 20px; /* Adjust padding as needed */
  }

  header, footer{
    flex-direction: column;
    align-items: flex-start;
  }

  .header-left ul {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .header-left li {
    margin-right: 10px;
  }

  .body-links a {
    font-size: 14px;
    padding: 8px 16px;
    margin: 8px;
  }
}

/* end of COMMON STYLE */



/* index.html's style.css */

/* main*/
main {
    text-align: center;
    position: relative;
    padding: 30px 0;
}

/* Profile Greetings Section */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
    display: flex;
  }

.profile-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
}

.profile_greetings{
  text-align: center;
  padding: 20px;
  display: flex;
}

.body-links{
  text-align: center;
  align-items: center;
}

/* text in the greetings*/
.introduction{
  font-family: 'Raleway', sans-serif;
  padding: 0 10px;
  width: 400px;
  height: 400px;
}

.introduction h1 {
  text-align: left;
  font-weight: 900;
  font-size: 58px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.introduction h4 {
    text-align: left;
    font-weight: 300;
    margin: 0;
}

.introduction p {
    text-align: justify;
    margin: 0;
    font-size: 14px;
    margin-top: 5px;
}

/* body links*/
.body-links a{
    color: #333333;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 1.3px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #333333;
}

.resume {
  background-color: orange;
}

.projects{
  background-color: red;
}

.badges{
    background-color: skyblue;
}

.certificate {
    background-color: whitesmoke;
}
/* end of INDEX STYLE */


/* resume.html's style */

.resume-page-main {
  display: flex;
  flex-direction: column;
  align-items:stretch;
  margin: 0 auto;
  padding: 40px;
  margin: 0 auto;
  max-width: 900px;
  font-family: 'Raleway', sans-serif;
  text-align: justify;
}

.exp-ed-skills {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.column-left {
  width: 30%;
  padding-right: 20px;
  box-sizing: border-box;
}

.column-right {
  width: 40%;
  box-sizing: border-box;
}

.column-right p{
  text-align: justify;
  margin: 0;
  font-size: 14px;
  margin-top: 5px;
}

.column-right h5 {
  text-align: left;
  margin: 0;
}



/* projects.html's style */

.projects-page-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
  padding: 40px;
  max-width: 900px;
  font-family: 'Raleway', sans-serif;
  text-align: justify;
}

.project-items {
  width: 100%;
}

.project-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.project-left {
  width: 30%;
  box-sizing: border-box;
}

.project-left h3{
  margin-top: 5;
}

.project-left p{
  text-align: justify;
  margin: 0;
  font-size: 14px;
}

.project-right img {
  width: 100%;
  height: 90%;
  object-fit: fill;
  display: flex;
  padding: 20px 0px 10px;
}

.project-right {
  width: 40%;
  box-sizing: border-box;
}

/* certificates.html's style */

.certificates-page-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
  padding: 40px;
  max-width: 900px;
  font-family: 'Raleway', sans-serif;
  text-align: justify;
}

.certificate-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.certificate-container img {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 10px;
}

.certificate-container h3 {
  margin: 10px 0;
  font-size: 20px;
  text-align: center;
}

.certificate-container p {
  font-size: 14px;
  text-align: justify;
  margin: 10px;
  padding: 0 20% 0;
}

hr {
  border: 1px solid black;
}