* {
    margin: 0px;
    font-family: Rockwell;
    text-decoration: none;
}

#logo-text{
    padding: 15px;
}

#hero img{
    width: 100%;
    height: 500px;
}

#about-us{
    padding: 3%;
    background-color: #d5d5d6;
    height: 490px;
}

#about-us p{
    font-size: 1.5rem;
    width: 35%;
    float: left;
    padding-bottom: 25px;
    border-radius: 5px;
    position: relative;
    padding-top: 10%;
}

#about-us img{
    float: right;
    width: 60%;
    height: -webkit-fill-available;
    border-radius: 5px;
}

header {
    text-align: left;
    color: rgb(0, 0, 0);
    background-color: #d5d5d6;
    height: 50;
}

nav ul {
    background-color: #d5d5d6;
    display: flex;
    list-style-type: none;
    flex-flow: row nowrap;
    justify-content: space-around;
    height: 75px;
    margin:0;
    padding: 0px;
    align-items: center;
}

nav ul li {
    width: 100%;
    text-align: center;
}

nav a {
    color: rgb(0, 0, 0);
    padding: 1rem 0rem;
    display: block;
    transition: background-color 1s ease;
    font-size: larger;
    text-decoration: none;
    border-radius: 5px;
}

nav a:visited {
    text-decoration: none;
    color: rgb(0, 0, 0);
    
}

nav a:hover {
    background-color: #54b3d6;
    border-radius: 5px;
}


#body-text{
    position: absolute;
    font-size: 1.5rem;
    text-align: center;
    background-color: #54b3d6;
    width: 40%;
    top: 55%;
    left: 30%;
    border-radius: 5px;
    padding: 5px;
    border-color: #000;
    border-style: solid;
}

#button p {
    position: relative;
    background-color: #54b3d6;
    text-align: center;
    padding: 12px;
    border-color: #000;
    border-style: solid;
}

#button p:hover {
    text-decoration: underline;
}

a {
    color: black;
}

a:visited{
    text-decoration: none;
}

footer{
    text-align: center;
    background-color: #54b3d6;
    padding: 15px;
}

footer p {
    text-align: center;
    padding: 15px;
}

footer ul {
    padding-left: 0;
}

footer li{
    list-style: none;
    display: inline;
    padding: 15px;
    text-align: center;
}

nav a {
    background-image: linear-gradient(
      to right,
      #54b3d6,
      #54b3d6 50%,
      #000 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
  }
  
  nav a:before {
    content: '';
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
  }
  
  nav a:hover {
   background-position: 0;
  }
  
nav a:hover::before {
    width:100%;
  }

footer a:hover {
    text-decoration: underline;
}


/* contact page styling */

input[type=text], select, textarea {
    width: 100%; 
    padding: 12px; 
    border: 2px solid #54b3d6; 
    box-sizing: border-box; 
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #d5d5d6;
    color: black;
    border-color: #54b3d6;
    padding: 10px 15px;
    cursor: pointer;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background-color: #54b3d6;
  }
  
  /* Add a background color and some padding around the form */
  .container {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    background-color: #d5d5d6;
    padding: 250px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #contact-title {
    text-align: center;
    background-color: #54b3d6;
  }

  #contact-title h4 {
    padding: 10px;
  }

  #contact-title h2 {
    padding: 25px;
  }



 /* collection stying */
#collection {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    width: 100%;
}

#collection img {
    width: 50%;
    object-fit: cover;
}

#card {
    flex-basis: 40%;
    padding: 50px;
} 

#card p {
    padding: 5px;
}

#card img:hover{
    box-shadow: 10px 5px 5px #54b3d6;
}

.hamburger{
    display: none;
}

.mobile-nav{
    display: none;
}

@media only screen and (max-width: 960px) {
    #desktop-nav{
        display: none;
    }
    
    .hamburger {
        display: block;
        position: fixed;
        top: 17px;
        right: 10px;
        width: 40px;
        cursor: pointer;
        appearance: none;
        background: none;
        outline: none;
        border:none;
        z-index: 99;
    }

    .hamburger .bar, .hamburger:after, .hamburger:before {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background-color: #3A2217;
        margin: 6px 0px;
        transition: 0.4s;
    }

    .hamburger.is-active:before {
        transform: rotate(-45deg) translate( -4px, 4px);
    }

    .hamburger.is-active:after {
        transform: rotate(45deg) translate( -8px, -9px);
    }

    .hamburger.is-active .bar {
        opacity: 0;
    }

    header{
        height: 75px;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        min-height: 100vh;
        display: none;
        z-index: 98;
        background-color:#d5d5d6;
        padding-top: 120px;
        list-style: none;
    }
    
    .mobile-nav a {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto 16px;
        text-align: center;
        margin-bottom: 16px;
        padding: 12px 16px;
        background-color:#E4DCD1
    }

    
    
    
    #hero img {
        object-fit: cover;
    }

    .container{
        padding: 25px;
    }

    #body-text {
        top: 63%;
        width: fit-content;
        left: inherit;
        display: block;
    }

    #about-us {
        width: 100%;
        padding: 0;
    }

    #about-us img {
        width: 100%;
        height: 200px;
        float: none;
        top: 15%;
        position: relative;
    }

    #about-us p {
        width: fit-content;
        display: block;
        padding: 5px;
        text-align: center;
        top: 8%;
    }

    #button p {
        position: relative;
        left: 23%;
    }

    *{
        margin: 0;
    }
}