@import url(https://use.typekit.net/ubf3vgy.css);
@import url(https://fonts.googleapis.com/css?family=Raleway);

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

body{
    background-color: #f9f9f9;
}

h1{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 38px;
}

h2{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 28px;
}

h3{
    font-family: "poppins", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #293ff9;
}

p{
    font-family: "poppins", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* NAVBAR ULANSKI ( zajebisty ) */
/* NAVBAR */
.TechThriveBtn{
  cursor: pointer;
  }

.menu-icon {
  display: block;
  cursor: pointer;
  font-size: 24px;
  color: #2b2b2b;
  position: absolute;
  margin-top: 20px;
  margin-right: 10px;
  top: 0;
  right: 0;
  z-index: 10;
}

nav {
  background-color: #ffffff;
  color: #2b2b2b;
  padding: 10px 0;
  position: absolute;
  z-index: 9;
  transition: top 0.3s;
  }

nav.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  }
  

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 20px;
  font-family: Arial, Helvetica, sans-serif;
  }

nav ul {
  list-style: none;
  display: flex;
  }

nav li {
  margin-right: 5px;
  }

nav a {
  position: relative;
  text-decoration: none;
  color: #2b2b2b;
  font-weight: bold;
  font-size:15px;
  font-family: "poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-left: 10px;
  }

nav a:hover{
  color:#293ff9;
  transition: 0.3s;
  }

nav a::after{
  display: block;
  content: "";
  width: 0;
  height: 1px;
  background-color: #293ff9;
  transition: 0.3s;
  }

nav a:hover::after {
  width: 0;
  }

.nav-list {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}

.nav-list li {
  border-bottom: 1px solid #ececec;
  margin-right: 0;
}

.nav-list li a {
  display: block;
  position: relative;
  padding: 10px 20px;
  color: #333;
  text-align: left;
}

.kursy-dropdown {
  position: relative;
}

.kursy-dropdown-content {
  display: none;
  flex-direction: column;
  position: static;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}

.kursy-dropdown-content li {
  border-bottom: 1px solid #ececec;
  margin-right: 0;
}

.kursy-dropdown-content li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-align: left;
}

.kursy-dropdown:focus-within .kursy-dropdown-content a {
  display: block;
}

/* Desktop styles for navigation bar */
@media only screen and (min-width: 768px) {
  .menu-icon {
  display: none;
  }
  .nav-list {
  display: flex;
  flex-direction: row;
  position: relative;
  }
  
  .nav-list li {
  padding: 0;
  border: none;
  margin-right: -10px;
  }

  .nav-list li a {
  padding: 0 15px;
  color: #333;
  }

  nav a:hover::after {
  width: 90%;
  }
  

  .kursy-dropdown {
    position: relative;
  }

  .kursy-dropdown > a:hover::after {
    width: 0;
  }

  .kursy-dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
    width: max-content;
    background-color: #ffffff;
    z-index: 1;
  }

  .kursy-dropdown:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    background: transparent;
}

  .kursy-dropdown-content li a {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    display: block;

  }

  .kursy-dropdown-content a{
    width: max-content;
    margin-left: 0px;
    margin-right: 10px;
  }

  .kursy-dropdown:hover .kursy-dropdown-content {
    display: block;
  }
}


/* Title */

  .about-us{
      margin-top: 150px;
  }
  .description h1{
      /* margin-top: 235px; */
      font-size: 38px;
      font-weight: 500;
      font-family: "poppins";
      text-align: center;
      
  }
  .description span{
      color: #293ff9;
  }
  .desc_about_us{
      margin: 15px 20px 0 20px
  }
  .description p{
      width: 75%;
      text-align: center;
      margin: auto;
  }

  .photos_all{
      margin: 100px auto;
      display: flex;
      flex-wrap: wrap;
      max-width: 90%;
  }

  .photos_all img{
      display: block;
      margin-right: auto;
      margin-left: auto;
      height: 250px;
      width: 250px;
      border-radius: 80%;
  }

  .photos_all h2{
      margin-top: 20px;
      text-align: center;
  }
  .photos_all h3{
      text-align: center;
  }
@media only screen and (min-width: 900px){
  .person1{
      float: left;
      width: 33.33%;
      padding: 5px;
      margin-bottom: 50px;
  }

  .person2{
      width: 40%;
      padding: 5px;
      margin-bottom: 50px;
  }
  .last_two{
      width: 100%;
      display: flex;
      margin-left: 18%;
  }
}
  footer {
      background-color: #2b2b2b;
      color: #2b2b2b;
      padding: 30px;
      margin-top: 30px;
  }


  .footer-section {
      display: flex;
      /* flex-wrap: wrap; */
      /* flex-direction: column; */
      background-color: #2b2b2b;
      text-align: right;
      margin-left: 5%;
      margin-right: 5%;
      justify-content: space-between;
      align-items: center;
  }

  .footer-section p {
      margin: 0;
  }

  .footer_type {

    font-size: 16px;
    line-height: 1.5;
    font-family: "poppins", sans-serif;
    color: #ffffff;
    margin-right: 50px;
    
  }

  .Type_section {

    font-size: 16px;
    line-height: 1.5;
    font-family: "poppins", sans-serif;
    font-weight: 300;
    color: #2b2b2b;
  
    
  }
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #2b2b2b;
  }

  .linki {
    font-size: 14px;
      font-family: "poppins", sans-serif;
      font-weight: 300;
      color: #293ff9;
      text-decoration: none;
      margin-top: 10px;
  }
@media only screen and (max-width: 900px){
    .photos_all{
      margin: auto;
      align-self: center;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      width: 100%;
  }
    .person1{
      margin-top: 50px;
    }
    .person2{
      margin-top: 50px;
    }
    .footer-section{
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      background-color: #2b2b2b;
      text-align: center;
      margin-left: 5%;
      margin-right: 5%;
      justify-content: space-between;
      align-items: center;
    }

}
