body{background-color: white
}

/* typographic scale */

h1 { font-size: 2em; font-family:"Julius Sans One", sans-serif; }
h2 { font-size: 1.7411em;font-family: "Julius Sans One", sans-serif; }
h3 { font-size: 1.5157em;font-family: "Julius Sans One", sans-serif; }
h4 { font-size: 1.3195em;font-family: "Julius Sans One", sans-serif; }
h5 { font-size: 1.1487em; font-family: "Julius Sans One", sans-serif;}
p { font-size: 1em; font-family:"Montserrat", sans-serif; line-height: 1.4;}
small { font-size: .8706em; }

header div, 
footer li a {

  font-family:"Montserrat", sans-serif;

}




header{
background-color: rgb(227, 224, 224);
display: flex;
height: 3.5rem;
 

}


main {
    padding: 1rem;
  }
  
  h1 {
    margin: 2rem 0 1em 0;
  }
  
  h2 {
    margin: 2rem 0 1em 0;
  }
  
/* loveha */

#menu a:link{
color: white;


}


#menu a:visited{
    color: rgb(227, 224, 224);
    
    
    }

    #menu a:hover{
        color: white;
        text-decoration: underline;
        
        
        }

        #menu a:active{
            color: rgb(177, 249, 144);
            
            
            }



#logo{

  height: 3rem;
  position: relative;
  top: 0.25rem;
  left: 0.25rem;
}


.icon svg{
height: auto;
width: 2rem;
filter: invert(100%);
}

.icon styles{ 
height: 10rem;
width: 4rem;

}

form{
border: 1px solid transparent;
padding: 1rem;

}

fieldset{
border: 1px solid rgb(255, 255, 255);
margin: 0.05rem 2rem 0.5rem;
padding: 1rem;

}

label, input{
display: block;
width: 100%;

}

input[type="text"],
input[type="tel"] {
    margin: 0.125rem 0 1.2rem 0;
}

textarea{
width: 100%;
margin:0.125rem 0 1.2rem 0;

}

.align-right{
display: flex;
justify-content: end;

}

input[ type="submit"]{
margin: 0 0.55rem;
background-color: green;

}

input[ type="reset"]{

    background-color: red;
    
    }

.button{
width:5rem;
color: white;
border-radius: 0.5rem;

}



    .button:hover{

filter:opacity(0.5);

    }

    /* hamburger menu start */
    button#menu-button {
        height: 2rem;
        width: 2rem;
        display: block;
        border: none;
        background-image: url(../img/hamburger.svg); 
        background-repeat: no-repeat;
        background-size: cover;
    }

    #menu {
        display: none;
    }

    #menu.show-nav {
        display: block;
    }  

    /* Add this code to the selector created in Step 3.1 above */
    
    #menu.show-nav {
        position: absolute;  /* position the menu */
        z-index: 100;
        top: 0;
        right: 0.6rem;
        
        background-color: rgb(0, 0, 0);  /* style the dropdown menu */
        padding: 1rem;
        width: 95%;
        margin: 0 auto;
        border: 1px solid #444;
    }  

    #menu-button {
        position: absolute;
        right: 0.5rem;
        top: 0.5rem;
        padding: 0;
        background-color: transparent;
        z-index: 10;
    }

    #menu-button:hover {
        cursor: pointer;
        }

        .hide-text {
            text-indent: 100%;
            white-space: nowrap;
            overflow: hidden;
            padding: 0;
        }

        .icon a img {
            width: 2rem;
            height: auto;
        }
    
        li.icon {
            width: 100%;
            height: 1.8rem;
            margin: 1.3rem 0;  /* space apart for easier finger tapping */
          }

          li.icon a {
            display: flex;  /* place logo and span side by side */
            justify-content: start; /* align left */
            align-items: center; /* vertically align */
            
            font-family: arial, helvetica, sans-serif; /* style span text as desired */
            font-weight: bold;
            text-decoration: none;  /* remove underline */
            font-size: 1.5rem;
            margin: 0; 
            height: 1.5rem;
        }
    
section{
border: 1px solid black;
padding: 1rem;
margin: 1rem;
background-color: rgba(255, 255, 255, .5);

}

section a{
text-decoration: none;

}

a:link{
color: black;
text-decoration: none;

}

a:visited{
  color: rgb(86, 86, 86);
  
  }

  a:hover{
    color: black;
    text-decoration: underline;
    
    }

    a:active{
      color: rgb(0, 140, 37);
      
      }



        @media only screen and (min-width: 64em) {
            button#menu-button {
                display: none;
            }
    
            #menu {
                display: flex;
            }
        }

        body > header:nth-child(1) > div:nth-child(3) {
            /*! height: 0rem; */margin: 1rem;
          }
          
    
/* Guide to Photography center text */

h1 {
    margin: 2rem 0 1em 0;
    text-align: center;
    /*! padding: 1rem; */
  }

  .wrapper > main:nth-child(1) > h1:nth-child(1) {
    margin-bottom: 11em;
    margin-top: 7rem;
  }

