* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-size: cover;
    background-blend-mode: luminosity;   
}



/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on December 10, 2023 */

@font-face {
    font-family: 'action_manregular';
    src: url('../fonts/action_man-webfont.woff2') format('woff2'),
         url('../fonts/action_man-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



img {
    max-width: 100%;
}


#logo {
    position:absolute;
    top: 10px;
    left: 7%;
    width: 200px;
    z-index: 1;
   
}



#logo img {
    border-radius: 100%;
    border: 1px solid  #FFC54D;
    /* margin-bottom: 30px; */
}
    

.inner-header {
    width: 940px;
    margin: 0 auto;
}



nav {
    font-weight: bolder;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 2px;  
}


nav ul {
    float: right;
    margin: 40px 0 20px 0;
}


nav li {
    list-style-type: none;
    margin-left: 35px;
    float: left;
}


#wrapper {
    
    background: #EA5959;  
    /* background-image: linear-gradient(to right, black , gray); */
    width: 940px;
    padding: 20px;
    margin: 0 auto 20px auto;
    clear: both;
    overflow: hidden;
}




main {
    width: 560px;
    float: left;
    padding-top: 20px;
    border: 1px solid #fff;
    margin-top: 10px;
    padding: 10px;

}

aside {
    width: 320px;
    float: right;
    padding-top: 20px;
    border: 1px solid #fff;
    margin-top: 10px;
    padding: 10px;
}



.box {
    /* background-color: #35D0BA; */
    width: 200px;
    height: 150px;
    float:left;
    margin: 20px;
}




.box-home {
    /* background-color: #35D0BA; */
    width: 300px;
    height: 200px;
    float:left;
    margin: 20px;
}



.ybig {
    font-size: larger;
    color: #D61C4E;
    text-shadow: 1px 1px #a80b0b;
    font-style: italic;
}


.ybig-home {
    color: #FEE3EC;
    text-shadow: 1px 1px #8f7d83;
    font-style: italic;
}



#wrapper2 {
    background-color: #35D0BA;
    width: 800px;
    border: 1px solid #fff;
    margin: 0 auto 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    
}

#wrapper3 {
    background-color: #FFf;
    margin: 0 auto 0 auto;
    overflow: hidden;
    display: grid;
    grid-auto-flow: column;
    gap: 4px;
    align-items: center;
    justify-items: center;
}



#wrapper4 {
    margin: 0 auto 0 auto;
    background: #35D0BA;
}


h1, h2 {
    margin-left: 20px;
    margin-bottom: 30px;
    color: #483838;
    /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    font-family: 'action_manregular';
    text-align: center;
}


h3 {
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bolder;
}


h4 {
    text-align: left;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    
}



.contact {
    margin-top: 20px;
}




p {
    margin: 20px;
}


a {
    text-decoration: none;
    cursor: pointer;
    color: #483838;
}


cite {
    float: right;
    color: #FEE3EC;
}


.quote {
    font-style: italic;
    color: #FEE3EC;
    letter-spacing: 1px;
}


a:hover {
    text-decoration: underline;
    color: #3A4D39;  
    /* font-weight: bold; */
}


.home #primary li:nth-child(1) a,
.about #primary li:nth-child(2) a, 
.dancegear #primary li:nth-child(3) a, 
.contact #primary li:nth-child(4) a 
  {
    text-decoration: underline;
    color: #3A4D39;  
}


.fa {
    color: #483838; 
    text-align: center;
    width: 100%;  
    
}


footer {
    height: 50px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFC54D;
    clear: both;
    /* border-top: 2px solid #53BF9D; */
}  


footer li {
    list-style-type: none;
    color: #483838;
    float: left;
    line-height: 50px;
    width: 20%;
    font-size: smaller;
    font-weight: bold;
    text-align: center;
    /* letter-spacing: 1px; */
}

footer a {
    color: #483838;   
    font-weight: bold;
}



.learn {
    text-align: center;
    display: block;
    margin-bottom: 30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#search {
    background: #35D0BA;
    border-radius: 4px;
    color: #fff;
    width: auto;
    border-color: rgba(145, 226, 226, 0.774);
    padding: 5px;
    margin-left: 5px;
    text-align: center;
    display: block;
 
}

.tutorials {
    border-radius: 4px;
    border-color: #35D0BA;
    height: 30px;
    width: 300px;
    padding: 10px;
    outline: none;  
}

.amazon {
    display: flex;
    justify-content: space-around;
}

.product {
    border: 1px solid #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%;
    height: 100%;
}


figure {
    float: right;
    /* width: 23.40%; */
    text-align: center;
    font-size: smaller;
    text-indent: 0;
    margin: 0.5em;
    padding: 0.5em;
  }


form {
    /* max-width: 580px; */
    max-width: 61.70%;
    margin-top: 20px;
}


fieldset {
    padding: 10px;
    border: 1px dotted #FFf;
   
}

legend {
    font-size: 1.3em;
    font-style:  italic;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
}


input {
    margin-bottom: 10px;
    height: 30px;
    width: 100%;
    outline: none;
}

input[type=radio],
input[type=checkbox]
 {
    height: auto;
    width: auto;
    margin-right: 3px;
    margin-bottom: 3px;
}


input[type=submit] {
    width: auto;
    
}

form {
    margin-bottom: 20px;

}


form ul {
    margin-left: 15px;
    margin-bottom: 10px;
}

form li {
    list-style-type: none;
}


select {
    margin-bottom: 10px;
    background-color: #FFC54D;
    border-radius: 3px;
    border: 1px solid brown;
}



textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
    outline: none;
}

.submit {
    background-color: #FFC54D;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid brown;
}


#reset a {
    font-weight: bold;
    color: black;

}

@media screen and (max-width:800px) {
    #wrapper {
        width: 95%;
        max-width: 1100px;
        margin: 240px auto 10px auto;
    }

    nav ul {
        width: 96%;
    }


    main {
        /* width: 56.57%;   */
        /* width: 560px divided by 940px */
        width: 50%;
        float: left;
        margin-bottom: 30px;
        
    }

    aside {
        border: 1px;
        /* width: 39.17; */
        width: 30%;
        padding: 15px;
        float: right;

    }

}


@media screen and (max-width:700px) {
    main {
        width: auto;
        float: none;
    }


    aside {
        width: auto;
        float: none;
    }


    aside img {
        display: block;
        margin: 0 auto;
    }



    header {
        width: auto;
    }



    #logo {
        max-width: 100%;
    }


    nav {
        width: auto;
    }


    nav li {
        max-width: auto; 
    }


    footer {
        width: auto;
    }
    
}
