@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import "colors.css";
@import "responsive.css";

body{
  font-family: Noto Sans;
  background: var(--fbgdark);
  min-height: 100vh;
  color: var(--fwhite);
  margin: 0 1.5%;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
a{
  color: var(--fwhite);
  text-decoration: none;
}
#main{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.userinfo{
  width: 100%;
}
.userinfo strong{
  font-size: 20px;
  margin-bottom: 4px;
  text-shadow: 4px 4px 5px var(--oprimary);

}
.change{
  text-align: left;
  width: 100%;
  margin-left: 4%;
}
.userinfo .button{
  float: left;
  width: auto;
}
/*nawigacja*/
#nazwa{
  font-size: 20px;
  font-weight: bold;
  color: var(--fwhite);
  text-decoration: none;
  transition: 0.2s ease;
}
#nazwa:hover{
  text-shadow: 3px 5px 10px var(--oprimary);
  font-size: 22px;
  transition: 0.2s ease;
}
nav{
  color: var(--fwhite);
  background-color: var(--fnav);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul{
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
  transition: 0.2s ease;
}
nav ul li{
  margin: 0.25px;
  text-align: center;
  display: flex;
  transition: 0.2s ease;
}
nav ul li > *{
  color: var(--fwhite);
  padding: 14px 15px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s ease;
}
nav ul li a:hover{
  font-size: 18px;
  text-shadow: 3px 5px 10px var(--oprimary);
  transition: 0.2s ease;
}
nav ul li a:active{
  transition: none;
  text-shadow: 3px 5px 10px var(--oprimary);
  font-size: 18px;
  transition: 0.2s ease;
}
nav ul li span.nav-username{
  font-weight: bold;
  padding: 0px;
  margin-left: 10px;
  color: #7f04ab;
  transition: 0.2s ease;
}

/*panel administratora*/
#gattable{
  text-align: center;
  width: 100%;
}
.table{
  margin: 2%;
  transition: 0.2s ease;
}
.table:hover{
  font-size: 18px;
  color: var(--flight);
  text-shadow: 4px 6px 9px var(--oprimary);
  transition: 0.2s ease;
}
.id-col {
  font-weight: bold;
  margin-right: 20px;
}

/*slider*/
.slider {
    width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*logowanie/rejestracja/panel administratora*/
.srodek, .tabsrodek{
  border: 2px solid var(--flight);
  box-shadow: 6px 10px 10px var(--fprimary);
  border-radius: 35px;
  color: var(--fwhite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  width: 40%;
  height: auto;
  margin: 50px auto;
  text-align: center;
  text-shadow: 4px 4px 5px var(--fprimary);
}

.tabsrodek{
  width: 75%;
  justify-content: center;
}

.reglog, .edit, .user{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  gap: 15px;
}

.reglog input, .edit input, .user input{
  margin-bottom: 5%;
  margin-top: 2%;
  width: 90%;
  padding: 10px 15px;
  border-radius: 15px;
  border: 2px solid var(--fprimary);
  background-color: var(--fbgdark);
  color: var(--fwhite);
  font-size: 16px;
  transition: 0.2s ease;
}

.edit input{
  width: 97%;
  margin-right: 3%;
}

.reglog input:focus, .edit input:focus, .user input:focus{
  outline: none;
  border-color: var(--oprimary);
  box-shadow: 0 0 10px var(--oprimary);
}

.reglog label, .edit label .user label{
  margin-bottom: 5px;
  font-weight: bold;
  width: 90%;
  text-align: left;
  float: left;
}

.edit label{
  width: 100%;
}

.reglog button, .edit button, .button, .user button {
  padding: 12px 20px;
  border: 2px solid var(--fprimary);
  border-radius: 20px;
  background-color: var(--fbgdark);
  color: var(--fwhite);
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
  width: 50%;
}

.edit .editbt{
  float: left;
  margin: 1.5%;
  width: 47%;
}

.reglog button:hover, .edit button:hover, .user button:hover{
  box-shadow: 0 0 10px var(--oprimary);
  transform: scale(1.05);
}

.tabselect th{
  width: auto;
  max-width: 10%;
}

.tabselect td{
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.tabselect th, .tabselect td{
  padding-right: 20px;
}

.tabselect th:last-child, .tabselect td:last-child{
  padding-left: 2px;
  padding-left: 2px;
}

.tabselect .action{
  display: flex;
  justify-content: center;
}

.tabselect .editbt{
  border: 1px solid var(--fprimary);
  padding: 1%;
}
/*film*/
.button{
  width: 100%;
  margin-bottom: 5%;
}
.custom-checkbox input {
  display: none;
}

.custom-checkbox span {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 40% 40% 12% 12%;
  border: 2px solid var(--oprimary);
  background-color: var(--fbgdark);
  margin: 5px;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.custom-checkbox span.taken {
    background-color: var(--fprimary);
    border-color: var(--oprimary);
    cursor: not-allowed;
}

.custom-checkbox input:checked + span {
    background-color: var(--fprimlight);
    border-color: var(--oprimary);
}

.custom-checkbox input:checked {
  opacity: 1;
}

.custom-checkbox span:hover {
  box-shadow: 2px 2px 5px var(--oprimary);
  transform: scale(1.1);
}

#ekran{
  width: 80%;
  height: 30px;
  background: var(--owhite);
  margin: 5% 10%;
  color: var(--oblack);
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}


/*grane dzisiaj*/
.category {
  text-align: center;
  color: var(--fwhite);
  text-shadow: 5px 5px 10px var(--oprimary);
  margin-bottom: 5%;
}

#filmy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5%;
  justify-items: center;
  align-items: center;
  overflow: visible;
  width: 30%;
}

.film {
  width: auto;
  margin-bottom: 5%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  z-index: 1;
  box-sizing: border-box;
}

.film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  transition: box-shadow 0.3s ease;
  display: block;
}

.film:hover {
  transform: scale(1.05);
  z-index: 10;

}

.film:hover img {
  box-shadow: 0 0 15px 5px var(--ohover);
}

.film:hover .title, .filmtitle {
  text-align: center;
  color: var(--fwhite);
  text-shadow: 5px 5px 10px var(--oprimary);
}


.description {
  width: 400px;
  height: 100px;
}

.vid{
  margin-top: 2%;
  border: 3px solid var(--olight);
  border-radius: 35px;
  box-shadow: 0 0 15px 5px var(--ohover);
}

.niedostepny{
  text-align: center;
  font-size: larger;
  font-weight: bold;
}

/*footer*/
.site-footer {
  justify-content: center;
  border: 2px solid var(--olight);
  box-shadow: 6px 10px 10px var(--oshadow);
  border-radius: 35px;
  color: var(--fwhite);
  padding: 3%;
  margin: 3% 0%;
  margin-top: 15%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

.footer-column h4 {
  color: var(--fwhite);
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  font-size: 15.5px;
  color: var(--fwhite);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-column a:hover {
  font-size: 16px;
  text-shadow: 3px 5px 5px var(--oprimary);
  transition: 0.2s ease;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--fwhite);
  border-top: 1px solid var(--olighter);
  padding-top: 15px;
}


/*scrollbar*/
::-webkit-scrollbar {
  width: 4px; 
  height: 4px; 
}

::-webkit-scrollbar-track {
  background: var(--fdark);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--obgdark);
  border-radius: 6px;
}