html,
body {
  margin: 0px;
  height: 100%;
  background-image: url(../img/background/background.jpg);
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

.container {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0;
  padding: 0;
  max-width: 100%;
}

header .nav-link {
  color: white;
  font-size: 1.3em;
}

h1 {
  color: white;
}

h4 {
  font-weight: 500;
}

#mobile-menu {
  display: none;
}

iframe {
  width: 650px !important;
  height: 366px !important;
}

.movie-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.movie-modal-content {
  background-color: rgba(0, 0, 0, 0.9);
  margin: auto;
  padding: 20px;
  width: 100%;
  height: 100%;
}

#video {
  margin: auto;
}

.close {
  color: #aaaaaa;
  text-align: right;
  float: right;
  font-size: 36px;
  font-weight: bold;
  padding-right: 10px;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  padding: 5px 5px 0 5px;
}

.poster-div {
  text-align: center;
  margin: 10px;
  order: 1;
}

.poster-img {
  width: 90%;
}

.space-div {
  display: none;
}

.info-div {
  text-align: center;
  margin: 10px;
  order: 2;
}

.title {
  margin-bottom: 35px;
}

.actors {
  margin-bottom: -10px;
}

.group-div {
  display: grid;
  grid-template-columns: 85% 15%;
  grid-template-areas: 'button restrictions';
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 12%;
}

.button-div {
  grid-area: button;
}

.trailer-button {
  display: block;
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
  height: 35px;
  width: 150px;
  background-color: rgb(0, 90, 217);
  color: white;
  border-radius: 5px;
  border: none;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 3px 3px 2px rgb(20, 0, 108);
}

.trailer-button:hover {
  background-color: white;
  color: rgb(0, 90, 217);
}

.restrictions {
  grid-area: restrictions;
  align-self: center;
  justify-self: center;
}

.pg {
  width: 40px;
}

.in-cinemas {
  margin: 15px 0 10px 0;
}

.about {
  margin: 25px 35px 35px 35px;
}

.get-ticket {
  margin: 15px 0 10px 0;
}

.cinemas {
  margin: 25px 0 0 0;
}

.cinema-logo {
  height: 30px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.cinema-small {
  height: 25px;
  margin-top: 20px;
  margin-right: 30px;
}

.uppercase {
  text-transform: uppercase;
}

.temp-header {
  font-size: 4em;
}

.temp-header-div {
  margin-top: 150px;
}

.card-container {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  margin-top: 25px;
  margin-bottom: 25px;
  width: 18rem;
  justify-self: center;
  background-color: rgba(0, 0, 0, 0.2);
  border-color: white;
  border-radius: 20px;
  text-decoration: none;
}

.footer {
  height: 50px;
}

.card-title {
  text-align: center;
  color: white;
}

.card-text {
  text-align: center;
  color: white;
  margin-top: 20px;
}

.card-img-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 100%;
}

.card-img-div {
  height: 90%;
  overflow: hidden;
}

.signin-body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.signin-div {
  width: 100%;
  width: 400px;
  padding: 15px;
  margin: auto;
}

.signin-div .checkbox {
  font-weight: 400;
}

.signin-div .form-floating:focus-within {
  z-index: 2;
}

.signin-div input[type='email'] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.signin-div input[type='password'] {
  margin-bottom: 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.signin-div button,
#new-movie-btn,
#new-user-btn,
#new-cinema-btn,
#reset-password {
  background-color: rgb(0, 90, 217);
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
  color: white;
  border-radius: 5px;
  border: none;
  box-shadow: 3px 3px 2px rgb(20, 0, 108);
  width: 200px;
  justify-items: center;
  margin-top: 20px;
}

#stopped-movie-btn {
  background-color: rgb(0, 90, 217);
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  color: white;
  border-radius: 5px;
  border: none;
  box-shadow: 3px 3px 2px rgb(20, 0, 108);
  width: 200px;
  justify-items: center;
  margin-right: 25px;
}

#delete-movie-btn {
  background-color: rgb(217, 0, 0);
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
  color: white;
  border-radius: 5px;
  border: none;
  box-shadow: 3px 3px 2px rgb(108, 0, 0);
  width: 200px;
  justify-items: center;
  margin-top: 20px;
}

.fw-normal {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.form-signin {
  text-align: center;
}

.modalLine {
  margin: 1.5rem auto 1.1rem auto;
  width: 90%;
  height: 1px;
  background-color: lightgray;
}

.modalText {
  text-align: center;
}

.first-password {
  color: black !important;
  font-size: 1.1rem !important;
}

.btn--small {
  padding: 1.25rem 3rem !important;
  font-size: 1.4rem !important;
}

.account-main {
  background-color: white;
}

.item-view {
  max-width: 80%;
  margin: 20px auto;
  min-height: 100vh;
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.07);
  box-shadow: 0 2.5rem 8rem 2rem rgba(0, 0, 0, 0.07);
  display: flex;
}
.item-view__menu {
  padding: 25px 0;
}
.item-view__content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 25px 0;
}
.item-view__form-container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.side-nav {
  list-style: none;
}

