/* h1,h2,h3,h4 {font-weight: normal!important; letter-spacing: -0.05rem;} */

.bg-team {background-image: url("../images/tło-paska.jpg")!important; background-position: center; background-size: cover;}

/* TEMP: */
b {font-weight: 700!important;}


#our-mission h1 span:first-child {font-size: 48px;}
/*#our-mission h3 {font-size: 32px; letter-spacing: 0.05rem;}*/
#our-mission p {
    /* opacity: 75%;  */
    max-width: 95%;
}
#our-mission .image img {max-width: 100%;}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .carousel {
    position: relative;
    overflow: hidden;
  }
  
  .carousel__slider {
    position: relative;
    display: flex;
    align-items: center;
    height: 200px;
  }
  
  .carousel__list {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .carousel__item img {
    height: 60px;
  }

  .mobile-sponsors {
    display: none;
  }

#team {letter-spacing: -0.03rem;}
#team img {width: 75%; max-width: 265px; }
#team .bio {margin-top: 1rem; width: 90%;}

.main{
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.profile-card{
    position: relative;
    width: 220px;
    height: 220px;
    background: #fff;
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
    margin: 0 45px;
  }
  .profile-card:hover{
    border-radius: 10px;
    height: 260px;
  }
  .profile-card .img{
    position: relative;
    width: 100%;
    height: 100%;
    transition: .6s;
    z-index: 1;
  }
  .profile-card:hover .img{
    transform: translateY(-60px);
  }
  .img img{
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
  }
  .profile-card:hover img{
    border-radius: 10px;
  }
  .caption{
    text-align: center;
    transform: translateY(-80px);
    opacity: 0;
    transition: .6s;
  }
  .profile-card:hover .caption{
    opacity: 1;
  }

  .caption p{
    font-size: 16px;
    color: #000;
    margin: 2px 0 9px 0;
  }

.margin-center {
    margin: 0 2rem;
}
  
#single-team {
    border-radius: 2em;
    border: 5px solid #00FFC2;
    box-shadow: 10rem;
    padding-bottom: 1rem;
}

#linkedin {
    padding: 10px;
    border-radius: 3px;
}

#linkedin:hover {
    background-color:#0E76A8;
    color: white;
}

#facebook {
    padding: 10px 14px;
    border-radius: 3px;
}

#facebook:hover {
    background-color:#3b5998;
    color: white;
}

#github {
  padding: 10px;
  border-radius: 3px;
}

#github:hover {
  background-color:#171717;
  color: white;
}

#website {
  padding: 10px;
  border-radius: 3px;
}

#website:hover {
  background-color:#d109f0;
  color: white;
}

#twitter {
    padding: 10px;
    border-radius: 3px;
}

#twitter:hover {
    background-color:#00ACEE;
    color: white;
}

#gmail {
    padding: 10px;
    border-radius: 3px;
}

#gmail:hover {
    background-color:#BB001B;
    color: white;
}

.social-links a {
  text-decoration: none;
  color: unset !important;
}

@media (max-width: 991px) {
    .page-background {background-position: 0 0; background-size: 400% 100%;}

    #our-mission .image {padding-top: 2rem;}
    #our-mission .image img {
        width: 375px;
        margin-bottom: 40px;
    }
    /* #team img {width: 285px;} */
    #team img {width: 300px;}
    #team .bio {
        margin-top: 1.5rem;
        text-align: center;
        width: 70%;
    }
    #team .col-lg {margin-bottom: 4rem;}
    #team .col-lg:last-child {margin-bottom: 3rem;}

    .margin-center {margin:0}
}
@media (max-width: 767px) {
    
    #our-mission h1 span:first-child {font-size: 44px;}
    #our-mission img {width: 400px;}
    #team .bio {width: 85%;}
    /* #team img {width: 265px;} */
}

@media (max-width: 575px) {
  .about-h2 {
    margin-top: 40px!important;
  }
    /* #our-mission h1 span:first-child {font-size: 6.6vw;} */
    #our-mission h1 span:first-child {font-size: 8.35vw;}
    #our-mission img {width: 80vw;margin-bottom: 40px;}
    /* #team h2 span:first-child {font-size: 6.3vw;} */
    /* #team h2 span:first-child {font-size: 7.65vw;}
    #team h2 b {font-size: 8.3vw;} */
    /* #team img {width: 46.1vw;} */
    /* #team img {width: 49.57vw;} */
    /* #team img {width: 60.87vw;} */
    #team img {width: 52.17vw;}

    .main {
      display: block;
      height: fit-content;
      padding-bottom: 50px;
    }
    .profile-card {
      margin: auto;
      margin-top: 50px;
      height: 200px;
      width: 200px;
    }
    .profile-card:hover {
      height: 240px;
    }
    .caption h6 {
      font-size: 16px;
    }
    #linkedin,
    #github,
    #website,
    #twitter,
    #facebook{
      padding: 5px;
      font-size: 18px;
    }
    .carousel__item img {
      margin: 0 40px;
    }
    .carousel {
      display: none;
    }
    .mobile-sponsors {
      display: block;
    }
    .mobile-sponsors img {
      width:90%;
      margin:5%;
    }
}