/*-----basic styling-------*/
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Cormorant Garamond" !important;
  background: #0f0f0f !important;

  color: #fff !important;
}

.whitespace {
  width: 100%;
  height: 100px;
}

@media (max-width: 768px) {
  .whitespace {
    display: none;
  }
}

/*-------typewriter effect-----------*/

.line {
  width: 24em;
  top: 50%;
  margin: auto;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
}

.anim-typewriter {
  animation: typewriter 4s steps(40) 2s 1 normal both,
    blinkTextCussor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 6em;
  }
}

@media (max-width: 768px) {
  @keyframes typewriter {
    from {
      width: 0;
    }
    to {
      width: 6em;
    }
  }
}

@keyframes blinkTextCussor {
  from {
    border-right-color: rgba(255, 255, 255, 0.75);
  }
  to {
    border-right-color: transparent;
  }
}

/*----------Navigation-----------*/

nav {
  width: 100%;
  background: #0f0f0f;
  height: 80px;
  position: fixed;
  z-index: 1;
}

nav #brand {
  float: left;
  display: block;
  margin-left: 82px;
  line-height: 80px;
  font-weight: bold;
  font-size: 20px;
}

nav #brand a {
  color: #fff;
  transition: all 0.3s ease-out;
}

nav #brand a:hover {
  text-decoration: none;
}

nav #menu {
  float: left;
  right: 80px;
  position: fixed;
}

nav #menu li {
  padding-left: 40px;
  display: inline-block;
  cursor: pointer;
  font-weight: 300;
  line-height: 80px;
  position: relative;
  transition: all 0.3s ease-out;
}

nav #menu li span {
  font-weight: 700;
}

nav #menu li a {
  color: #fff;
}

nav #menu li a:hover {
  text-decoration: none;
}

#toggle {
  position: absolute;
  right: 30px;
  top: 20px;
  font-weight: 300;
  z-index: 2;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  transition: all 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.close-btn {
  position: absolute;
  right: 16px;
  font-weight: 300;
  z-index: 2;
  cursor: pointer;
  top: -2px;
  line-height: 80px;
}

#resize {
  z-index: 1;
  top: 0px;
  position: fixed;
  background: #0f0f0f;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 1s ease-out;
}

#resize #menu {
  height: 90px;
  position: absolute;
  left: 45%;
  transform: translateX(-40%);
  text-align: center;
  display: table-cell;
  vertical-align: center;
}

#resize #menu li {
  display: block;
  text-align: center;
  padding: 10px 0;
  font-size: 50px;
  min-height: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
  margin-top: 140px;
}

#resize #menu li a {
  color: #fff;
}

#resize #menu li a:hover {
  text-decoration: none;
}

#resize.active {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  #toggle {
    visibility: visible;
    opacity: 1;
    margin-top: 6px;
    margin-right: 4px;
  }

  nav #brand {
    margin-left: 24px;
  }

  #menu a {
    font-size: 20px;
    font-weight: 300;
  }

  #resize li span {
    font-weight: bolder;
  }
  nav #menu {
    display: none;
  }
}

@media (min-width: 768px) {
  #resize {
    visibility: hidden !important;
  }
}

/*----------------Hero Section-----------------------*/

.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-weight: lighter;
  text-align: center;
  letter-spacing: -2px;
  line-height: 48px;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 26px;
  }
  .hero {
    height: 92vh;
  }
}

/*--------------Footer Section----------------*/

.collab {
  text-align: right;
}

.collab p {
  font-weight: lighter !important;
  margin-bottom: 20px;
}

.hr {
  background: rgba(255, 255, 255, 0.2);
  height: 1px;
}

.info h4 {
  font-size: 18px;
  font-weight: lighter;
}

.info p {
  color: grey;
  font-weight: lighter;
}

.info ul {
  margin: 0 0 0 -22px;
  padding: 0;
}
.info li {
  font-weight: lighter;
  color: #fff;
  font-size: 18px;
  padding-left: 20px;
}