.side-nav li {
  border-left: 0 solid #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.side-nav--active,
.side-nav li:hover {
  border-left: 4px solid #fff !important;
}

.side-nav--active a {
  -webkit-transform: translateX(-3px);
  transform: translateX(-3px);
}

.side-nav a:link,
.side-nav a:visited {
  padding: 1rem 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.side-nav a:hover,
.side-nav a:active {
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
}

.side-nav i {
  height: 1.9rem;
  width: 1.9rem;
  fill: #f7f7f7;
  margin-right: 2rem;
}

.admin-nav {
  margin-top: 25px;
}

.admin-settings {
  margin-top: 5rem;
}

.admin-nav__heading {
  margin: 0 5rem 1.5rem 4rem;
  padding-bottom: 3px;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #f2f2f2;
  border-bottom: 1px solid currentColor;
}

.list-group-item {
  background: rgba(0, 0, 0, 0);
  color: white;
  align-items: center;
}

.item-first {
  grid-area: first;
}

.item-second {
  grid-area: second;
}

.item-third {
  grid-area: third;
}

.item-buttons {
  grid-area: buttons;
}

.item-first-movie-title {
  margin-bottom: 0.25rem;
}

.item-first-movie-url {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.movie-item-settings {
  display: grid;
  grid-template-columns: 4fr 2fr 1fr 2fr;
  grid-template-areas: 'first second third buttons';
  border-bottom: solid 1px gray;
  margin-right: 25px;
}

.user-item-settings {
  display: grid;
  grid-template-columns: 3fr 3fr 1fr 2fr;
  grid-template-areas: 'first second third buttons';
  border-bottom: solid 1px gray;
  margin-right: 25px;
}

.cinema-item-settings {
  display: grid;
  grid-template-columns: 3fr 4fr 2fr;
  grid-template-areas: 'first second buttons';
  border-bottom: solid 1px gray;
  margin-right: 25px;
}

.item-header {
  font-weight: bold;
  border-bottom: solid 3px gray;
}

#change-button {
  margin-right: 10px;
}

#delete-movie-button,
#delete-cinemas-button {
  margin-left: 10px;
}

.cinema-link {
  text-decoration: none;
  color: white;
}

.form-check-label-cinemas {
  color: white;
  font-size: 1.1rem;
}

.info-title {
  align-items: center;
}

.title-logo {
  justify-self: right;
  margin-right: 0 !important;
  margin-bottom: 0;
  height: 30px;
}

.title-logo-div {
  text-align: right;
  padding-left: 0;
}

.movie-logo {
  margin-bottom: 0;
  height: 86px;
}

#cinemas {
  margin-top: 10px;
  margin-left: 10px;
  align-items: center;
  height: 35px;
}

#admin-checkbox,
#new-poster-checkbox,
#new-logo-checkbox {
  margin-top: 20px;
  color: white;
  font-size: 1.3rem;
}

.movie-website {
  height: 30px;
  margin-top: 5px;
  display: none;
}

.line {
  margin: 2rem auto;
  width: 90%;
  height: 1px;
  background-color: white;
}

.span-label {
  color: white;
  font-size: 1.1rem;
}

.youtube-modal {
  background-color: white;
  margin: auto;
  padding: 20px;
}

.youtube-img {
  width: 400px;
}

.center {
  text-align: center !important;
  margin-top: 15px;
}

.right {
  text-align: right !important;
}

.forgot-password {
  margin-top: 20px;
  color: white;
  font-size: 0.9rem;
}

/*  */
.alert {
  position: fixed;
  top: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 9999;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  width: 450px;
  padding: 1rem 10px;
  -webkit-box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
}

.alert--success {
  background-color: rgb(0, 90, 217);
  box-shadow: 3px 3px 2px rgb(20, 0, 108);
}

.alert--error {
  background-color: rgb(169, 38, 35);
  box-shadow: 3px 3px 2px rgb(60, 6, 5);
}

.error-text {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 500;
  margin-top: 25px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.heading-first--error {
  font-size: 5rem;
}

.heading-secondary--error {
  font-size: 3rem;
}

.heading-third--error {
  font-size: 2rem;
}

.paragraph--error {
  text-transform: none;
  font-size: 1.4rem;
}

.backend-heading-secondary {
  color: white;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1rem;
  line-height: 1.3;
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 20px;
}

.account-btn {
  margin-top: 25px;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.label {
  color: white;
  margin-top: 15px;
  font-size: 1.3rem;
}

.error {
  color: white;
  position: absolute;
  top: 35%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 80rem;
  text-align: center;
}

.new-item-btn {
  text-transform: uppercase;
}

.new-button-div {
  text-align: right;
}

#mobile-menu-btn {
  display: none;
}

@media only screen and (min-width: 1200px) {
  #mobile-menu-btn {
    display: none;
  }

  iframe {
    width: 975px !important;
    height: 549px !important;
  }

  .main-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding: 5% 8% 0 10%;
  }

  .card-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .poster-img {
    width: 375px;
  }

  .space-div {
    display: block;
    order: 1;
    width: 50px;
  }

  .info-div {
    text-align: left;
    width: 750px;
  }

  .title {
    margin-bottom: 35px;
  }

  .actors {
    margin-left: 0;
  }

  .director {
    margin-left: 0;
  }

  .group-div {
    margin-left: 0;
  }

  .trailer-button {
    margin-left: 0;
  }

  .about {
    margin: 25px 0 35px 0;
  }
}

@media only screen and (max-width: 900px) {
  .container .nav {
    display: none;
  }

  #mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border: none;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    background-color: transparent;
    padding: 0;
    margin-right: 0.75rem;
  }

  #mobile-menu-btn span {
    width: 2.25rem;
    height: 0.2rem;
    background-color: white;
  }

  #mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    height: calc(100vh - 80px);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 2;
  }

  #mobile-menu.open {
    display: flex;
  }

  #mobile-menu .nav {
    height: 20rem;
    margin: 1rem auto;
    flex-direction: column !important;
    align-items: center;
    font-size: 2rem;
  }

  #mobile-menu .nav-item a {
    color: white;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .alert {
    width: 400px;
  }
}
