/* CSS reset rules*/
* {
    margin: 0; padding: 0; border:0; box-sizing: border-box;
}

/* html ruleset*/
:root, html {
    /* 10 / 16 pixels */
    font-size: 62.5%; /*allow root em unit of mesurment. This turns text to */
    min-height: 100vh;
    min-width: 100vw;
    --color-accent1:rgb(130, 18, 24); /*creates a CSS variable*/
    --color-accent1-t:rgb(130, 18, 24,0.5);
    --color-accent2: rgb(38,55,92);
    --color-accent3: rgb(50,50,50);
    --color-accent4: rgb(205,183,151);
    --color-accent5:#7BA2B3;
}
/*This portion styles the header navigation menu of the landing page*/
header{
    padding: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-accent3);
    position: fixed;
    background-color: var(--color-accent4);
    z-index: 10;
}
#button {
    display:none;
}
#name {
    font-family: 'Inter';
    font-size: 5rem; font-weight:normal;
    left: 0px;
    /*text-shadow:2px 2px 1px var(--color-accent1), -2px 0px 12px rgb(20,20,20);*/
    margin-top: .2em;
}
#description {
    font-size: 2.8rem;
    line-height: 1.6;
}
.navBar{
    display: flex;
    position: relative;
    padding-right: 30px;
}
.navBar li,
.navBar a{
    line-height: 56px;
    height: 100%;
}
.navBar .level2{
    position: absolute;
    right: 125px;
    top: 0px;
}
ul.level1 > li:hover > ul.level2 {
    position: absolute;
    display: block;
    text-align: center;
    background-color:#979087;
    border-radius: 25px;
}
ul.level1 > li> ul.level2 {/**/
    display: none;
}
.level2 a{
    padding: 25px;
}
header a, header li{
    color:var(--color-accent3);
    font-size: 2.8rem;
    line-height: 1.6;
    text-decoration: none;
    list-style-type: none;
}
a:hover {
    text-decoration: underline;
}
body {
    min-height: 100vh; /*viewport height*/
    font-family: 'Inter';
    font-size: 1.4rem;
    background-color: var(--color-accent4);
}
a:hover {
    color:var(--color-accent1);
    text-decoration: none;
}

/*end of header*/

/* Styles main and allows it to scroll under header*/
main {
    padding: 150px 8px 12px 8px;
    z-index: 1;
}
/* Text for page the user is on. Styles the headline one in main. ex "Works"*/
main > h1 {
    color:var(--color-accent3);
    font-family:'Inter';
    font-size: 10rem;
    font-weight: normal;
    text-align: right;
    position:fixed;
    top:200px;
    right:100px;
    text-transform: capitalize;
}
/*******************************Consider Moving this section to seperate file in assets********************/
/*Style For Mega Menu*/
#megaMenuh1{
    font-size: 6rem;
    position: relative;
    top: 150px;
    text-align: center;
}
#megaMenu-container{
    height: 100vh;
    width: 100vw;
    background-color: #345;
    border: 5px solid white;
   }
#megaMenu{
    margin: 0 auto;
    height: 80%;
    width: 95%;
    background-color: black;
    margin-top: 200px;
}
#megaMenu > nav {
    height: 80px;
    background-color: black;
    
}
#megaMenu > nav > ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
}
#megaMenu > nav > ul> li:last-child > a{
    display: flex;
    gap: 5px;
}
#megaMenu li{
    width: 200px;
    max-height: 60px;
}
#megaMenu li:hover{
    background-color: orangered;
}
#megaMenu a{
    display: block;
    text-decoration: none;
    font-size: 4rem;
    color: whitesmoke;
    width: 100%;
}
.dropDownMenuContainer{
 display: none;
}
.dropDownTitle{
    position: relative;
    top: 5px;
    height: 250px;
    left: -400px;
    width: 94.5vw;
    background-color: orangered;
}
.dropDownTitle h1{
    font-size: 6rem;
    padding-top: 85px;
    padding-left: 25px;
}
.dropDownMenu{
    height: 500px;
    width:94.5vw;
    position: relative;
    left: -400px;
    background-color: #979087;
    display: flex;
    justify-content: flex-start;
    gap: 300px;
}
.dropDownCategory{
    margin-top: 45px;
    margin-left: 35px;
}
.dropDownCategory h1{
    font-size: 4rem;
}
.dropDownCategory li{
    list-style-type: none;
    padding: 50px 25px;
}

