@font-face{
    font-family: 'CaviarDreams';
    src: url(../fonts/CaviarDreams_Bold.ttf);
}
@font-face{
    font-family: 'Lemonmilk';
    src: url(../fonts/LEMONMILK-Medium.otf);
}

header{
    display: flex;
    position: sticky;
    top: 0;
    padding: 20px;
    border-bottom: 1px solid white;
    background-color: black;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
    z-index:1000;
}

.section-img{
    display: none;
}
body{
    margin: 0px;
    background: black;
    height:650vh;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    color:rgb(255, 255, 255);
    font-weight: 1000;
    font-size: 1.2em;
}
#section1-phone{
    display: none;
}
 #background-wrapper {
    /* background-image: url('../img/film-strip.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; */
    position: absolute;
    min-height: 100vh;
    margin-left: 45%;
    margin-right: 5%;
    margin-top: -0px;
   
} 
#animated-sections{
    overflow-x: hidden;
    margin-right: 0px;
    z-index: 3;
}
#main{
    display: flex;

}
#camera{
    position: relative;
    width: 40%;
    height: auto;
    margin-top: 50px;
    z-index: 2;
}
/*#film-strip-container{
    position: absolute;
    margin-top: -350px;
}*/
#film-strip{
    position: relative;
    width: 26.5%;
    height: 650vh;
    margin-left: 100px;
    margin-top: -7%;
    background-color: white;
    z-index: 1;
}
 #section2, #section3, #section4, #section5{
    opacity:0;
    position:relative;
    transform:translateX(50%);
 }

/*section 1*/
#section1{
   height: 70vh;
} 

h1{
    color: white;
    font-family: 'Lemonmilk';
    font-size: 4em;
}
p{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
}
#headline{
    margin-right: 40px;
}
/*section 2*/
h2{
    color: white;
    font-family:'Lemonmilk';
    font-size: 2em;
}

#section2::before, #section3::before, #section4::before, #section5::before {
    content: "";
    display: block;
    height: 60px;
  }
#section1-filmstrip{
    position: absolute;
    z-index: 3;
    width: 92%;
    height: 500px;
    margin-top: 100%;
    margin-left: 4%;
    opacity: 0;

}
#section1-scroll{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#section2 a{
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    color:rgb(255, 255, 255);
    font-weight: 1500;
    font-size: 1em;
}
.lightbox{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: auto;
    border-radius: 5px;
    background-color:white;
    display: none;
}
.lightbox p{
    color: black;
    font-size: 1em;
    padding: 10px;
}
.close-button{
    margin-top: 5%;
    margin-right: 5%;
    width: 30px;
    height: 30px;
    background-color: black;
}
button{
    color: white;
}
/* #first-cameras{
    display: flex;
    justify-content: center;
    align-items: center;
} */
/* #daguerreotype-img{
    width: 20%;
    height: auto;
    margin-left: 10px;
} */
/* #heliography-img{
    width: 20%;
    height: auto;
    margin-left: 500px;
} */
#heliography-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    display: none;
    overflow: none;
    display: flex;
    justify-content: center;
    text-align: center;

}
#photo-box{
    position: absolute;
    width: 60%;
    height: auto;
    margin-top: 4%;
}

#heliography-photo{
    width: 100%;
    height: auto;
    object-fit: cover;
}
#close-button-heliography{
    position: relative;
    margin-top: 2%;
    right: -45%;
}
#photo-box figcaption{
    font-family: Arial, Helvetica, sans-serif;
}

#daguerreotype-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 80%;
    display: flex;
    justify-content: center;
    text-align: center;
}
#photo-box2{
    position: relative;
    width: 60%;
    height: auto;
    margin-top: 10%;
    margin-left: 20%;
    
}
#photo-box2 figcaption{
    margin-top: 10%;
    font-family: Arial, Helvetica, sans-serif;
}
#daguerreotype-photo{
    width: 100%;
    height: auto;
}
#close-button-daguerreotype{
    position: absolute;
    top: 0%;
    right: 0%;
}
.footnotes{
    font-size: 0.8em;
}

#first-camera-section{
    display:flex;
    justify-content: center;
    text-align: center;
    width: 80%;
}

.camera-figure{
    width:50%;
    margin: 0px;
    text-align: center;
}

