/* font-family: 'Allison', cursive;
font-family: 'Raleway', sans-serif; */




* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}
header {
    background-color: black;
    padding: 0 90px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav {
    align-self: center;
    display: flex;

}
nav a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    padding: 3px 9px;

}
nav a:hover {
    color: orange;
}
article {
    background-color: purple;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
    flex: 1 1 300px;

}

#hero {
    /* height: 60vh; */
    overflow: hidden ;

}
#hero img {
    max-height: 100%; 
    min-width: 100%;  
    object-fit: cover;  
    vertical-align: center; 
}



h1 {
    font-family: 'Allison', cursive;
    font-size: 75px;
    color: orange;

}
h2 {
    font-family: 'Allison', cursive;
    font-size: 60px;
    color: white;
}
h3 {
    font-family: 'Allison', cursive;
    font-size: 80px;
    color: orange;
    text-align: center;
}
h4 {
    font-family: 'Allison', cursive;
    font-size: 60px;
    color: rgb(255, 255, 255);

}
h5 {
    color: purple;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

p {
    color: rgb(235, 226, 245);
    padding-top: 10px;
    padding-bottom: 10px;
}
i {
    font-size:50px;
    color: orange;
}


#features {
    padding-bottom: 40px;
}
#features div {
    display: flex;
    gap: 15px;
    padding: 0px 90px;
    justify-content: space-around;
    flex-wrap: wrap;

}


article a {
    background-color: white;
    color: purple;
    text-decoration: none;
    text-transform: uppercase;
    padding: 3px 9px;
    align-self: center;
}
#gallery {
    background-color: black;
    padding: 40px 90px;
}
#gallery div {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    
}
#gallery img {
    flex: 1 1 230px;
}
footer {
    background-color: orange;
    padding: 0 90px;
    display: flex;
    justify-content: space-between;

}
footer i {
    font-size: 30px;
    color: white;
}
footer div {
    display: flex;
    flex-wrap: wrap;
    
}
footer span {
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
}
#social {
    align-self: center;
}
.toggle {
    display: none;
    align-self: center;
}
    
.active {
    display: flex;
}
    
    /* the following rule will style the bars */
i.fa-bars {
    color: white;
    font-size: 30px;
    align-self: center;
}

/* tablet */
@media (max-width: 825px){
    body {
        background-color: rgb(48, 31, 34);
    }
    article {
        background-color: purple;
        width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        padding: 15px;
        flex: 0 0 275px;
        height: 300px;
    }
    footer {
        background-color: orange;
        padding: 20px 45px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        column-gap: 20px;
      }
    h4 {
        font-family: 'Allison', cursive;
        font-size: 40px;
        color: rgb(255, 255, 255);
        flex-grow: 1;
      }
    
    nav {
        flex-direction: column;

      }
    header {
        padding: 10px 30px;
    }
    h1 {
        font-size: 50px;
    }

}

/* rules for toggle navigation */
@media (max-width: 700px){
    .toggle {
        display: block;
        align-self: center;
    }
        
    nav {
        flex: 100%;
        display: none;
        text-align: center;
        row-gap: 8px;
    }
    footer {
        text-align: center;
    }    
    footer div {
        justify-content: space-around;
    }




}

/* mobile */
@media (max-width: 450px){
    body {
        background-color: rgb(87, 32, 32);
    }

    h3 {
        font-family: 'Allison', cursive;
        font-size: 50px;
        color: orange;
        text-align: center;
        margin-top: 20px;
    }

    article {
        background-color: purple;
        width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        padding: 20px;
        flex: 0 0 auto;
    }
    #gallery {
        background-color: black;
        padding: 40px 30px;
      }

    footer {
        text-align: center;
    }    
    footer div {
        flex-direction: column;
    }

}
