﻿@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900');

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #DDC118;
  background-image: url('../images/challengeItBg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.main-title{
  margin: 2rem 0px;
}


a:hover {
  text-decoration: none;
}

.link {
  color: #ffeba7;
}

  .link:hover {
    color: #c4c3ca;
  }

p {
  font-weight: 500;
  font-size: 14px;
}

h3 {
}

  h3 span {
    padding: 0 20px;
    font-weight: 700;
  }

h4 {
  color: black;
  font-weight: 600;
}

h4 span {
  padding: 0 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  h4 {
    font-size: 1rem;
  }

  .main-container {
    height: auto;
    padding-top: 40px;
  }

  .container{
    padding:0;

  }
}


footer {
  /*position: absolute;*/
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  text-align: center;
  padding: 10px 0;
}

.section {
  position: relative;
  width: 100%;
  display: block;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  display: none;
}

.checkbox:checked + label,
.checkbox:not(:checked) + label {
  position: relative;
  display: block;
  text-align: center;
  width: 60px;
  height: 16px;
  border-radius: 8px;
  padding: 0;
  margin: 10px auto;
  cursor: pointer;
  background-color: #2E8BC0;
}

  .checkbox:checked + label:before,
  .checkbox:not(:checked) + label:before {
    position: absolute;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #2E8BC0;
    background-color: #020305;
    font-family: 'unicons';
    content: '\eb4f';
    z-index: 20;
    top: -10px;
    left: -10px;
    line-height: 36px;
    text-align: center;
    font-size: 24px;
    transition: all 0.5s ease;
  }

  .checkbox:checked + label:before {
    transform: translateX(44px) rotate(-270deg);
  }

.card-3d-wrap {
  position: relative;
  width: 600px;
  max-width: 100%;
  height: 550px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  perspective: 800px;
}

.card-3d-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: all 600ms ease-out;
}

.card-front, .card-back {
  width: 100%;
  height: 100%;
  background-color: #2b2e38;
  position: absolute;
  border-radius: 6px;
  -webkit-transform-style: preserve-3d;
}

.card-back {
  transform: rotateY(180deg);
}

.checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
  transform: rotateY(180deg);
}

.center-wrap {
  position: absolute;
  width: 100%;
  padding: 0 35px;
  top: 50%;
  left: 0;
  transform: translate3d(0, -47%, 35px) perspective(100px);
  z-index: 20;
  display: block;
}

.form-group {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

.form-style {
  padding: 13px 20px;
  padding-left: 55px;
  height: 48px;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.5px;
  outline: none;
  color: #c4c3ca;
  background-color: #1f2029;
  border: none;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);
}

  .form-style:focus,
  .form-style:active {
    border: none;
    outline: none;
    box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);
  }

/* Nastaví prvky vedle sebe na velkých obrazovkách */
.form-row {
  display: flex;
  gap: 10px; /* Mezera mezi poli */
  flex-wrap: wrap; /* Umožní zalomení na menších obrazovkách */
}

.form-group {
  flex: 1; /* Zajistí, že každé pole bude mít stejnou šířku */
}

/* Media query pro menší obrazovky (tablety a telefony) */
@media (max-width: 768px) {
  .form-style{
    height: 42px;
    border-radius: 10px;
  }

  .form-row {
    flex-direction: column; /* Sloupce se zobrazí pod sebou */
  }

  .ml-5 {
    margin-left: 0 !important; /* Zruší odsazení, pokud je na menších zařízeních */
  }
}

.input-icon {
  position: absolute;
  top: 0;
  left: 18px;
  height: 48px;
  font-size: 24px;
  line-height: 48px;
  text-align: left;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.btn {
  border-radius: 4px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  padding: 0 30px;
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  background-color: rgba(250, 250, 0,0.5);
  color: #000000;
}

  .btn:hover {
    background-color: #000000;
    color: #ffeba7;
    box-shadow: 0 8px 24px 0 rgba(16,39,112,.2);
  }

.txt-center {
  text-align: center;
}

.txt-white {
  color: white;
}

.text-black {
  color: black;
}

.logo {
  width: 40vw;
}

.mt-4{
  margin-top: 4rem !important;
}

.mb-2{
  margin-bottom : 2rem !important;
}

@media (max-width: 500px) {
  .main-title {
    margin: 0;
  }
}

/* Google button */
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #3c4043;
  padding: 10px 15px;
  width: 100%;
  max-width: 280px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

  .google-btn:hover {
    background-color: #c7c8c9;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
  }

  .google-btn:focus {
    outline: none;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  }

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}