.info a {
  color: #fff;
}
#media,
#address {
  text-align: center;
}

#media ul {
  list-style: none;
}

#media ul li {
  display: inline-block;
}

@media (max-width: 768px) {
  .collab,
  #personal,
  #media,
  #address {
    text-align: center;
  }
  .info ul {
    margin: 0 0 0 -22px;
    padding: 0;
  }
}

/*-----------------Work Page---------------*/

.hero-content {
  margin-left: 0%;
}

.hero-content p {
  font-weight: 300;
  line-height: 36px;
  color: grey;
}

.hero-content h6 {
  text-align: left;
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 50px;
    width: 96%;
    margin: 0 auto;
  }
}

/*-----------About Page---------------*/

.about {
  height: 500px;
  margin-top: 120px;
}

.image {
  background: url("tomo-slika.jpg") no-repeat 50% 70%;
  margin: auto;
  background-size: cover;
}

/*----------Projects Page---------*/

.prev,
.next p {
  color: grey;
}

.prev p {
  text-align: left;
}

.next p {
  text-align: right;
}

.title-project {
  text-align: center;
}

/*----------------Gallery Section---------------*/

.gallery-wrapper {
  overflow-x: hidden;
}

.gallery-resize {
  display: none;
}
#galerija {
  text-align: center;
}

#text-galerija {
  font-size: 20px;
}

.picture {
  height: 500px;
}

.picture1 {
  background: url("images/Transgressus-01\,\ 45x85cm\,\ 2017.JPG ") no-repeat
    50% 50%;
  background-size: contain;
  margin: 0 0 0 -20%;
  padding: 0;
}
.picture1::after {
  content: "Transgressus - 01, 45x85cm, 2017";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 30%;
  right: -105%;
}

