* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: white;
    font-family: "Merriweather Sans", sans-serif;
}

header {
  padding-top: 60px;
  background: #2f2f2f;
  background-image: url('./draw_image/back.jpg');
    background-size: cover;
}

section {
  min-height: 600px;
  background-color: #2f2f2f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  }
  
nav {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  }
  
.banner_position {
  display: flex;
  justify-content: center;
}
  
.banner {
  width: 100%;
  border-radius: 12px;
  margin-top: 42px;
  max-width: 1000px;
  }
  
.new_logo {
    width: 80px;
  }
  
.main_position {
  max-width: 1000px;
  margin: 0 auto;
  }
  
.pb_sec {
  max-width: 1000px;
  margin: 0 auto;
  }
  
.grey_sec {
  background-color: #eaeaea;
  }

h1 {
    font-family: "Ubuntu", sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 80px;
    margin-bottom: 24px;
    }
    
.text_main {
  padding-bottom: 42px;
}

.about_position {
  display: flex;
  justify-content: space-between;
}

.about_title {
  color: #2f2f2f;
  padding-top: 62px;
  padding-bottom: 42px;
  }
  
.about_text {
  color: #2f2f2f;
  margin-right: 42px;
  }
  
.about_img_position {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  
.about_img {
  max-width: 480px;
  height: fit-content;
}

    
h2 {
  text-transform: uppercase;
  }    

.btn_main_position {
 padding-bottom: 85px;
}

.button {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border: solid 1px white;
  border-radius: 50px;
  transition: background-color 0.3s;
  cursor: pointer; 
  text-transform: uppercase;
}

.button:hover {
  background: white; 
  color: #1f1f1f; 
  border: solid 1px #d0d0d0;
}

.card_main_title {
  padding-top: 62px;
  padding-bottom: 42px;
  }
  
.card_main_text {
  padding-bottom: 42px;
  }

.card_position {
  display: grid;
  grid-template-columns: 304px 304px 304px;
  justify-content: space-between;
  gap: 20px;
}

.card_main {
  border-radius: 10px;
  background-color: #0000004a;
  padding-bottom: 14px;
  text-align: center;
}

.card_img {
  width: 100%;
  border-radius: 10px 10px 0px 0px;
  padding-bottom: 12px;
}


.card_title {
  padding-bottom: 12px;
  padding-left: 10px;
  padding-right: 10px;
  text-transform: uppercase;
}

.card_text {
  padding-bottom: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.card_btn_position {
  display: flex;
  justify-content: center;
  padding-top: 42px;
  padding-bottom: 42px;
  }

footer {
  padding-top: 52px;
  background-color: #212121;
  text-align: center;
  }

.title_footer {
  font-size: 24px;
  padding-bottom: 28px;
  }
  
.copyrate {
  padding: 48px;
}

@media (max-width: 800px) and (min-width: 600px){
.card_position {
  display: grid;
  grid-template-columns: 304px 304px;
  justify-content: space-between;
  gap: 20px;
}

.about_position {
  flex-direction: column;
}

header {
    padding: 10px;
    }
    
.mobile_none {
  display: none;
  }
  
.about_text {
  padding-bottom: 20px;
}

.pb_sec {
  padding: 10px;
}

}

@media (max-width: 600px) {

h1 {
  margin-top: 54px;
  }
  
.card_position {
  grid-template-columns: 304px;
  justify-content: center;
  gap: 20px;
}

.about_img {
  width: 100%;
}
    
.pb_sec {
  padding: 10px;
}

.about_position {
  flex-direction: column;
}

.mobile_none {
  display: none;
  }
  
header {
    padding: 10px;
    }
    
.about_text {
  padding-bottom: 20px;
}
}

