*, *:before, *:after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

body {
	background-color: #CDCECC;
  padding: 15px;
  color: black;
  font-family: 'Times New Roman', Times;
  margin: 0;
  font-size: 1.6rem;
}

h1, h2, h3, h4, p, ul, ol, li, figure {
  font-size: initial;
  margin: 0;
  padding: 0;
  /* font-weight: normal; */
}

h2, p {
  font-size: 1.6rem;
}

em {
  font-style: italic;
}

iframe {
  width: 100%;
}

#main-wrapper {
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}
img {
    width: 100%;
}
.img-wrapper {
  width: 100px;
  position: relative;
  display: inline-block;
}
.img-wrapper img {
  display: block;
  position: absolute;
}

.navsmall {
  margin-bottom: 20px;
  z-index: 100;
}

.navsmall .item {
  border: 1px solid #3b42ae;
  color: #3b42ae;
  padding: 15px;
  text-align: center;
  cursor: pointer;
}

.navsmall .item a {
  color: #3b42ae;
  text-decoration: none;
}

.navsmall .item:hover {
  background-color: #3b42ae;
  color: black;
}

.navsmall .item:last-child {
  border-bottom: 1px solid #3b42ae;
}

.nav {
  z-index: 100;
  background-color: #CDCECC;
  border-top: 1px solid #3b42ae;
}

.nav .item {
  border-left: 1px solid #3b42ae;
  border-right: 1px solid #3b42ae;
  border-top: 0px;
  border-bottom: 1px solid #3b42ae;
  color: #3b42ae;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.nav a {
  color: #3b42ae;
  text-decoration: none;
}

.nav .item:hover {
  background-color: #3b42ae;
  color: #CDCECC;
}

#select {
  background-color: #3b42ae;
  color: #CDCECC;
  border-bottom: 1px solid #3b42ae;
}

#select a {
  color: black;
  text-decoration: none;
}

#logo {
  height: 200px;
}

.container {
  display: grid;
  grid-template-columns: 110px 1.2fr;
  grid-gap: 1em;
  grid-template-rows: 1fr;
  grid-template-areas: "One two";
}

/* .content a {
  text-decoration: none;
} */

.item-box {
  text-decoration: none;
}

.content .item, .content .iteminvisible {
  border:1px solid #3b42ae;
  color: #3b42ae;
  margin-bottom: 17px;
  padding: 20px;
  position: relative;
  display: block;
  cursor: pointer;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  min-height: 283px;
  text-align: center;
  text-decoration: none;
  line-height: 2.4rem;
}

.content .item h2, .content .item p {
  font-size: 1.7rem;
}

.content .item a {
  color: black;
  text-decoration: none;
}

.content .item:hover {
  background: #3b42ae;
  color: #CDCECC;
}

.content h1 {
  font-style: italic;
  margin-bottom: 10px;
  color: #ffffff;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.columns h2, .columns p {
  font-size: 1.2rem !important;
  line-height: 1.8rem !important;
}

@media(max-width: 800px) {
  .columns {
    grid-template-columns: 1fr;
  }
}

.movie-item {
  display: grid !important;
  grid-template-columns: 180px 2fr;
  border: 1px solid #3b42ae;
  padding: 0px !important;
  margin-bottom: 1rem;
  min-height: 130px !important;
}

.movie-item .cover {
  background-size: cover;
  background-position: center;
}

.archive-item {
  min-height: auto !important;
  border-color: #266b24 !important;
  color: #266b24 !important;
}

.archive-item:hover {
  background-color: #266b24 !important;
  color: #CDCECC !important;
}

.writing-item {
  border-color: #c05915 !important;
  color: #c05915 !important;
}

.writing-item:hover {
  background-color: #c05915 !important;
  color: #CDCECC !important;
}

.home-movie-item:hover {
  background-color: transparent !important;
}

.mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: -1;
  display: none;
}

.background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.1);
  transition: filter 4s;
  -webkit-transition: filter 4s;
  backface-visibility: hidden;
  filter: blur(10px);
}

@media(max-width: 535px) {
  .movie-item {
    padding: 10px !important;
    grid-template-columns: 30px 2fr;
    gap: 10px;
  }
  .movie-item .title {
    padding: 0 !important;
  }
  .movie-item .cover {
    height: 30px !important;
  }
}

.movie-item .title {
  text-align: left;
  text-decoration: none !important;
  padding: 10px;
}

.item p {
  line-height: 40px;
}

.item-label {
  margin-bottom: 1em;
  font-weight: bold;
  position: absolute;
  top: 10px;
  left: 10px;
}

.images img:hover ~ .uid {
  display: none;
}

.images .uid {
  display: none;
}

.clear {
  clear: both;
}

.current img {
  max-width: 100px;
}

.movie:hover {
  /* background: #5b9c25 !important; */
  background: #3b42ae !important;
  color: #CDCECC;

}

.writing:hover {
  background: #d8642e !important;
  color: #CDCECC;
}

.people:hover {
  background: #3b42ae !important;
  color: #CDCECC;
}

.all {
  position: relative;
  min-width: 600px;
}

.film iframe {
  width: 100%;
  height: 600px;
}

.film .dec {
  color: #3b42ae;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-bottom: 50px;
  /* text-align: center; */
  padding: 20px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  /* max-width: 800px;
  min-width: 400px; */
}

.film .dec p {
  margin-bottom: 20px;
}

.film .dec a {
  color: #3b42ae;
}

.film p {
  line-height: 30px;
  font-size: 25px;
}

#title {
  position: relative;
}

#title::after {
  display: block;
  background: #EF309B;
  width: 3px;
  height: 3px;
  left: 21px;
  top: 4.5px;
  position: absolute;
  border-radius: 50%;
  z-index: 200;
  content: ''
}

.program {
  border: 1px solid #3b42ae;
  color: #3b42ae;
  margin-bottom: 17px;
  /* background: #3b42ae; */
}

.program .info {
  padding: 10px;
}

.program .article {
  max-width: 700px;
}

.program h2 {
  margin-bottom: 30px;
}

.program p, .program figure {
  line-height: 2.1rem;
  margin-bottom: 40px;
}

.program p:last-child, .program figure:last-child {
  margin-bottom: 0;
}

.program figcaption {
  font-family: Arial, Helvetica, sans-serif;
}

.program a {
  color: #3b42ae;
}

.program .staff {
  margin-top: 40px;
  right: 0px;
  display: inline-block;
}

.program .staff a {
  text-decoration: none;
}

.program .staff a:hover {
  text-decoration: underline;
}

.credits {
  color: rgb(131, 131, 131);
  margin-bottom: 20px;
  font-size: 1rem;
}

.credits a {
  color: rgb(131, 131, 131);
}

.right {
  float: right;
}

/* @media only screen and (min-device-width : 320px) and (max-device-width : 667px) {
  .current {
    width: 130px;
  }
} */

@media (max-width: 535px) {
  .container {
    display: block;
  }
  .nav {
    margin-bottom: 17px;
  }
  .avatar img {
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  .right {
    margin-top: 10px;
    display: block;
    float: none;
  }
}

.avatar img {
  max-width: 100px;
  margin-bottom: 20px;
}

.avatar-big {
  max-width: 500px !important;
}

.article .avatar {
  max-width: 400px;
  float: left;
  margin-bottom: 0;
  margin-right: 20px;
}

.article .avatar img {
  margin: 0;
}