/* RESETS */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #e5e5e5;
}

/* main container styles */
.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  min-width: 300px;
  min-height: fit-content;
  padding: 2rem;
  margin-inline: auto;
  background-color: #fff;


  img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.header {
  font-size: 2rem;
}

.content-part {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  h4 {
    font-size: 2rem;
    color: #333;
  }

  p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
  } 
}

.first-part,
.second-part,
.third-part {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Responsiveness */
/* small phones */
@media (min-width: 300px) {
  /* main container styles */
.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  min-width: 300px;
  min-height: fit-content;
  padding: 2rem;
  margin-inline: auto;
  background-color: #fff;


  img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.header {
  font-size: 2rem;
}

.content-part {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  h4 {
    font-size: 2rem;
    color: #333;
  }

  p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
  } 
}

.first-part,
.second-part,
.third-part {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
}


/* laptops */
@media (min-width: 768px) {
  /* main container stylex */
.container {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  min-width: 300px;
  min-height: fit-content;
  padding: 1rem;
  margin-inline: auto;
  background-color: #fff;
}

/* header part styles */
.header {
  font-size: 2.5rem;
  width: 60%;
  line-height: 1.4;
  word-spacing: 3;
  margin-bottom: 4rem;
}

/* content part styles */
.content-part {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* gap: 0.4rem; */


  h4 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
    font-weight: 400;
    color: gray;
  }
}

.first-part,
.second-part,
.third-part {
  display: flex;
  gap: 4%;
  width: 32%;


  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
}