/* #e4e3de */
/* #f0f1ec */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&family=Tenor+Sans&display=swap');

*{
    font-family: 'Roboto', sans-serif;
    color: white;
    background-color: black;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2 {
    font-family: 'Tenor Sans', sans-serif;
    color: white;
    font-size: 36px;
}

p {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 16px;
}

#wrapper {
    background-color:black;
    max-width: 1170px;
    min-height: 100vh; /*view height*/
    margin: 0 auto;

    /*primary grid*/
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px 50px minmax(650px,auto) 100px;
}

#wrapper header {
    background-color: black;
}

#icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    margin-top: 25px;

}

#f, #i {
    color: white;
    margin: 20px;
}

/* nav */

#nav1 ul {

    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around; 
}

#nav1 ul li a {
    text-decoration: none;
    font-size: 22px;
}

#nav1 a:hover {
    color:  #e4e3de;
}

/* index */

#title1 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;

    /* animation properties */
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    
    -moz-animation: my-animation 15s linear infinite;
    -webkit-animation: my-animation 15s linear infinite;
    animation: my-animation 15s linear infinite;
  }
  
@keyframes my-animation {
    from {
      -moz-transform: translateX(100%);
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
    }
    to {
      -moz-transform: translateX(-100%);
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
    }
}   

#home1, #home2 {
    margin-right: 10px;
}

#home1 {
    margin-left: 10px;
}

#home1, #home2, #home3 {
    height: auto;
    width: 32%;
}

#hair1, #hair2, #beauty1, #beauty2, #product1, #product2 {
    margin-right: 10px;
}

#beauty1, #beauty2, #beauty3, #product1, #product2, #product3 {
    margin-top: 10px;
}

/* about */

#about-img {
    float: left;
    margin-right: 15px;
    height: auto;
    width: 40% ;
}

#about-text1 {
    margin-top: 20px;
}

#about-text1, #about-text2, #about-text3 {
    margin-bottom: 10px;
}

/* personal project */

#pp1, #pp2, #pp3, #pp4, #pp5, #pp7, #pp8, #pp9, #pp10, #pp11, #pp13, #pp14, #pp15, #pp16, #pp17 {
    margin-right: 5px;
}

#pp7, #pp8, #pp9, #pp10, #pp11, #pp12, #pp13, #pp14, #pp15, #pp16, #pp17, #pp18 {
    margin-top: 5px;
}

#pp-title {
    margin-top: 10px;
    text-align: center;
}

#pp-text {
    margin-top: 10px;
}

#pp-display {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* did you know */

#headshot1, #headshot2, #headshot3, #product1, #product2 {
    margin-right: 5px;
}

/* #headshot1 {
    margin-left: 20px;
} */

table {
    width: 100%;
    margin-top: 20px;
}

th {
    margin-bottom: 10px;
    text-align: left;
}

td {
    width: 8%;
    vertical-align: top;
}

/* contact */


fieldset {
    border: none;
    margin-left: 30%;
}

legend { 
    font-weight: bold;
    font-family: 'Tenor Sans', sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
    margin-left: 90px;
}

#required1 {
    margin-bottom: 10px;
    font-size: 14px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"] {
    width: 400px;
    padding: 5px;
    margin-bottom: 10px;
    background-color: white;
    color: black;
}

#subject {
    background-color: white;
    color: black;
    margin-bottom: 10px; 
    width: 400px;
    height: 200px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}


input[type="submit"] {
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    margin-left: 160px;
}

input[type="submit"]:hover {
    background-color: black;
    color:white;
}

.tooltip {
	position: relative;
	visibility: hidden;
	left: 325px;
	top: 30px; 
	width: 250px;
	padding: 5px;
	color: white;
	background-color: red;
}

.error {
	color: #D92525;
    display: block;
    margin-bottom: 5px;
}

label.error::before {
	content: 'X ';
	font-weight: bold;
	color: #D92525;
}

.correct {
	color: green;
}
span.correct{
	padding-left: 10px;
}

/* media queries  */

