body, html {
  height: 100%;
  margin: 0;
  scroll-snap-type: y mandatory;
  background-color: black;
}

@font-face {
    font-family: bodyText;
    src: url(avenir-next-condensed-ultra-light.ttf);
}

#logo {
    position: fixed;
    top: 3vh;
    width: 15vw;
    left: 5vw;
    z-index: 1;
}

#contacts {
    position: fixed;
    bottom: 5vh;
    left: 5vw;
    display: flex;
    flex-direction: row;
    height: 5%;
    width: 25vw;
    align-items: start;
    z-index: 1;
    flex-basis: 1 0 auto;
}

.icon {
    filter: contrast(0%) brightness(1000%);
    width: 100%;
    align-self: center;
}

.phoneImage {
    filter: contrast(0%) brightness(1000%);
    width: 100%;
    align-self: center;
}

.phoneIcon {
    /* animate something here */
}

.deskPhoneNumber {
    position: fixed;
    display: block;
    font-family: bodyText;
    color: white;
    opacity: 0;
    transform: translate(65px, -50px) scale(2.5);
}

.deskPhoneNumber.hovered {
    opacity: 100;
    transition: 1s;
}

.phoneImage.hovered {
    opacity: 0;
    transition: 1s;
}

#squareRat {
    display: flex;
    height: 50px;
    width: 50px;
    margin: 0 10px;
}

.icon:hover {
    filter: contrast(100%) brightness(100%);
    transition: .5s ease-out;
}

.parallax {
  /* The image used */
  background-image: url("../images/levels.jpg");

  /* Full height */
  height: 100vh;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: left;
  scroll-snap-align: start;
}

.parallax .shadowbox {
    background-color: rgb(0,0,0,.7);
}

.parallax2 {
  /* The image used */
  background-image: url("../images/external_blue.jpg");

  /* Full height */
  height: 100%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: left;
  scroll-snap-align: start;
}

.parallax3 {
  /* The image used */
  background-image: url("../images/reclaimedWood.jpg");

  /* Full height */
  height: 100%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: left;
  scroll-snap-align: start;
}

.parallax4 {
  /* The image used */
  background-image: url("../images/external_purple.jpg");

  /* Full height */
  height: 100%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: left;
  scroll-snap-align: start;
}

.shadowbox {
    background-color: rgb(0,0,0,.7);
    width: 35vw;
    height: inherit;
    z-index: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    box-sizing: border-box;
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-image: url(../images/blurryDictionary.jpg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 90vh;
    z-index: 200;
}

.offsetBorder {
    width: 90vw;
    height: 90vh;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash.display-none {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    text-align: center;
    line-height: 90vh;
    z-index: -10;
    transition: all 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    width: 25vw;
}

h3 {
        font-size: 1.2rem;
        color: white;
        font-family: bodyText;
        font-weight: 400;
        margin: .5vh 0;
    }

/* Desktop Sizing */
@media (max-height: 675px) {
    h3{
        font-size: 1rem;
        color: white;
        font-family: bodyText;
        font-weight: 400;
        margin: .5vh 0;
    }

    h2 {
        font-size: 0%;
    }
}

@media (min-width: 1250px) and (min-height: 675px){
    .deskBody {
        left: 5vw;
        width: 25vw;
        z-index: 2;
        padding: 5vw;
        position: fixed;
    }

    h2 {
        font-size: 0%;
    }
    
}


@media (min-width: 1250px){
    #disableDeskClick {
        pointer-events: none;
    }

    .parallax5 {
        /* The image used */
        background-image: url("../images/libraryHeadCompound.jpg");

        /* Full height */
        height: 100vh;

        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        display: flex;
        align-items: center;
        justify-content: left;
        scroll-snap-align: start;
    }

    .parallax6 {
        /* The image used */
        background-image: url("../images/biltmoreWide.jpg");

        /* Full height */
        height: 100vh;

        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;


        scroll-snap-align: start;
    }
    
}

/*Mobile sizing*/
@media (max-width: 1250px) {
    body, html {
    scroll-snap-type: none;
}
    
    h2 {
        font-size: 1.2rem;
        color: white;
        font-family: bodyText;
        font-weight: 400;
    }

    #squareRat {
        margin: 10px 0;
    }
    
    #logo {
        left: 35vw;
        width: 35vw;
    }

    #contacts {
        left: 1vw;
        bottom: 5vh;
        width: 10%;
        align-items: center;
        flex-direction: column-reverse;
    }

    .icon {
        height: auto;
        margin: 10px;
        width: 40px;
    }

    .shadowbox {
        opacity: 0;
    }

    .mobTextBox {
        box-sizing: border-box;
        background-color: rgb(0,0,0,.7);
        width: 50vw;
        z-index: 2;
        padding: 5vw;
        text-align: center;
    }

    .deskPhoneNumber.hovered {
        opacity: 0;
        transition: 1s;
        pointer-events: none;
    }

    .phoneImage.hovered {
        opacity: 100;
        transition: 1s;
    }

    .phoneImage:hover {
        filter: contrast(100%) brightness(100%);
        transition: .5s ease-out;
    }

    .parallax {
        background-image: url("../images/biltmore.jpg");
        height: 110%;
        background-attachment: scroll;
        justify-content: center;
    }

    .parallax2 {
        background-image: url("../images/columns.jpg");
        height: 110%;
        background-attachment: scroll;
        justify-content: center;
    }

    .parallax3 {
        background-image: url("../images/B62A81D6-0EF2-4808-A64C-DB97F5294F02.JPG");
        height: 110%;
        background-attachment: scroll;
        justify-content: center;
    }

    .parallax4 {
        background-image: url("../images/woodHead.jpg");
        height: 110%;
        background-attachment: scroll;
        justify-content: center;
    }
}