.camera-figure img{
    max-width:50%;
    height:auto;
}

.camera-figcaption{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
    font-style: italic;
}
/*section 3*/

#section2-filmstrip{
    position: absolute;
    z-index: 3;
    width: 92%;
    height: 500px;
    margin-top: 340%;
    margin-left: 4%;
    opacity: 0;
}
#section2-scroll{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
li{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
}

#second-camera-section{
    display:flex;
    justify-content: center;
    width: 80%;
}

.camera-figure2{
    width:50%;
    margin: 0px;
    text-align: center;
}

.camera-figure2 img{
    max-width:50%;
    height:auto;
}

.camera-figcaption2{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
    font-style: italic;
}
#kodak-original-figcaption{
    padding-left: 20px;
}
#kodak-original-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    display: none;
    overflow: none;
    display: flex;
    justify-content: center;
}
#photo-box3{
    position: relative;
    width: 70%;
    height: auto;
    left: 12%;
    top: 2%;
}

#kodak-original-photo{
    width: 100%;
    height: auto;
}
#close-button-kodak-original{
    position: absolute;
    top: -3%;
    right: 1%;
}
#photo-box3 figcaption{
    font-family: Arial, Helvetica, sans-serif;
}

#kodachrome-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 80%;
    display: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
#photo-box4{
    position: relative;
    width: 60%;
    height: auto;
    left: 15%;
    top: 3%;
}
#close-button-kodachrome{
    position: absolute;
    top: 0;
    right: 1%;
}
#kodachrome-photo{
    width: 100%;
    height: auto;
}

#photo-box4 figcaption{
    font-family: Arial, Helvetica, sans-serif;
}
/*section 4*/
#section3-filmstrip{
    position: absolute;
    z-index: 3;
    width: 92%;
    height: 500px;
    margin-top: 730%;
    margin-left: 4%;
    opacity: 0;
}
#section3-scroll{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#third-camera-section{
    display:flex;
    justify-content: center;
    width: 80%;
}

.camera-figure3{
    width:50%;
    margin: 0px;
    text-align: center;
}

.camera-figure3 img{
    max-width:50%;
    height:auto;
}

.camera-figcaption3{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
    font-style: italic;
}
#nikon-img{
    margin-top: -5px;
}
#nikon-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    display: none;
    overflow: none;
    display: flex;
    justify-content: center;
}
#photo-box5{
    position: relative;
    width: 70%;
    height: auto;
    left: 12%;
    top: 2%;
}

#nikon-photo{
    width: 100%;
    height: auto;
}
#close-button-nikon{
    position: absolute;
    top: -5%;
    right: 0;
}
#photo-box5 figcaption{
    font-family: Arial, Helvetica, sans-serif;
}
#lumix-photo-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    display: none;
    overflow: none;
    display: flex;
    justify-content: center;
}
#photo-box6{
    position: relative;
    width: 60%;
    height: auto;
    left: 17%;
    top: 2%;
}

