
/*********** GLOBAL ************/

body, html {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  margin: 0;
}

html {
  background-color: #282e34;
}

.block {
  height: 40px;
  width: 100%;
  clear: both;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0, 0, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}


/*********** INDEX ***********/


#backgroundVid {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  -webkit-transition-position: fixed;
  position: fixed;
}

/**TITLE**/

#title {
  text-align: center;
  letter-spacing: 10px;
  background-color: #282e34;
  color: #fff;
  font-size: 50px;
  padding: 30px;
  max-width: 35%;
  margin: auto;
  box-shadow: 0 0 20px #000;
  overflow: hidden;

  animation: fadeIn;
  animation-duration: 0.8s;
}



#portrait {
  width: 250px;
  border-radius: 50%;
  border: 5px solid #000;
}

#title p, #title a {
    font-size: 25px;
    letter-spacing: 3px;
    width: 100%;
    color: #fff;
    display: block;
    margin-top: 15px;
}


/*LANGUAGES*/

.boxContainer, .boxContainerFaux {
  margin: 100px auto 0 auto;
  max-width: 70%;
  color: #fff;
  text-align: center;
  background-color: #282e34;
  padding: 10px;
  box-shadow: 0 0 10px #000;
  opacity: 0;
  overflow: hidden;
  border-radius: 5px;
  animation: zoomIn;
  animation-fill-mode: forwards;
  animation-duration: 0.5s;
  animation-delay: 0.6s;
  align-items: center;
}

.boxItem, .boxContainer a {
  display: inline-block;
  margin: 20px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #7367ac;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin: auto auto;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.boxContainerContent {
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

.boxContainerHeader, .boxContainerHeaderFaux {
  background-color: #282e34;;
  color: #FFF;
  font-size: 30px;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
}



.boxContainerHeader:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  float: right;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}


.boxItem img {
  width: 80px;
}

.pagination a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.selected {
  background-color: #7367ac;
  color: white;
  border-radius: 10px;
}

.pagination a:hover:not(.selected) {
  background-color: #d5ccfa;
  cursor: pointer;
  border-radius: 10px;
}

.errorbox h1 {
  text-align: center;
  padding: 40px 0;
  font-size: 75px;
}

.errorbox p {
  text-align: center;
}


.website {
  display: inline-block;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 12px #000;

  color: #282e34;
  margin: 20px;
  padding: 20px;
}

.writeup, .cert {
  display: inline-block;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 12px #000;
  color: #282e34;
  margin: 20px;
  padding: 20px;
  max-width: 150px;
}

.writeup img {
  height: 130px;
}

.writeup h2 {
  height: 30px;
  padding: 10px 0;
}

#writeupsearch {
  margin-top: 20px;
  font-size: 20px;
  border-radius: 5px;
  border: 3px solid #7367ac;
}

.cert img {
  height: 120px;
}

.cert p {
  min-height: 100px;
}

.cert h2 {
  display: none;
}

.cert {
  max-height: 250px;
}

.redlock {
  position: absolute;
}


.redlock img {
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -8px;
}


.boxsitelogo img {
  width: 150px;
  margin-top: -20px;
  margin-bottom: -50px;
}

.website:hover, .writeup:hover, .cert:hover, .card:hover, .boxContainerFaux:hover {
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255,0,0,0.5);
}

.website h2, .writeup h2 {
    font-weight: bold;
    font-size: 26px;
    color: #34282e;
}

.website ul {
  margin: 0;
}

.website li {
  padding: 5px;
  text-align: left;
}

.website img {
  height: 100px;
}

.sociallinkcontainer {
  margin-bottom: 30px;
  margin: auto;
  max-width: 60%;
  border-width: 3px;
}

.social {
  transition: transform .2s;
  display: inline-block;
  margin: 15px;
}

.social:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.social img {
  height: 80px
}


.copyright {
  margin-top: 35px
}




/*LOGOS*/

#logoContainer {
  width: 100%;
  color: #fff;
  text-align: center;
  margin: 100px auto 0 auto;
}

#logoContainer img {
  margin-top: 45px;
  width: 150px;
}

.logo {
  background-color: #282e34;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  opacity: 0;
  font-size: 20px;
  box-shadow: 0 0 12px #000;


  animation: zoomIn;
  animation-duration: 0.5s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
}

.logo:hover {
  box-shadow: 0 0 12px rgba(255,0,0,0.5);
  cursor: pointer;
}





/***** FOOTER *****/

footer {
  text-align: center;
  padding: 45px;
  background-color: #282e34;
  color: #fff;
}





@media(max-width: 768px) {

  #title, .boxContainer, footer, .boxContainerFaux {
      max-width: 95%;
  }

  .boxItem img {
    width: 53px;
  }

  .boxContainer, .boxContainerFaux {
      margin-top: 25px;
  }

  .sociallinkcontainer {
    max-width: 100%;
  }

  #portrait {
    width: 150px;
  }

  .loader {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #7367ac;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: auto auto;
    animation: spin 2s linear infinite;
  }

  .logo {
      width: 150px;
      height: 150px;
  }

  .logo p {
    display: none;
  }

  .social img {
    height: 50px;
  }

  .pagination a {
    padding: 4px 1px;
  }

  #logoContainer img {
      width: 80px;
      margin-top: 35px;
  }

  .boxsitelogo {
    display: none;
  }

  .website {
      padding: 0;
      margin: 10px;
  }

  .writeup, .cert {
    max-width: 100px;
  }

  .website h2, .writeup h2 {
      text-align: center;
      font-size: 19px;
  }

  .website img {
      height: 65px;
  }

  .writeup img, .cert img {
    height: 70px;
  }

  .cert h3, .cert p {
    display: none;
  }

  .cert h2 {
    display: flex;
  }

  .cert img {
    margin: 5px 0px -15px 0px;
  }


  .redlock img {
    width: 20px;
    height: 20px;
  }


  .website li {
      visibility: hidden;
      padding: 0;
  }

  #title {
      font-size: 30px;
  }

  #title p {
      font-size: 15px;
  }
}
