#topOfPage{
    background-color: black;
    height: 100vh;
    min-height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#logga{
    width: 320px;
    height: 95px;
    margin-right: auto;
    margin-left: auto;
}

#arrow{
    width: 100px;
    height: 100px;
    margin-top: 10%;
    margin-right: auto;
    margin-left: auto;
}

#aboveAbout{
    width: 100%;
    max-width: 1441px;
    height: 18em;
    min-height: 35vh;
    margin-right: auto;
    margin-left: auto;
    background-image: url(../bilder/topimage.jpg);
    background-size: auto 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#greeting {
    
    height: fit-content;
    text-align: center;
    padding: 1em;
    margin-top: 11%;
    margin-right: auto;
    margin-left: auto;
}


#about{
    background-color: white;
    padding-top: 2em;
    height: fit-content;
    min-height: 65vh;
}

.aboutLeft{
    width: 95%;
    padding: 2.5%;
    float: left;
}

#aboutImage{
    width: 355px;
    height: 106px;
}

.aboutRight{
    width: 95%;
    padding: 2.5%;
    float: left;
}

#cites{
    height: 8em;
}

#projects{
    background-color: whitesmoke;
    padding-top: 5em;
    height: fit-content;
    min-height: 100vh;
}

.projectContainer{
    width: 100%;
    height: fit-content;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projectContainerInner{
    width: 100%;
    height: fit-content;
}

#projects h3{
    display: inline;
}

.project{
    background-color: whitesmoke;
    width: 90%;
    height: 20em;
    margin: 5%;
    float: left;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project h3, .project p{
    background-color: whitesmoke;
    padding: 5px;
    opacity: 0.8;
}

#project1{
    background-image: url(../bilder/pro1img1.jpg);
    background-size: 100% auto;
    background-position: center;
}

#project2{
    background-image: url(../bilder/pro2img1.jpg);
    background-size: 100% auto;
    background-position: center;
}

#project3{
    background-image: url(../bilder/pro3img1.jpg);
    background-size: auto 100%;
    background-position: center;
}

#facebook{
    background-color: white;
    padding-top: 5em;
    height: fit-content;
    min-height: 100vh;
    padding-bottom: 2em;
}

#facebookFrame{
    position: relative;
    z-index: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#fbMessage{
    display: none;
}

#contact{
    /* background-color: whitesmoke; */
    padding-top: 7em;
    padding-bottom: 2em;
    height: fit-content;
    min-height: 100vh;
}

.numbertext {
    color:black;
    font-size: 12px;
    /* padding: 8px 12px; */
    /* position: absolute;
    top: 0; */
  }

.mySlides .mySlides2 .mySlides3{
    display: none;
  }

  .projectImage{
      max-width: 90%;
      max-height: 60vh;
      margin-top: 1em;
        margin-left: auto;
        margin-right: auto;
      overflow: scroll;
      display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: red;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px 3px 3px 3px;
    user-select: none;
  }
  
  .next {
    right: 2%;
  }

  .prev {
    left: 2%;
  }

  .prev:hover, .next:hover {
    color: black;
    background-color: red;
  }

  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2.5s;
    animation-name: fade;
    animation-duration: 2.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .2} 
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .2} 
    to {opacity: 1}
  }

@media screen and (min-width: 480px){

    #logga{
        width: 384px;
        height: 114px;
    }
    
    #arrow{
        width: 100px;
        height: 100px;
    }

    #aboveAbout{
        background-size: 100% auto;
    }
}


/*För Ipad*/
@media screen and (min-width: 768px){
    #logga{
        width: 640px;
        height: 190px;
    }
    
    #arrow{
        width: 50px;
        height: 50px;
    }

    #aboveAbout{
        height: 20em;
        min-height: 40vh;
    }

    #about{
        min-height: 60vh;
    }

    #aboutImage{
        width: 591px;
        height: 176px;
    }

    #projects{
        min-height: 100vh;
    }

    .project{
        width: 45%;
        margin: 2.5%;
    }

    #facebook{
        min-height: 100vh;
    }

    #contact{
        min-height: 100vh;
    }

    
}

/*För MacBook 13"*/
@media screen and (min-width: 1024px){
    #logga{
        width: 960px;
        height: 286px;
    }
    
    #arrow{
        width: 75px;
        height: 75px;
    }


.aboutLeft{
    width: 75%;
    margin-right: 10%;
    margin-left: 10%;
}

  .aboutLeftContent {
      width: 100%;
      justify-content: center;
  }

  #cites{
    height: 10em;
}

    .project{
        width: 30.3%;
        margin: 1.5%;
    }

    #fbMessage{
        display: block;
    }
    
}

@media screen and (min-width: 1440px){
    #logga{
        width: 1280px;
        height: 381px;
    }

    .aboutLeft{
        width: 65%;
        margin-right: 15%;
        margin-left: 15%;
    }

    #cites{
        height: 10em;
    }
    
    #arrow{
        width: 100px;
        height: 100px;
    }

    .project{
        width: 28.3%;
        margin: 2.5%;
    }
}