@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&display=swap');

@font-face {
    font-family: samurai;
    src: url(samurai.ttf);
}

html {
    scroll-behavior: smooth;
}

body{
    margin: 0 auto;
    min-height: 100vh;
    background-color: #202020;
    /*background: repeating-linear-gradient( 45deg, #443f3f, #443f3f 7px, #202020 7px, #202020 35px );*/
    font-family: 'Roboto', sans-serif;
    background-image: url(../img/scb.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
}

a{color: white; text-decoration: none;}
h4 a{color: #d02630}
.phone{color: #d02630;}

header{
    padding: 10px;
    width: auto;
    margin: 0 auto;
    color: #fff;
    display: flex;
    font-family: samurai;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.heading{width: 23em; margin-left: 6em;}

.logo{
    background-size: contain;
    background-position: center;
    background-image: url('../img/s1.png');
    display: none;
    min-width: 120px;
    min-height: 120px;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-color: #3f3d3d;
    margin: 0 auto;
}

.logo:hover{
    background-image: url('../img/sc.png');
}

.head-text{
    font-size: 1em;
    margin: 0 auto;
    display: none;
    width: 15%;
}

.container {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }
  
  .card {
    width: 60%;
    height: 80%;
    max-height: 300px;
    padding: auto;
    text-align: center;
    border-radius: 10px;
  }
  .card__container {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    color: white;
    display: none;
  }
  .card__content {
    width: 90%;
    height: 85%;
    background: #fff;
    margin: 10px auto;
    border-radius: 5px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 10px 10px 22px #000;

  }
  .card__content:hover {
    margin-top: -10px;
  }
  .card__header {
    text-transform: uppercase;
    margin: 30px auto;
    background-color: rgba(208, 38, 48, 0.75);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
  }
  .card__button {
    padding: 10px;
    border-radius: 50px;
    background: #d02630;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin: 30px auto;
  }

  .mma__button{
    padding: 10px;
    border-radius: 50px;
    background: #d02630;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-top: 10px;
  }

  .rozvrh-box, .sfc-box, .thai-box, .karate-box, .mma-box, .cross-box{
      width: 60%;
      margin: 0 auto;
      padding: 20px;
      color: #fff;
      background-color: #202020;
      border-radius: 20px;
      margin-top: 5rem;
      display: none;
      box-shadow: 4px 4px 9px 7px rgba(0,0,0,0.75);

  }



  .nadpis{
      text-align: center;
  }

  #customers {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
  }
  
  #customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
  }
  
  #customers tr:nth-child(even){background-color: #d02630}
  
  #customers tr:hover {background-color: #ddd; color: #202020}
  
  #customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
  }

  .sfc-box, .thai-box, .karate-box, .mma-box,.cross-box{
      text-align: center;
  }

  .profil{
    color: #202020;
    background-color: white;
    padding: 10px;
    width: 50%;
    margin: 0 auto;
    border-radius: 10px;
  }

  .osoba{
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background-size: contain;
      margin: 0 auto;
  }

  #kolar{
      background-image: url(https://bit.ly/3rZNbKu);
  }

  .contact-box{
      color: #fff;
      margin-top: 20px;
      padding: 20px;
      background-color: #191a19;
      width: auto;
  }
.social-media{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
    width: 30%;
}

.social-media-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  width: 30%;
}
  .social-logo{
      margin: 0 auto;
      width: 50px;
      height: 50px;
      background-size: contain;
      background-position: center;
      border-radius: 50%;
  }

  #fb{background-image: url(../img/fb.png);}
  #ig{background-image: url(../img/ig.png);}
  #yt{background-image: url(../img/yt.png);}


  .typed-text {
    width: auto;
    margin-left: 5%;
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    letter-spacing: .15em;
    animation: 
      typing 3.5s steps(40, end),
      blink-caret .75s step-end infinite;
      color: #fff;
    display: none;  
  }

  #one, #two, #three, #four{
    
  }
  
  /* The typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 20% }
  }
  
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    20% { }
  }

  .cont{
    margin-top: 5em;
    text-align: center;
  }

  .cover-photo{
    width: 80%;
    padding-top: 1em;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
  }

  iframe{
    margin: 0 auto;
    border-radius: 20px !important;
    display: block;
    padding-top: 20px;
    border: none;
  }

#thaiboxing{
  background-image: url(http://www.nappark.com/image/data/NapPark/Catalog/Activities/Activity/mtgp.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#karatekid{
  background-image: url(https://bit.ly/3LMSKUc);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#mmacko{
  background-image: url(https://bit.ly/3HfDk7L);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#crossko{
  background-image: url(https://bit.ly/3IjcMUq);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#gym{
  background-image: url(https://bit.ly/3h1R0Zf);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  
}

#mapicka{
  margin: 0 auto;
}

.profil ul li{}

.typ{
  display: block;
  height: 32px;
  padding: 10px;
}

  /* Responsive */

  @media only screen and (max-width: 1201px) {

    .heading{
      display: none;
    }

    .head-text{
      display: none !important;
    }
  }  

  @media only screen and (max-width: 600px) {


    body{
      overflow-x: hidden;
      width: auto;
    }

      header {
        width: auto;
      }

      .container{
          width: auto;
      }
      .card__container{
          grid-template-columns: 1fr;
      }


      .rozvrh-box, .sfc-box,.thai-box, .karate-box, .mma-box,.cross-box{
          width: auto;
      }


      .profil{
          width: 90%;
      }

      .heading{
          display: none;
      }

      #typed-text{
        width: 100%;
      }

      #customers{
            display: block;
    overflow: auto;
      }

      .head-text{display: none !important;}

      #customers td, #customers th {
        border: 1px solid #ddd;
        padding: 2px;
      }
      iframe{
        width: 283px;
        margin-left: 8%;
      }

    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }
    
    @keyframes blink-caret {
      from, to { border-color: transparent }
      100% { }
    }

    .social-media, .social-media-2{
      width: 100%;
    }

    .card__content{
      padding: 0;
    }

    .card__button{
      display: none;
    }

    .card__content{
      height: 0;
    
    }

    #mma{
      margin-bottom: 14px;
      margin-top: 20px;
    }

    .card{
      margin-top: 10px;
    }

    .card__content:hover {
      margin-top: 0px;
    }

    #mapicka{
      width: 90%;
    }

    .gmap_canvas{
      width: 300px !important;
    }
  }