@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&amp;display=swap');
@import url('https://fonts.googleapis.com/css?family=MedievalSharp');


:root {
    --main-color: #141527;
    --bg-color: #729fb6;
    --second-bg-color: #B3D0DE;
    --text-color:#E5D283;
}
.main_page_index {
    background-color: var(--bg-color);
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background-image: url(main2.jpg);
    background-size: cover;
    background-position: 71%;

}


.title {
    display: flex;
    width: 100%;
    height: 10%;
    background-color: transparent;
    font-size: clamp(2rem, 5.3vw, 5.6rem) !important;
    padding-right: 5%;
    padding-left: 5%;
    text-align: center;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    transition: 1s;
    color: var(--text-color);
    font-family: MedievalSharp;
  }
  .title:hover {
    color: var(--second-bg-color);
}

  .blank_main_line {
    height: 8%;
    background: transparent;
  }



  .partners {
    height: 25vh;
    width: 100%;
    color: var(--text-color);
    background-color: #31425d;
    -webkit-box-shadow: 0px -30px 100px 0px rgba(20, 21, 39, 1);
    -moz-box-shadow: 0px -30px 100px 0px rgba(20, 21, 39, 1);
    box-shadow: 0px -30px 100px 0px rgba(20, 21, 39, 1);
    overflow: hidden;
  }
  .partner_title {
    font-size: clamp(1.5rem, 5vw, 1.7rem);
    padding: 1.2%;
    text-align: center;
  }
.partner_line {
    display: flex;
    position: relative;
    height: 70%;
    width: 100vw;
    align-items: center;
    overflow: hidden;
}
.partner_0 {
    position: absolute;
    border-radius: 10%;
    left:-40%;
    height: clamp(100px, 5vw, 150px);
    width: clamp(100px, 5vw, 150px);
    background-image: url(logo_czersk.png);
    background-size: contain;
    animation: spin_around 24s infinite linear;
    animation-delay: 0s;
    background-repeat: no-repeat;
    background-color: white;
    background-position: 50% 50%;
}
.partner_1 {
    position: absolute;
    border-radius: 10%;
    left:-40%;
    height: clamp(100px, 5vw, 150px);
    width: clamp(100px, 5vw, 150px);
    background-image: url(logo_grun.png);
    background-size: contain;
    animation: spin_around 24s infinite linear;
    animation-delay: 1.5s;
    background-repeat: no-repeat;
    background-color: white;
    background-position: 50% 50%;
}
.partner_2 {
    position: absolute;
    border-radius: 10%;
    left:-40%;
    height: clamp(100px, 5vw, 150px);
    width: clamp(100px, 5vw, 150px);
    background-image: url(logo_jac.png);
    background-size: contain;
    animation: spin_around 24s infinite linear;
    animation-delay: 3s;
    background-repeat: no-repeat;
    background-color: white;
    background-position: 50% 50%;
}
.partner_3 {
    position: absolute;
    border-radius: 10%;
    left:-40%;
    height: clamp(100px, 5vw, 150px);
    width: clamp(100px, 5vw, 150px);
    background-image: url(logo_kal.png);
    background-size: contain;
    animation: spin_around 24s infinite linear;
    animation-delay: 4.5s;
    background-repeat: no-repeat;
    background-color: white;
    background-position: 50% 50%;
}
.partner_4 {
  position: absolute;
  border-radius: 10%;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_kamie.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 6s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_5 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_muzeum.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 7.5s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_6 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_nowe.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 9s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_7 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_podlaskie.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 10.5s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_8 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);  
  background-image: url(logo_pozytywnie.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 12s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_9 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_saltus.jpg);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 13.5s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_10 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_sok.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 15s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}


.partner_11 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_suwalski.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 16.5s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_12 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_terra.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 18s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_13 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_towarzystwo.jpg);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 19.5s;
  background-repeat: no-repeat;
  background-color: white;
  background-position: 50% 50%;
}

.partner_14 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_zakroczym.jpg);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 21s;
  background-repeat: no-repeat;
  background-color: white;    
  background-position: 50% 50%;
}


.partner_15 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_suv.png);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 22.5s;
  background-repeat: no-repeat;
  background-color: white;    
  background-position: 50% 50%;
}


.partner_16 {
  border-radius: 10%;
  position: absolute;
  left:-40%;
  height: clamp(100px, 5vw, 150px);
  width: clamp(100px, 5vw, 150px);
  background-image: url(logo_szkola.jpg);
  background-size: contain;
  animation: spin_around 24s infinite linear;
  animation-delay: 24s;
  background-repeat: no-repeat;
  background-color: white;    
  background-position: 50% 50%;
}





@keyframes spin_around {
    0% { left: -10%; }
    50% { left: 100%;}
    100% { left: 100%;}
  }


.button_lines {
    display: flex;
    width: 100vw;
    height: 20vh;
    justify-content: space-around;
}
.shield_button_0 {
    text-align: center;
    border-radius: 0px 46px 150px 150px;
    background-color: #2d3852;
    height: 135px;
    width: 130px;
    font-size: 1.5rem;
    transition: 1s;
    -webkit-box-shadow: 0px 0px 68px 5px rgba(33, 34, 49, 1);
    -moz-box-shadow: 0px 0px 68px 5px rgba(33, 34, 49, 1);
    box-shadow: 0px 0px 68px 5px rgba(33, 34, 49, 1);
}

.shield_button_0:hover {
    background-color: rgb(25, 27, 41);
}
.shield_button_0:hover .text_shield{
    color: var(--second-bg-color);
}
.text_shield {
    margin-top: 25%;
    color: var(--text-color);
    transition: 1s;
}
.blank_down_main_line {
    height: 50vh;
    width: 100vw;
}

.salius {
  text-decoration: none;
  color: var(--bg-color);
}


@media(max-width: 1000px){

  @keyframes spin_around {
    0% { left: -30%; }
    40% { left: 100%;}
    100% { left: 100%;}
  }

}


@media(max-width: 700px){

  @keyframes spin_around {
    0% { left: -30%; }
    30% { left: 100%;}
    100% { left: 100%;}
  }

}
@media(max-width: 530px){

  @keyframes spin_around {
    0% { left: -30%; }
    20% { left: 100%;}
    100% { left: 100%;}
  }

}

@media(max-width: 550px){
  .mid_shield {

      display: none;
  }
  .shield_button_0 {
    font-size: 1.2rem;
    height: 115px;
    width: 100px;

  }
}

@media(max-width: 350px){
  .partners {
    height: 35vh;
  }
}

@media(max-height: 860px){
  .partners {
    height: 35vh;
  }
}