@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: BittersweetNF;
  src: url(fonts/BittersweetNF.ttf);
}

body{
    margin: 0px;
    background-color: #b9b9b9;
}

#vid{
    margin-top: 0px;
    pointer-events:none;
}

#vid video{
    position: fixed;
    min-width: 104%;
    min-height: 100vh;
    margin-left: -2%;
    opacity: 0.5;
    z-index: 1;
    margin-top: 0px;
}

#name {
    width: 100vw;
    height: 20vh;
    margin-top: 0px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
}

#back{
    height: 20vh;
    width: 10vw;
    position: absolute;
    margin: 0;
    background-image: url(links/back.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    transition: 0.8s;
    opacity: 0.9;
}

#back:hover{
    transform: scale(1.1);
    transition: 0.8s;
    opacity: 1;
}

#content {
    max-height: 70vh;
    width: 60vw;
    background-color: none;
    
    margin-left: 50%; 
    transform: translate(-50%, 0%);
    
    margin-top: 10px;
    
}

iframe {
    margin-left: 50%; 
    transform: translate(-50%, 0%);
}


#box{
    width: 50vw;
    height: 28.125vw;
    
    background-image: url(links/kellogs1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(100%);
    transition: 1.5s;
    border: 4px solid #b9b9b9;
    border: 1.5px solid black;

}

#box:hover{
    filter: grayscale(0%);
    transition: 1.5s;
    transform: scale(1.2);
    border: none;
    
    animation-name: boxanimation;
    animation-duration: 3.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes boxanimation{
    0% {background-image: url(links/kellogs1.png);}
    20% {background-image: url(links/kellogs1.png);}
    80% {background-image: url(links/kellogs2.jpg);}
    100% {background-image: url(links/kellogs2.jpg);}
}


#text{
    margin-top: 10px;
    width: 50%;
    font-size: 9pt;
    font-family: American Typewriter, sans-serif;
    border-left: 1.5px solid black;
    border-right: 1.5px solid black;
    padding-left: 6px;
    padding-right: 6px;
    float: left;
}

#text p {
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: justify;
}

#textright{
    margin-top: -2px;
    width: calc(50% - 20px);
    font-size: 9pt;
    font-family: American Typewriter, sans-serif;
    padding-left: 4px;
    float: right;
    text-align: right;
    font-weight: 600;
}

#textright p{
    margin-right: -4px;
}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  transform: scale(1.4);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 0px;
  display: inline-block;
  transition: background-color 0.6s ease;
  border: 1.5px solid black;
  opacity: 0.9;
  transform: scale(0.8);
}

.active, .dot:hover {
  background-color: black;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


boxlong{
    min-height: 100%;
    min-width: 100%;
}