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

a {
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
}

ul {
  list-style: none;
}

body {
  font-family: "Roboto", sans-serif;
}

h3 {
  font-size: 42px;
  line-height: 52px;
  font-style: bold;
}

p {
  font-size: 16px;
  color: #212121;
  line-height: 26px;
}

h2 {
  font-size: 20px;
  line-height: 24px;
  font-style: bold;
}

h5 {
  font-size: 14px;
  color: #707070;
  line-height: 30px;
}

h1 {
  font-size: 28px;
  line-height: 36px;
}

button {
  cursor: pointer;
}

.header {
  display: block;
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 15px 50px 15px 25px;
}
.header_right {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  font-size: 16px;
}
.header_left {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}

.engl {
  position: relative;
}
.engl::before {
  content: url(../images/header_english.svg);
  position: absolute;
  left: -25px;
}

.blue_btn {
  padding: 8px 16px;
  color: white;
  background: #00798A;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.search_input {
  border: 1px solid #D9D9D9;
  max-width: 300px;
  margin: -5px;
  height: 42px;
}
.search_input_first {
  background: url(../images/search.svg) no-repeat left;
  background-position: 5% 45%;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 13px 37px;
}
.search_input_last {
  padding: 13px 15px;
}

.search_btn {
  width: 42px;
  height: 42px;
  background-color: #f65858;
  border: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: white;
  position: absolute;
  top: -2px;
}

.main {
  margin: 0 auto;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join {
  max-width: 600px;
  position: relative;
  margin-top: 77px;
  margin-bottom: 98px;
  margin-left: -30%;
}
.join::before {
  content: "";
  background-image: url(../images/irl_event.svg.svg);
  background-size: cover;
  width: 379px;
  height: 269px;
  position: absolute;
  right: -450px;
}
.join p {
  margin: 25px 0;
}
.join .blue_btn {
  font-size: 16px;
}

.events {
  max-width: 1600px;
}
.events_title {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  justify-content: space-between;
}
.events_title_right {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.events_title_right h2 {
  position: relative;
  color: #00798A;
  padding: 12px 50px 8px 12px;
  background-color: rgba(151, 202, 209, 0.1);
  border-radius: 8px;
}
.events_title_right h2::before {
  content: url(../images/pencil.svg);
  position: absolute;
  right: 13px;
}
.events_card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 15px;
  max-width: 270px;
}
.events_card_content {
  padding-right: 16px;
  padding-bottom: 55px;
}
.events_card_content h5 {
  margin: 8px 0;
}
.events_card_content p {
  line-height: 35px;
  margin-left: 30px;
  margin-bottom: 12px;
  position: relative;
}
.events_card_content p::after {
  left: -35px;
  top: 3px;
  position: absolute;
  content: url(../images/date.svg);
}

#events_done {
  line-height: 30px;
  position: relative;
  margin-left: 30px;
}
#events_done::after {
  left: -35px;
  top: 0;
  content: url(../images/done.svg);
  position: absolute;
}

#events_ticket {
  position: relative;
  margin-left: 47px;
}
#events_ticket::after {
  left: -35px;
  top: 0;
  content: url(../images/tiket.svg);
  position: absolute;
}

.btn_more {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #00798A;
}

.events_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.meetup {
  width: 1200px;
  background-color: rgba(151, 202, 209, 0.1);
  border-radius: 8px;
  position: relative;
  padding: 36px 56px;
  margin-bottom: 64px;
}
.meetup_content {
  max-width: 740px;
}
.meetup::before {
  content: "";
  background-image: url(../images/meetup.svg);
  background-size: cover;
  width: 341px;
  height: 196px;
  position: absolute;
  right: 56px;
  top: 15px;
}
.meetup p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.red_btn {
  color: white;
  background-color: #E32359;
  padding: 8px 66px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
}

.categories_list {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  margin-top: 24px;
  margin-bottom: 64px;
}
.categories_list li {
  background-color: rgba(151, 202, 209, 0.1);
  width: 135px;
  height: 113px;
  border-radius: 8px;
  text-align: center;
  padding: 22px 15px;
}
.categories_list li p {
  line-height: 20px;
  font-weight: 500;
}

.popular_city h5 {
  margin-top: 16px;
  margin-bottom: 28px;
  font-weight: 400;
}

.list_city {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}
.list_city h2 {
  margin-top: 24px;
  margin-bottom: 65px;
}

