@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  height: 110vh;
}

h1 {
  font-size: 28px;
  color: #333333;
}

h2 {
  font-size: 20px;
  color: #333333;
}

a:hover,
header .main-nav a:hover {
  color: tomato;
}

header {
  z-index: 999;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.6s ease;
  margin-top: 10px;
  padding: 0 200px;
}

header .logo {
  width: 150px;
}

header .main-nav {
  position: relative;
  right: 0;
  display: flex;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

header .main-nav .current {
  font-weight: bold;
  color: tomato;
}

header .main-nav a {
  margin-left: 50px;
  text-decoration: none;
  color: black;
  padding: 0;
  transition: 0.3s ease;
}

.slider {
  position: relative;
  margin: 70px auto;
  display: flex;
  width: 100%;
  
  background: url('../images/conference.jpg');
  background-repeat: no-repeat;
  background-position: center;
 padding: 50px 0;
}

.slider .slider-content {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  width: 50%;
}

.slider .slider-content h1 {
  font-size: 55px;
}

.slider h1, .slider p {
  text-align: left;
  color: white;
}

.slider .slider-content .button {
  margin-top: 30px;
}

.slider .slider-content .button a {
  text-decoration: none;
  color: white;
  background: tomato;
  padding: 10px 20px;
  border-radius: 3px;
  display: flex;
  width: fit-content !important;
}

.page-title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 300;
  margin-bottom: 20px;
}

.light {
  width: 100%;
  background: white;
  padding: 50px 0;
}

.dark {
  width: 100%;
  background: #edf2f4;
  padding: 50px 0;
}

.no-padding {
  padding-bottom: 0;
}

.wrapper {
  padding: 0 200px;
  margin: 100px 0 100px 0;
}

.last-section {
  margin-bottom: 100px;
}

.margin-b-100 {
  margin-bottom: 100;
}

.margin-top-100 {
  margin-top: 100px;
}

section {
  width: 100%;
}

section .content {
  display: flex;
  justify-content: center;
  padding: 0 200px;
  align-items: center;
  vertical-align: middle;
}

section .content .column-left {
  width: 50%;
  padding: 10px;
}

section .content .column-left .button {
  margin-top: 30px;
}

section .content .column-left a {
  text-decoration: none;
  background-color: tomato;
  padding: 10px 20px;
  color: white;
  border-radius: 3px;
  transition: 0.3 ease;
}

section .content .column-right {
  width: 50%;
  display: flex;
  padding: 10px;
  justify-content: flex-end;
}

section .content .column-right img {
  width: 400px;
}

section .image-gallery-t {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
}

section .image-gallery-t img {
  width: 30%;
}

.shape {
  width: 100vw;
}

.shape:after {
  position: relative;
  content: '';
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 100vw 0 0;
  border-color: #FF6550 transparent transparent;
}

.news-container {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-around;
}

.news-card {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  line-height: 1.4em;
  background-color: #edf2f4;
  transition: 0.4s ease;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -20px;
  margin-top: 50px;
}

.news-card:hover {
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.news-card * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.news-card img {
  max-height: 250px;
  vertical-align: center;
  opacity: 0.85;
}

.news-card .date {
  position: absolute;
  background-color: #edf2f4;
  top: 0;
  right: 0;
  width: 100%;
  padding: 10px 25px 0;
  text-align: right;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: black;
  text-transform: uppercase;
}

.news-card .date:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 400px 55px 0;
  border-color: transparent #edf2f4 transparent transparent;
}

.news-card figcaption {
  width: 100%;
  background-color: #edf2f4;
  padding: 0 25px 25px;
  position: relative;
  color: black;
}

.news-card figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent #edf2f4;
}

.news-card figcaption a {
  padding: 5px;
  border: 1px solid black;
  color: black;
  font-size: 0.7em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.news-card figcaption a:hover {
  opacity: 1;
}

.news-card h2 {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 1.5em;
  line-height: 1.2em;
}

.news-card p {
  margin: 0 0 10px;
  font-size: 0.8em;
  letter-spacing: 1px;
  opacity: 0.8;
}

.pag-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 300;
  margin: 100px 0;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
}