/* black borders */

  .borders {
	margin: 2rem 0 1em 0;
	text-align: center;
	border-top: 1px solid rgb(0, 0, 0);
	border-bottom: 1px solid black;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.borders::after{
content: "v";
font-family: "Julius Sans One", sans-serif;
color: rgb(255, 255, 255);
display: block;
width: 100%;
height: 2rem;
top: 1rem;
position: relative;


}
  
.borders::after {
    content: "v";
    font-family: "Julius Sans One", sans-serif;
    color: rgb(255, 255, 255);
    display: block;
    width: 100%;
    height: 0rem;
    top: 1rem;
    position: relative;
    
    
    }

    .wrapper > main:nth-child(1) > h1:nth-child(1) {
        margin-bottom: 6em;
        margin-top: 7rem;
      }

      section {
        margin-top: 3rem;
      }

      body > footer:nth-child(4) {
        background-color: rgb(227, 224, 224);
      }

      /* fonts below */
     
.fonts{
  font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100em;
  font-style: normal;
}


body > footer:nth-child(4) {
  bottom: 0px;
  margin-top: 0px;
  top: 0px;
  border-top-width: 0px;
  border-top-style: solid;
  padding-top: 16px;
}

body > footer:nth-child(4) > ul:nth-child(1) {
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 17px;
}

.copyright {
  margin-right: 0px;
  padding-top: 20px;
}

body > footer:nth-child(4) > ul:nth-child(1) > li:nth-child(1) {
  margin-top: 0px;
  padding-top: 0px;
  top: -2px;
}

body > footer:nth-child(4) > ul:nth-child(1) > li:nth-child(2) {
  top: -2px;
}

body > footer:nth-child(4) > ul:nth-child(1) > li:nth-child(3) {
  top: -2px;
}

body > footer:nth-child(4) > ul:nth-child(1) > li:nth-child(4) {
  top: -2px;
}

body > footer:nth-child(4) > ul:nth-child(1) > li:nth-child(5) {
  top: -2px;
}

/* background image on index */
body.homepage{
  background-image: url(../img/blacksandlarge.jpg );
  background-size: cover;
  background-position-x: center;
  background-position-y: top;
  /* position: fixed; */
  }

  /* background image on contact */
  body.contactpage{
  background-image: url(../img/blacksandlarge.jpg);
  background-size: cover;
  background-position-x: center;
  background-position-y: top;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/index.html */

/* .wrapper > main:nth-child(1) > h1:nth-child(1) {
  color: white;
} */

h1{
color: white;
}

body.history h1 {color: black;}

body.cameras h1 {color: black;}

body.styles h1 {color: black;}



/* Element | file:///Users/michela/Documents/Global%20Project%20Web/index.html */

.borders {
  color: white;
}

/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

.borders {
  /* border-top: 1px solid black; */
  /* border-bottom: 1px solid black; */
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.borders {
  margin-top: 2rem;
  top: -88px;
}


/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

.wrapper > main:nth-child(1) > form:nth-child(2) > fieldset:nth-child(1) > legend:nth-child(1) {
  
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

.wrapper > main:nth-child(1) > form:nth-child(2) > fieldset:nth-child(1) > label:nth-child(2) {
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

#firstname {
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

.wrapper > main:nth-child(1) > form:nth-child(2) > fieldset:nth-child(1) > label:nth-child(4) {
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

#email {
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

.wrapper > main:nth-child(1) > form:nth-child(2) > fieldset:nth-child(1) > label:nth-child(6) {
  color: white;
}

/* Element | file:///Users/michela/Documents/Global%20Project%20Web/contact.html */

.wrapper > main:nth-child(1) > form:nth-child(2) > fieldset:nth-child(2) > legend:nth-child(1) {
  color: white;
}


/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

section {
  /* background-color: rgba(255, 255, 255, .5); */
  background-color: rgba(255, 255, 255, 0.72);
}


/* reset.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/reset.css */

img {
  /* max-width: 100%; */
  max-width: 99%;
  height: auto;
}


/* Inline #4 | http://127.0.0.1:5500/styles.html */

#girl {
  width: 12rem;
  position: relative;
  left: 6rem;
  bottom: 0rem;
}


/* Inline #4 | http://127.0.0.1:5500/styles.html */

#clocktower {
  /* position relative: ; */
  width: 15rem;
  position: relative;
  bottom: 0rem;
}


/* Inline #4 | http://127.0.0.1:5500/styles.html */

#studio {
  width: 18rem;
  position: relative;
  bottom: 10rem;
  left: 0rem;
}


/* style.css | http://127.0.0.1:5500/theme/css/style.css */


/* style.css | http://127.0.0.1:5500/theme/css/style.css */

.copyright {
  left: 1rem;
}




.wrapper > main:nth-child(1) > h1:nth-child(1) {
  /* margin-bottom: 6em; */
  margin-bottom: 1em;
}


/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

#studio {
  /* bottom: 10rem; */
  bottom: 0rem;
}


/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

#studio {
  /* bottom: 10rem; */
  bottom: 0rem;
}

/* Inline #3 | file:///Users/michela/Documents/Global%20Project%20Web/styles.html */

footer li {
  margin-top: 1rem;
}

body.homepage h1{

/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

.borders::after {
  /* top: 1rem; */
  top: 2rem;
}

.wrapper > main:nth-child(1) > h1:nth-child(1) {
  /* margin-top: 7rem; */
  margin-top: 10rem;
}

.wrapper > main:nth-child(1) > h1:nth-child(1) {
  /* margin-bottom: 1em; */
  margin-bottom: 4em;
}

.borders {
  /* margin-top: 2rem; */
  /* top: -88px; */
  margin-top: -4rem;
}


}


/* style.css | file:///Users/michela/Documents/Global%20Project%20Web/theme/css/style.css */

.wrapper > main:nth-child(1) > h1:nth-child(1) {
  /* margin-bottom: 1em; */
}

#first-title{
 margin-bottom: 11rem;}