.how_works_content {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 24px;
  margin-bottom: 65px;
}

.how_works_right {
  background-color: rgba(151, 202, 209, 0.1);
  max-width: 580px;
  padding: 32px 112px 24px 90px;
  border-radius: 8px;
  position: relative;
}
.how_works_right::after {
  content: url(../images/search_blue.svg);
  position: absolute;
  left: 24px;
  top: 32px;
}
.how_works_right p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.how_works_left {
  background-color: rgba(151, 202, 209, 0.1);
  max-width: 580px;
  padding: 32px 112px 24px 90px;
  border-radius: 8px;
  position: relative;
}
.how_works_left::after {
  content: url(../images/plus.svg);
  position: absolute;
  left: 24px;
  top: 32px;
}
.how_works_left p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.friendships {
  margin-bottom: 64px;
}
.friendships h5 {
  font-size: 15px;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 28px;
  line-height: 24px;
}

.friendships_content {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  align-items: start;
}
.friendships_content h2 {
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 28px;
}
.friendships_content p {
  color: #707070;
  margin-bottom: 16px;
}
.friendships_content_first, .friendships_content_second, .friendships_content_last {
  max-width: 376px;
}

footer {
  background-color: #212121;
  color: white;
}

.btn_footer {
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  padding: 10px 14px;
  background: none;
}

.footer_content {
  max-width: 1500px;
  margin: 0 auto;
}

.footer_title {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
}
.footer_title::after {
  content: "";
  width: 1500px;
  height: 1px;
  opacity: 50%;
  background-color: #D9D9D9;
  position: absolute;
  bottom: -25px;
}

.footer_list {
  margin-top: 50px;
  margin-bottom: 40px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 400px;
  align-items: start;
}
.footer_list a {
  font-size: 14px;
  line-height: 30px;
  font-weight: 300;
  color: #c5c4c4;
}

#list_title {
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.follow_us p {
  color: white;
}
.follow_us_content {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.follow_us_content_right img {
  margin: 12px 15px;
}
.follow_us_content_left img {
  margin: 25px 12px;
}

.footer_menu ul {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 40px;
}
.footer_menu ul a {
  font-size: 14px;
  line-height: 30px;
  font-weight: 300;
  color: #c5c4c4;
}

.main_header {
  width: 1200px;
}

.events_title_page_events {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  margin-top: 77px;
}
.events_title_page_events_left, .events_title_page_events_right {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 0;
  align-items: start;
}
.events_title_page_events a {
  margin-top: 16px;
  font-weight: 600;
  text-decoration: underline;
  line-height: 28px;
}
.events_title_page_events h2 {
  color: black;
  background-color: inherit;
  padding: 0;
  line-height: 28px;
}
.events_title_page_events h2::before {
  content: none;
}
.events_title_page_events p {
  font-size: 12px;
}

.events_filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  position: relative;
  margin-top: 15px;
  z-index: 1;
  margin-bottom: 56px;
}
.events_filter .list_filter {
  overflow-x: auto;
  position: absolute;
  top: 45px;
  left: 15px;
  background-color: #f6f7f8;
  border: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 9999;
}
.events_filter .list_filter_show {
  transition: all 1s ease-out;
  display: none;
}
.events_filter .list_filter li {
  font-size: 12px;
  padding: 10px;
  border-top: 1px solid #D9D9D9;
  cursor: pointer;
}

.events_filter_list {
  position: relative;
}
.events_filter_list h1 {
  font-size: 14px;
  line-height: 14px;
  padding: 16px 40px 16px 16px;
  background-color: #f6f7f8;
  border: none;
  border-radius: 40px;
  position: relative;
}
.events_filter_list .logo_up_category, .events_filter_list .logo_up_date, .events_filter_list .logo_up_type, .events_filter_list .logo_up_distance {
  width: 14px;
  height: 14px;
  position: absolute;
  top: 15px;
  right: 15px;
  transition: transform 0.3s ease;
}
.events_filter_list .logo_down {
  transform: rotate(180deg);
}

.list_event {
  width: 1200px;
  margin-bottom: 60px;
  position: relative;
}

.maps {
  position: absolute;
  top: 210px;
  right: 140px;
}