.dropDownCategory li:hover{
   border-radius: 5px;
   background-color: transparent !important;
   border-bottom: 5px solid;

}
   
.dropDownCategory li::after{
    border-radius: 5px;
    background-color: transparent !important;
    border-bottom: 5px solid ;
    transition: width 0.3s ease, left 0.3s ease;
}
.dropDownCategory a{
    color: black !important;
    font-size: 2rem;
}
.menuLevel:hover .dropDownMenuContainer{
    display: block;
}

/*******************************Consider Moving this section to seperate file in assets********************/

/*This portion styles the 'Works' section of the main landing page.*/
.works {
    display: flex;
    flex-direction: column;
    padding: 75px 200px;
   
}
.work {
    margin-bottom: 75px;
}
.works h2 {
    font-family: 'Playfair';
    color: var(--color-accent1);
    font-size: 6rem;
    font-weight: 700;
}
.works h3 {
    font-family: "Inter";
    font-weight: normal;
    font-size: 4rem;
    color: rgb(131,126,119);
}
.work .styleLine{
    margin-top:20px;
    margin-left: 0px;
    width: 50%;
    height: 5px;
    border: 4px solid black;
    border-radius: 100% 0% 100% 0% / 100% 100% 0% 0%; 
}

.works p {
    padding-top:0px;
    width: 35%;
    font-family: "Inter";
    font-size:1.8em;
    text-align: justify;
    margin-left: 73px;
    text-wrap: balance;
}
img.small {
    height: 45%;
    width: 50%;

}

/*End of works section*/
/*End of main*/

footer{
    padding: 8px;
    font-size: 1.2rem;
    display: flex;
    flex-flow: row wrap;
    background-color: var(--color-accent1);
}

#copy {
    font-size: 24px;
    align-self: flex-end;
}
.footer-content{
    margin: 65px;
    text-align: left;
    padding: 5px;
}
.footer-content>h3{
    font-size: 32px;
}
.footer-content > a{
    font-size: 24px;
    padding: 3px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color:var(--color-accent4);
}

.debug{
    border: 1px solid red;
}
/*Small Styles*/
@media screen and (max-width:480px){
    #description{
        display: none;
    }
    #button {
        display: contents;
    }
   .navBar{
    position: relative;
   }
    .mmopen{/*having issues aligning this item in the center of the screen while keeping it responsive to other devices.*/
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 100vw;
        top: 450%; /*These were guessing to show as close to aligned as possible.*/
        left: -150%;
        transform: translate(-50%, -50%);
        background-color: #979087;
    }
    .mmclosed{
        display: none;
    }
    .navBar .level2{
        position: absolute;
        right: 125px;
        top: 0px;
    }
    ul.level1 > li:hover > ul.level2 {
        display: none;
        text-align: center;
    }
    ul > li{
        border-bottom: 1px solid white;
    }
    main{
        display:flex;
        width:100vw;
        overflow: hidden;
        margin-bottom: -100px;
    }
    main > h1{
        display: none;
    }
   /*Main for Mega menu page*/
 
    .works{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 5px 0px;
    }
    .work{
       min-height:700px; 
    }
    img.small{
        height: 340px; width: 100%; /*Some images will be different landscapes and you will need to adjust this.*/
    }
    .work > h2, .work > h3 {
        text-align: center;
    }
    .works p {
        width: 100%;
        font-size:1.8em;
        margin-left: 0px;
    }
    .work .styleLine{
        width: 100%;
        height: 5px;
    }
    .footer-content{
        margin: 0px auto;
        justify-content: space-between;
        text-align: center;
        padding: 15px;
    }
} /*End small styles*/
/*tablets*/
@media screen and (min-width: 480px) and (max-width: 996px) {
    main > h1{
        display: none;
    }
    #description{
        display: none;
    }
}/*End large styles*/
/*calm mind easy work space*/