#lumix-photo{
    width: 100%;
    height: auto;
}
#close-button-lumix{
    position: absolute;
    top: -5%;
    right: -1%;
}
#photo-box6 figcaption{
    font-family: Arial, Helvetica, sans-serif;
}
/*section 5*/
#section4-filmstrip{
    position: absolute;
    z-index: 3;
    width: 92%;
    height: 500px;
    margin-top: 4000px;
    margin-left: 4%;
    opacity: 0;
}
#section4-scroll{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*section 6*/
#sources{
    background-color: rgb(69, 69, 69);
    width: 100px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#close-button-sources{
    position: absolute;
    top: -5%;
    right: -2%;
}
#sources-container{
    width: 50%;
    height: 30%;
}
#sources-container a{
    text-decoration: underline;
    color: black;
    font-size: 1em;
}
/*lightbox*/
.lightbox{
    z-index: 4;
    background-color: rgb(255, 222, 227);
}
@media (min-width: 820px) and (max-width: 1024px){
    #background-wrapper {
        position: absolute;
        min-height: 100vh;
        margin-left: 40%;
       
    } 
    h1{
        font-size: 3.6em;
    }
    p{
        font-size: 1.2em;
    }
    #film-strip{
        position: relative;
        width: 26.5%;
        height: 600vh;
        margin-left: 7%;
        margin-top: -100px;
        background-color: white;
        z-index: 1;
    }
    
    #section1-filmstrip{
        position: absolute;
        z-index: 3;
        width: 92%;
        height: 500px;
        margin-top: 280%;
        margin-left: 4%;
        opacity: 0;
    }
    #section2-filmstrip{
        position: absolute;
        z-index: 3;
        width: 92%;
        height: 500px;
        margin-top: 560%;
        margin-left: 4%;
        opacity: 0;
    }
    #section3-filmstrip{
        position: absolute;
        z-index: 3;
        width: 92%;
        height: 500px;
        margin-top: 1000%;
        margin-left: 4%;
        opacity: 0;
    }
    #section4-filmstrip{
        position: absolute;
        z-index: 3;
        width: 92%;
        height: 500px;
        margin-top: 1480%;
        margin-left: 4%;
        opacity: 0;
    }
}
@media (min-width: 430px) and (max-width: 820px){
    #section1-filmstrip{
        margin-top: 340%;
    }
    #section2-filmstrip{
        margin-top: 700%;
    }
    #section3-filmstrip{
        margin-top: 1280%;
    }
    #section4-filmstrip{
        margin-top: 1900%;
    }
    #film-strip{
        position: relative;
        width: 26.5%;
        height: 600vh;
        margin-left: 7%;
        margin-top: -100px;
        background-color: white;
        z-index: 1;
    }
    h1{
        font-size: 3.6em;
    }
    p{
        font-size: 1.2em;
    }
}
@media screen and (max-width:430px){
    header{
        display: flex;
        position: sticky;
        top: 0;
        padding: 15px;
        border-bottom: 1px solid white;
        background-color: black;
        justify-content: space-evenly;
        align-items: center;
        overflow: hidden;
        z-index:1000;
    } 
    header a{
        font-size: 0.6em;
    }
    main{
        display: block;
    }
    
 #background-wrapper {
    position: absolute;
    min-height: 100vh;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 400px;
    overflow-x: hidden;
} 
#section1{
    display: none;
}
#photos{
    display: none;
}
#section1-phone{
    display: block;
}
#section2, #section3, #section4, #section5{
    opacity:1;
    transform: translateX(0%);
 }
 h1{
    font-size: 2.8em;
 }
 #headline{
    text-align: center;
    margin-left: 1%;
    margin-right: 2%;
 }
 p{
    font-size: 1.2em;
 }
 li{
    font-size: 1.2em;
 }
 #img-section2{
    display: block;
    height: 20%;
    opacity: 0;

 }
 #img-section2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
 #img-section3{
    display: block;
    height: 20%;
    opacity: 0;
 }
 #img-section3 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
 #img-section4{
    display: block;
    height: 20%;
    opacity: 0;
 }
 #img-section4 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
 #img-section5{
    display: block;
    height: 20%;
    opacity: 0;
 }
 #img-section5 img{
    width: 100%;
    height: 100%;
    object-fit: cover;

 }
 #sources-container{
    width: 50%;
    height: 50%;
}
#source-paragraph{
    margin-top: 20%;
}
#close-button-sources {
    position: absolute;
    top: 0;
    right: -2%;
}
#photo-box {
    position: absolute;
    width: 60%;
    height: auto;
    margin-top: 60%;
}
#photo-box2 {
    position: relative;
    width: 60%;
    height: auto;
    margin-top: 100%;
    margin-left: 20%;
}
#photo-box3 {
    position: relative;
    width: 70%;
    height: auto;
    left: 0;
    top: 30%;
}
#close-button-kodak-original {
    position: absolute;
    top: 0;
    right: 1%;
}
#photo-box4 {
    position: relative;
    width: 60%;
    height: auto;
    left: -3%;
    top: 30%;
}
#photo-box5 {
    position: relative;
    width: 70%;
    height: auto;
    left: 2%;
    top: 30%;
}
#close-button-nikon {
    position: absolute;
    top: 0;
    right: 0;
}
#photo-box6 {
    position: relative;
    width: 60%;
    height: auto;
    left: 4%;
    top: 30%;
}
#close-button-lumix {
    position: absolute;
    top: 0;
    right: -1%;
}
#photo-box6 figcaption {
    font-size: 0.5em;
}
#photo-box5 figcaption {
    font-size: 0.5em;
}
}