.picture2 {
  background: url("images/Transgressus-02\,\ 45x85cm\,\ 2017.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: 0 0 0 -20%;
  padding: 0;
}

.picture2::after {
  content: "Transgressus - 02, 45x85cm, 2017";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 30%;
  right: -105%;
}

.picture3 {
  background: url("images/Transgressus-03\,\ 50x80cm\,\ 2017.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: 0 0 -30% 30%;
  padding: 0;
}

.picture3::after {
  content: "Transgressus - 03, 45x85cm, 2017";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 30%;
  right: 40%;
}

.picture4 {
  background: url("images/Transgressus-05\,\ 70x70cm\,\ 2017.JPG") no-repeat 50%
    50%;
  background-size: contain;
  padding: 0;
}

.picture4::after {
  content: "Transgressus - 05, 70x70cm, 2017";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 100%;
  right: -15%;
}

.picture5 {
  background: url("images/Transgressus-06\,\ 70x70cm\,\ 2017.JPG") no-repeat 50%
    50%;
  background-size: contain;
}

.picture5::after {
  content: "Transgressus - 06, 70x70cm, 2017";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 100%;
  right: -15%;
}

.picture6 {
  background: url("images/Transgressus-07\,\ 24x40cm\,\ 2018.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: 10% 0 0 -23%;
  padding: 0;
}

.picture6::after {
  content: "Transgressus - 07, 24x40cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 20%;
  left: 105%;
}

.picture7 {
  background: url("images/Transgressus-08\,\ 45x85cm\,\ 2018.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: 10% 0 0 27%;
  padding: 0;
}

.picture7::after {
  content: "Transgressus - 08, 45x85cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 40%;
  left: -40%;
}

.picture8 {
  background: url("images/Transgressus-09\,\ 60x100cm\,\ 2018.JPG") no-repeat
    50% 50%;
  background-size: contain;
  margin: -40% 0 0 -24%;
  padding: 0;
}

.picture8::after {
  content: "Transgressus - 09, 60x100cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 40%;
  left: 105%;
}

.picture9 {
  background: url("images/Transgressus-10\,\ 80x100cm\,\ 2018.JPG") no-repeat
    50% 50%;
  background-size: contain;
  margin: -35% 0 0 0;
  padding: 0;
  height: 700px;
}

.picture9::after {
  content: "Transgressus - 10, 80x100cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 105%;
  left: 33%;
}

.picture10 {
  background: url("images/Transgressus-14\,\ 40x70cm\,\ 2018.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: -5% 0 0 30%;
  padding: 0;
}

.picture10::after {
  content: "Transgressus - 14, 40x70cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 20%;
  left: -37%;
}
.picture11 {
  background: url("images/Transgressus-15\,\ 45x85cm\,\ 2018.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: -40% 0 0 -19%;
  padding: 0;
}

.picture11::after {
  content: "Transgressus - 15, 45x85cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 40%;
  left: 105%;
}

.picture12 {
  background: url("images/Transgressus-20\,\ 70x70cm\,\ 2018.JPG") no-repeat 50%
    50%;
  background-size: contain;
  margin: -35% 0 0 0;
  padding: 0;
  height: 900px;
}

.picture12::after {
  content: "Transgressus - 20, 70x70cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 105%;
  left: 33%;
}

.picture13 {
  background: url("images/Transgressus-21\,\ 60x100cm\,\ 2018..JPG") no-repeat
    50% 50%;
  background-size: contain;
  margin: 15% 0 0 32%;
  padding: 0;
}

.picture13::after {
  content: "Transgressus - 21, 60x100cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 40%;
  left: -36%;
}

.picture14 {
  background: url("images/Transgressus-22\,\ 60x100cm\,\ 2018..JPG") no-repeat
    50% 50%;
  background-size: contain;
  margin: -40% 0 0 -23%;
  padding: 0;
}

.picture14::after {
  content: "Transgressus - 22, 60x100cm, 2018";
  font-family: "Cormorant Garamond";
  font-size: 26px;
  position: relative;
  color: #fff;
  display: block;
  top: 40%;
  left: 105%;
}

@media (max-width: 768px) {
  .gallery-wrapper {
    display: none;
  }
  .gallery-resize {
    width: 90% !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
  }
  .picture {
    width: 90% !important;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
  }
  .picture1 {
    margin-top: -20%;
  }
  .picture4 {
    margin-top: 5%;
  }
  .picture5 {
    margin-top: -5%;
  }
  .picture6 {
    margin-top: -20%;
  }

  .picture12 {
    margin-top: -100%;
  }
  .picture13 {
    margin-top: -80%;
  }
  .picture2,
  .picture3,
  .picture7,
  .picture8,
  .picture9,
  .picture10,
  .picture11,
  .picture14 {
    margin-top: -55%;
  }
  .col-lg-1 {
    display: none;
  }

  .picture1::after,
  .picture2::after {
    top: 70%;
    left: 12%;
  }

  .picture3::after {
    top: 72%;
    left: 12%;
  }

  .picture4::after {
    top: 83%;
    left: 12%;
  }
  .picture5::after {
    top: 83%;
    left: 7%;
  }
  .picture6::after {
    top: 71%;
    left: 12%;
  }
  .picture7::after {
    top: 70%;
    left: 12%;
  }
  .picture8::after {
    top: 71%;
    left: 12%;
  }
  .picture9::after {
    top: 70%;
    left: 12%;
  }
  .picture10::after {
    top: 70%;
    left: 12%;
  }
  .picture11::after {
    top: 68%;
    left: 12%;
  }
  .picture12::after {
    top: 68%;
    left: 12%;
  }
  .picture13::after {
    top: 70%;
    left: 12%;
  }
  .picture14::after {
    top: 70%;
    left: 12%;
  }

  .picture1::after,
  .picture2::after,
  .picture3::after,
  .picture4::after,
  .picture5::after,
  .picture6::after,
  .picture7::after,
  .picture8::after,
  .picture9::after,
  .picture10::after,
  .picture11::after,
  .picture12::after,
  .picture13::after,
  .picture14::after {
    font-size: 18px;
  }
}