.pagination a.active {
  background-color: tomato;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

/* Clear floats after the columns */
.members-container {
  display: flex;
  justify-content: space-between;
  padding: 0 200px;
}

.members-card {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  line-height: 1.5em;
  background-color: white;
  transition: 0.4s ease;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -20px;
  margin-top: 50px;
}

.members-card:hover {
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.members-card * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.members-card img {
  max-height: 350px;
  vertical-align: center;
  opacity: 0.85;
}

.members-card figcaption {
  width: 100%;
  background-color: white;
  padding: 0 30px 30px;
  position: relative;
  color: black;
}

.members-card figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 400px;
  border-color: transparent transparent transparent white;
}

.members-card figcaption h2 {
  font-weight: 500;
}

.members-social {
  margin-top: 50px;
}

.members-card figcaption a {
  font-size: 22px;
  margin-right: 10px;
  color: black;
  text-decoration: none;
}

.members-card figcaption a:hover {
  color: tomato;
}

.members-card h2 {
  margin: 0 0 10px;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1.2em;
}

.members-card p {
  margin: 0 0 10px;
  font-size: 0.8em;
  letter-spacing: 1px;
  opacity: 0.8;
  height: 150px;
  overflow: hidden;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid black;
  background-color: white;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  border-radius: 5px;
}

input[type=text]:hover, select:hover, textarea:hover,
input[type=text]:active, select:active, textarea:active {
  border: 1px solid tomato;
}

input[type=submit] {
  font-size: 13px;
  background-color: tomato;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}

input[type=submit]:hover {
  background-color: #04AA6D;
}

/* Style the container/contact section */
.container {
  border-radius: 5px;
  background-color: white;
  padding: 0 200px;
}

/* Create two columns that float next to eachother */
.column {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 50px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

footer {
  position: relative;
  display: block;
  height: 300px;
  max-width: 100vw;
  background: white;
  padding: 0 200px;
}

footer .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  width: 100%;
  height: 200px;
  background: ;
}

footer .content-bottom {
  border-top: 1px solid black;
  display: flex;
  justify-content: space-between;
  align-items: top;
  vertical-align: middle;
  width: 100%;
  height: 200px;
  background: ;
}

footer .content .footer-logo {
  width: 140px;
}

footer ul li {
  text-decoration: none;
  list-style: none;
  display: inline-block;
}

footer li {
  margin: 10px;
  font-weight: 400;
}

footer li a {
  text-decoration: none;
  color: black;
  transition: 0.3s ease;
}

footer i {
  font-size: 33px;
  color: black;
  margin-right: 15px;
  transition: 0.3s ease;
}

footer i:hover {
  color: tomato;
}

footer .copyright {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

footer .terms {
  width: 100%;
  display: inline-block;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

footer .terms a {
  text-decoration: none;
  color: black;
  margin: 15px;
  transition: 0.3s ease;
}

footer .terms a:hover {
  color: tomato;
}

@media (max-width: 768px) {
  .wrapper {
    padding: 0 20px;
  }

  header {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  header .main-nav {
    display: flex;
    margin-top: 40px;
    text-align: left;
    justify-content: space-between;
    padding: 0;
  }

  header .main-nav a {
    margin: 5px;
    padding: 20px;
  }

  .slider {
    max-width: 600px;
    background-position: right;
  }

  .slider .slider-content {
    display: flex;
    width: 80%;
    align-items: center;
    vertical-align: middle;
  }

  .slider .slider-content img {
    max-width: 400px;
    border-radius: 0;
  }

  .slider .slider-content h1 {
    font-size: 30px;
  }

  section .content {
    padding: 0 10px !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  section .content .column-right {
    margin-top: 30px;
  }

  section .content .column-left,
  section .content .column-right {
    width: 100%;
    justify-content: center;
    text-align: justify;
  }

  section .members-page {
    width: 100%;
  }

  .members-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    width: 100%;
  }

  .members-card {
    max-width: 95%;
  }

  .members-card img {
    max-height: 550px;
  }

  .members-card figcaption:before {
    border-width: 55px 0 0 640px;
  }

  .members-social {
    display: flex;
    justify-content: center;
    margin: 20px;
  }

  .members-card figcaption a {
    font-size: 32px;
    margin-right: 25px;
  }

  .column, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }

  .news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .news-card {
    max-width: 600px;
  }

  .news-card img {
    max-height: 550px;
    vertical-align: center;
    opacity: 0.85;
  }

  .news-card .date:before {
    border-width: 0 600px 55px 0;
  }

  .news-card figcaption:before {
    border-width: 55px 0 0 600px;
  }

  .news-card figcaption {
    margin-top: -20px;
  }

  footer .content {
    margin-top: 30px;
    flex-direction: column;
    height: auto;
  }

  footer .content-bottom {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  footer .copyright {}
}

@media (max-width: 1200px) {
  .wrapper {
    padding: 0 20px;
  }

  header {
    padding: 0 100px;
  }

  section .content {
    padding: 0 100px;
  }

  footer {
    padding: 0 100px;
  }

  section .content {
    flex-direction: column;
    text-align: center;
  }

  section .content .column-left,
  section .content .column-right {
    width: 100%;
    justify-content: center;
    text-align: justify;
  }

  .members-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    width: 100%;
  }

  .members-card {
    max-width: 60%;
  }

  .members-card img {
    max-height: 550px;
    max-width:100%;
  }

  .members-card figcaption:before {
    border-width: 55px 0 0 640px;
  }

  .members-social {
    display: flex;
    justify-content: center;
    margin: 20px;
  }

  .members-card figcaption a {
    font-size: 32px;
    margin-right: 25px;
  }

  .container {
    padding: 0 10px;
  }

  .news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .news-card {
    max-width: 600px;
  }

  .news-card img {
    max-height: 550px;
    vertical-align: center;
    opacity: 0.85;
  }

  .news-card .date:before {
    border-width: 0 600px 55px 0;
  }

  .news-card figcaption:before {
    border-width: 55px 0 0 600px;
  }

  .news-card figcaption {
    margin-top: -20px;
  }
}

@media only screen and (min-width: 1800px) {
  header {
    padding: 0 400px;
  }

  section .content {
    padding: 0 400px;
  }

  footer {
    padding: 0 400px;
  }
}
} 
@media (max-width: 768px){
   .members-card img{
       max-width:100% !important;
       max-height: 550px;
   } 
}