.new_event {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  max-width: 605px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid #D9D9D9;
}
.new_event img {
  max-width: 160px;
}
.new_event h2 {
  line-height: 24px;
  margin-top: 10px;
}
.new_event h5 {
  margin-bottom: 50px;
}
.new_event h4 {
  color: #707070;
  margin-bottom: 13px;
  font-weight: 400;
}
.new_event p {
  line-height: 18px;
}

#distance {
  width: 100px;
}

#type {
  width: 75px;
}

#category {
  width: 105px;
}

#date {
  width: 80px;
}

@media (max-width: 1600px) {
  .footer_content {
    max-width: 1200px;
  }
  .footer_title::after {
    max-width: 1200px;
  }
}
@media (max-width: 1280px) {
  .header {
    max-width: 1200px;
  }
  .main {
    max-width: 1000px;
  }
  .join::before {
    right: -400px;
  }
  .footer_content {
    max-width: 1000px;
  }
  .footer_list {
    gap: 270px;
  }
  .footer_title::after {
    max-width: 1000px;
  }
  .events {
    max-width: 1000px;
  }
  .events_list {
    grid-template-columns: repeat(3, 1fr);
  }
  .meetup {
    width: 1000px;
  }
  .meetup_content {
    max-width: 600px;
  }
  .categories_list {
    flex-wrap: wrap;
  }
  .maps {
    display: none;
  }
  .main_header {
    width: 1000px;
  }
  .list_event {
    width: 1000px;
  }
}
@media (max-width: 1024px) {
  .main {
    margin: 0 auto;
    max-width: 900px;
  }
  .join::before {
    right: -340px;
  }
  .events_list {
    grid-template-columns: repeat(3, 1fr);
  }
  .meetup_content {
    max-width: 450px;
  }
  .footer_content {
    max-width: 900px;
  }
  .main_header {
    width: 800px;
  }
  .list_event {
    width: 800px;
  }
  .footer_title::after {
    max-width: 800px;
  }
}
@media (max-width: 768px) {
  .header {
    width: 760px;
    padding: 10px;
  }
  .header_right {
    font-size: 10px;
  }
  .header_right_img img {
    width: 100px;
    margin-left: -20px;
  }
  .header_left {
    font-size: 12px;
    gap: 10px;
  }
  .blue_btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  .search_input {
    position: absolute;
    top: 50px;
    left: 60px;
  }
  .search_input_last {
    display: none;
  }
  .search_btn {
    top: 45px;
    left: 292px;
  }
  .main {
    max-width: 600px;
  }
  .join::before {
    right: 0;
    bottom: -250px;
  }
  .join {
    margin-bottom: 270px;
    max-width: 500px;
  }
  .events {
    max-width: 600px;
  }
  .events_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .meetup {
    width: 600px;
    padding-top: 240px;
  }
  .meetup::before {
    top: 20px;
    right: 146px;
  }
  .footer_content {
    max-width: 600px;
  }
  .footer_title::after {
    max-width: 600px;
  }
  .footer_list {
    gap: 70px;
  }
  .follow_us_content {
    gap: 10px;
  }
  .follow_us_content_left {
    display: none;
  }
  .footer_menu ul li:nth-child(n+2) a {
    display: none;
  }
  .main_header {
    width: 600px;
  }
  .list_event {
    width: 600px;
  }
}
@media (max-width: 440px) {
  .header {
    max-width: 430px;
    margin: 0 auto;
    padding: 10px;
  }
  .header_right {
    font-size: 10px;
  }
  .header_right_img img {
    width: 100px;
    margin-left: -20px;
  }
  .header_left {
    font-size: 12px;
    gap: 10px;
  }
  .blue_btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  .search_input {
    position: absolute;
    top: 50px;
    left: 60px;
  }
  .search_input_last {
    display: none;
  }
  .search_btn {
    top: 45px;
    left: 292px;
  }
  .main {
    margin: 0 auto;
    max-width: 400px;
  }
  .join {
    width: 350px;
    padding: 10px;
    margin-top: 70px;
    margin-bottom: 45px;
    margin-left: 0;
  }
  .join::before {
    width: 215px;
    height: 152px;
    left: 90px;
    bottom: -124px;
  }
  .join p {
    font-size: 12px;
    line-height: 24px;
    padding-right: 10px;
  }
  .join h3 {
    font-size: 25px;
    line-height: 30px;
  }
  #join {
    display: none;
  }
  .events {
    margin-top: 170px;
    position: relative;
  }
  .events_title {
    margin-bottom: 30px;
  }
  .events_title_right h1 {
    font-size: 20px;
    line-height: 24px;
  }
  .events_title_right h2 {
    font-size: 14px;
    padding: 6px 40px 4px 6px;
  }
  .events_card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 370px;
    position: relative;
  }
  .events_card::after {
    content: "";
    position: absolute;
    width: 375px;
    height: 1px;
    background-color: #D9D9D9;
    opacity: 70%;
    top: -15px;
    left: 10px;
  }
  .events_card img {
    max-width: 150px;
  }
  .events_card_content {
    width: 260px;
    padding-right: 10px;
    padding-bottom: 0;
  }
  .events_card_content h2 {
    font-size: 12px;
    line-height: 20px;
  }
  .events_card_content h5 {
    font-size: 10px;
    line-height: 5px;
  }
  .events_card_content p {
    font-size: 10px;
    margin-left: 20px;
    line-height: 20px;
    margin-bottom: 0;
  }
  .events_card_content p::after {
    left: -22px;
    top: 0;
  }
  .events_online {
    margin-top: 100px;
  }
  #events_done {
    font-size: 7px;
    position: relative;
    margin-left: 25px;
  }
  #events_done::after {
    top: -5px;
    left: -27px;
  }
  #events_ticket {
    font-size: 7px;
    position: relative;
    margin-left: 42px;
  }
  #events_ticket::after {
    top: -5px;
    left: -27px;
  }
  .events_list {
    display: flex;
    display: flex;
    flex-direction: column;
    justify-content: left;
    position: relative;
  }
  #btn_more_events {
    position: absolute;
    bottom: 700px;
    left: 150px;
  }
  #btn_more_online_events {
    position: absolute;
    bottom: -40px;
    left: 150px;
  }
  .meetup {
    text-align: center;
    width: 350px;
    margin-top: 60px;
    padding: 16px 26px;
  }
  .meetup h1 {
    font-size: 20px;
    margin-bottom: 150px;
  }
  .meetup::before {
    width: 238px;
    height: 137px;
    right: 80px;
    top: 45px;
  }
  .meetup p {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .categories_list {
    display: grid;
    grid-template-columns: repeat(2, 135px);
    gap: 25px;
  }
  .categories_list h1 {
    font-size: 20px;
  }
  .popular_city h5 h1 {
    font-size: 20px;
  }
  .popular_city h5 h5 {
    font-size: 12px;
  }
  .list_city {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .list_city img {
    max-width: 160px;
  }
  .list_city li:nth-child(5) {
    display: none;
  }
  .how_works_content {
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  .how_works_content h1 {
    font-size: 20px;
  }
  .how_works_content h2 {
    font-size: 16px;
  }
  .how_works_content p {
    font-size: 12px;
  }
  .how_works_left,
  .how_works_right {
    padding: 15px 40px 24px 90px;
  }
  .friendshipsh1 {
    font-size: 20px;
  }
  .friendships h5 {
    font-size: 12px;
  }
  .friendships_content {
    display: flex;
    flex-direction: column;
    justify-content: left;
  }
  .friendships_content h2 {
    font-size: 16px;
  }
  .friendships_content p {
    font-size: 12px;
  }
  .footer_content {
    max-width: 420px;
    padding: 20px;
  }
  .footer_content h2 {
    font-size: 16px;
  }
  .footer_title {
    justify-content: space-between;
  }
  .footer_title::after {
    width: 380px;
  }
  .footer_list {
    gap: 45px;
  }
  .footer_list a {
    font-size: 12px;
  }
  #list_title {
    font-size: 14px;
  }
  .events_filter .logo_up_distance, .events_filter .logo_up_date, .events_filter .logo_up_category, .events_filter .logo_up_type {
    top: 10px;
  }
  .list_filter {
    top: 35px;
  }
  .new_event {
    max-width: 370px;
  }
  .new_event img {
    max-width: 120px;
  }
  .new_event p {
    font-size: 12px;
    line-height: 14px;
  }
  .new_event h2 {
    font-size: 18px;
    line-height: 22px;
  }
  .new_event h5 {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .new_event h4 {
    font-size: 10px;
  }
  .events_title_left_page_events,
  .maps {
    display: none;
  }
  .main_header {
    width: 400px;
  }
  .list_event {
    width: 400px;
  }
}
.events_card:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

.new_event:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.btn_more:hover {
  font-weight: 600;
}

/*# sourceMappingURL=style.css.map */
