body {
    background-color: hwb(9 51% 0%);
}

#wrapper {
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    background-color: #ffffff;
    display: grid;
    grid-template-rows: 150px 100px auto 200px;
}

header {
    background-color: rgb(252, 236, 221);
}

header ul {
    gap: 100px;
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    padding-left: 0px;
    flex-direction: row;
}

#headerbutton {
    margin-top: 10px;
}

header button {
    margin-bottom: 5px;
}

header button {
    background-color: hsl(34, 100%, 93%);
    height: 50px;
    width: 50px;
}

header button:hover {
    background-color: lab(76.81% 21.91 61.95);
}






nav {
    background-color: #ffffff;
}

nav ul{
    width: 90%;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

nav ul li {
    background-color: rgb(255, 255, 255);
}

nav a{
    text-decoration: none;
    display: block;
    border:2px solid hsl(33, 100%, 50%);
    padding: 15px;
}

nav a:hover {
    color: lab(0% 0 0);
    background-color: #ffce92;
}

a:link {
    color: hsl(249, 100%, 50%);
}

a {
    font-size: 25px;
}

a:visited {
    color: hsl(33, 100%, 50%);
}




#bright {
    width: 996px;
    border:solid 2px hsl(0, 0%, 0%);
}

#brighth2 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 300px;
}

#mainindex {
    max-width: 1000px;
}

#mainphoto {
    margin-left: 290px;
    border-radius: 10px;
    border: 2px solid black;
}

#mainindex ul {
    padding-left: 0px;
}

#mainindex a {
    text-decoration: none;
    display: block;
    border:2px solid hsl(33, 100%, 50%);
    padding: 15px;
    width: 100px;
    margin-left: 435px;
}

#mainindex a:hover {
    color: lab(0% 0 0);
    background-color: #ffce92;
}

#mainindex h1 {
    text-align: center;
    color: hwb(0 0% 100%);
    font-size: 30px;
}

#h12 {
    text-align: center;
    font-size: 30px;
    margin-top: 80px;
}

#h13 {
    text-align: center;
    font-size: 30px;
    margin-top: 80px;
}

#recentsunsets {
    display: flex;
    list-style-type: none;
    flex-direction: row;
    justify-content: space-around;
}

#recentsunsets img {
    margin-top: 25px;
    border-radius: 10px;
    border: 2px solid black;
}

#reviews {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    flex-direction: row;
}

#profile1, #profile2, #profile3{
    border-radius: 100%;
}

#reviewbox1, #reviewbox2, #reviewbox3 {
    padding: 10px;
    background-color: #ffffff;
    border: 2px solid black;
    width: 250px;
    height: 180px;
    display: flex;
    list-style-type: none;
    flex-direction: row;
    gap: 10px;
}

#rightreview1, #rightreview2, #rightreview3 {
    display: flex;
    flex-direction: column;
    list-style-type: none;
}












#mainsunset h1 {
    text-align: center;
    color: hsl(0, 0%, 0%);
    font-size: 30px;
}

#sunsets img {
    border-radius: 20px;
}

ul#sunsets {
    padding-left: 0px;
    padding-right: 30px;
}

#sunsets {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: space-around;
}

#sunsets1, #sunsets2 {
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

#sunsets p {
    font-size: 20px;
}





#mainhistory h1 {
    text-align: center;
    font-size: 30px;
    color: hsl(0, 0%, 0%);
}

#mainhistory p, h2 {
    margin-left: 20px;
    margin-right: 20px;
}





#mainproduct h1 {
    text-align: center;
    font-size: 30px;
    color: hsl(0, 0%, 0%);
}

#productlist {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin-top: 50px;
    gap: 35px;
    justify-content: space-around;
}

#productlist img {
    border-radius: 25px;
    border: 2px solid black;
}

#productlist #bottomimage {
    margin-top: 200px;
}

#productlist h2 {
    text-align: center;
}

#productlist p {
    text-align: center;
    width: 200px;
    margin-left: 100px;
}





main {
    background-color: hwb(0 96% 4%);
}

fieldset {
    height: auto;
    margin: 40px;
    background-color: #ffffff;
}

section.two {
    margin-bottom: 10px;
}

.two input, select{
    background-color: bisque;
}

.two input:hover, select:hover{
    background-color: hsl(33, 100%, 80%);
}

input#firstname {
    margin-left: 100px;
}

input#lastname {
    margin-left: 102px;
}

input#email {
    margin-left: 78px;
}

input#phone {
    margin-left: 76px;
}

input#address {
    margin-left: 120px;
}

select#state {
    margin-left: 140px;
}

input#zip {
    margin-left: 112px;
}

input#date {
    margin-left: 79px;
}

select#frame {
    margin-left: 89px;
}

label#text {
    margin-bottom: 100%;
}

textarea {
    height: 40px;
    width: 346px;
}


.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }


#collection {
    text-align: center;
    color: hsl(0, 0%, 0%);
}

#sunsetcontext {
    width: 550px;
    margin-left: 22%;
    text-align: center;
}


footer {
    background-color: hwb(0 100% 0%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

#footericons {
    list-style: none;
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 15px;
    padding-top: 125px;
    padding-left: 100px;
    padding-right: 40px;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px;
    flex-wrap: wrap;
}

footer a{
    text-decoration: none;
    display: block;
    border:2px solid hsl(33, 100%, 50%);
    padding: 5px;
    text-align: center;
}

footer a:hover {
    color: lab(0% 0 0);
    background-color: #ffce92;
}

a:link {
    color: lab(0% 0 0);
    font-weight: bold;
}





blockquote p {
    text-align: center;
}

#mainreview h2 {
    text-align: center;
}


blockquote a {
    font-size: 14px;
}

#mainreview #login {
    font-size: 16px;
    margin-left: 92%;
}

#mainreview blockquote {
    text-align:center;
}











@media screen and (max-width: 540px) {
    nav ul {
        padding-left: 10px;
    }
    nav a {
        padding: 8px;
    }

}



@media screen and (max-width: 700px) {
    #sunsets {
        flex-direction: column;
    }

    ul#sunsets {
        padding-right: 0px;
        padding-left: 15px;
    }

    #mainindex img {
        margin-left: 10%;
    }

    #recentsunsets {
        flex-direction: column;
        margin-left: 80px;
    }

    #reviews {
        flex-direction: column;
        margin-left: 110px;
    }


    #mainindex a {
        margin-left: 180px;
    }




}

@media screen and (max-width: 870px) {
    #productlist {
        flex-direction: column;
    }

    #productlist h3 {
        margin-right: 50px;
    }

    #productlist #bottomimage {
        margin-top: 70px;
    }
}