@media screen and (max-width: 480px) {
    *{
        font-size: 12px;
        font-family: 'Roboto', sans-serif;
        color: white;
        background-color: black;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    h2 {
        font-family: 'Tenor Sans', sans-serif;
        color: white;
        font-size: 26px;
    }
    
    p {
        font-family: 'Roboto', sans-serif;
        color: white;
        font-size: 14px;
    }

    #wrapper {
        max-width: 100%;
        min-height: 100vh;
    }

    #nav1 ul li a {
        font-size: 16px;
    }

    /* index */

    #home1 {
        content: url("../images/folio/home1-mobile.jpg");
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        height: auto;
    }

    #home2 {
        content: url("../images/folio/home2.jpg");
        display: none;
        height: auto;
    }

    #home3 {
        content: url("../images/folio/home3.jpg");
        display: none; 
        height: auto;
    }


    #about-img {
        width: 100%;
        margin-bottom: 20px;
    }

    #about-title {
        margin-left: 3%;
    }

    #about-text1, #about-text2, #about-text3, #about-text4 {
        margin-left: 3%;
        margin-right: 3%;
    }

    #pp-text {
        margin-left: 3%;
        margin-right: 3%;
    }

    #pp-display {
        margin-left: 3%;
        margin-right: 3%;
    }

    #hair1, #hair2, #hair3, #beauty1, #beauty2, #beauty3, #product1, #product2, #product3 {
        width: 100%;
        margin-bottom: 10px;
        margin-top: 0;
    }

    #pp1 {
        content: url("../images/portfolio/mobile/pp1.jpg");
        width: 31%;
        margin-left: 1.5%;
    }
    
    #pp2 {
        content: url("../images/portfolio/mobile/pp2.jpg");
        width: 31%;
    }
    
    #pp3 {
        content: url("../images/portfolio/mobile/pp3.jpg");
        width: 31%;
        margin-right: 0;
    }
    
    #pp4 {
        content: url("../images/portfolio/mobile/pp4.jpg");
        width: 31%;
        margin-top: 5px;
        margin-left: 1.5%;
    }
    
    #pp5 {
        content: url("../images/portfolio/mobile/pp4.jpg");
        width: 31%;
        margin-top: 5px;
    } 
    
    #pp6 {
        content: url("../images/portfolio/mobile/pp6.jpg");
        width: 31%;
        margin-top: 5px;
    } 
    
    #pp7 {
        content: url("../images/portfolio/mobile/pp7.jpg");
        width: 31%;
        margin-left: 1.5%;
    } 
    
    #pp8 {
        content: url("../images/portfolio/mobile/pp8.jpg");
        width: 31%;
    } 
    
    #pp9 {
        content: url("../images/portfolio/mobile/pp9.jpg");
        width: 31%;
        margin-right: 0;
    } 
    
    #pp10 {
        content: url("../images/portfolio/mobile/pp10.jpg");
        width: 31%;
        margin-left: 1.5%;
    } 
    
    #pp11 {
        content: url("../images/portfolio/mobile/pp11.jpg");
        width: 31%;
    } 
    
    #pp12 {
        content: url("../images/portfolio/mobile/pp12.jpg");
        width: 31%;
    } 
    
    #pp13 {
        content: url("../images/portfolio/mobile/pp13.jpg");
        width: 31%;
        margin-left: 1.5%;
    } 
    
    #pp14 {
        content: url("../images/portfolio/mobile/pp14.jpg");
        width: 31%;
    } 
    
    #pp15 {
        content: url("../images/portfolio/mobile/pp15.jpg");
        width: 31%;
        margin-right: 0;
    } 
    
    #pp16 {
        content: url("../images/portfolio/mobile/pp16.jpg");
        width: 31%;
        margin-left: 1.5%;
    } 
    
    #pp17 {
        content: url("../images/portfolio/mobile/pp17.jpg");
        width: 31%;
    } 
    
    #pp18 {
        content: url("../images/portfolio/mobile/pp18.jpg");
        width: 31%;
    }

    fieldset {
        width: 100%;
        margin-left: 8%;
    }
}




