/*  JavaScript 
    Project 1

    Author: Nicole Wozniak
    Date:   2/20/2025
    Course: ITWP 1100 O1201 2025WI 
    Filename: styles.css
*/

/*Font for Title/Headers*/
@font-face{
    font-family: 'Almendra';
    src: 
        url(webfonts/AlmendraDisplay-Regular.ttf);
    font-style: normal;
}

/*Font for smaller headers on pages*/
@font-face{
    font-family: 'Cinzel';
    src: 
        url(webfonts/CinzelDecorative-Regular.ttf);
    font-style: normal;
}

/*Nav Font*/
@font-face{
    font-family: 'Frederick';
    src: 
        url(webfonts/FrederickatheGreat-Regular.ttf);
    font-style: normal;
}

/*Font for general text*/
@font-face{
    font-family: 'Itim';
    src: 
        url(webfonts/Itim-Regular.ttf);
    font-style: normal;
}

 /*nav bar style from - https://www.sliderrevolution.com/resources/css-menu/
 I changed colors, sizes and a few other little things to make it fit my idea*/
 nav {
    margin: 25px auto 0;
    position: relative;
    width: 750px;
    height: 50px;
    background-color: #034e98;
    border-radius: 8px;
    font-size: 0;
    font-family: 'Frederick';
  }
  nav a {
    line-height: 50px;
    padding-left: 1px;
    height: 100%;
    font-size: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: #c0c0c0;
    cursor: pointer;
  }
  nav .animation {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 0;
    transition: all .5s ease 0s;
    border-radius: 8px;
  }
  nav a:nth-child(1) {
    width: 100px;
  }
  nav a:nth-child(2) {
    width: 100px;
  }
  nav a:nth-child(3) {
    width: 130px;
  }
  nav a:nth-child(4) {
    width: 130px;
  }
  nav a:nth-child(5) {
    width: 130px;
  }
  nav a:nth-child(6) {
    width: 130px;
  }
  nav .start-home, a:nth-child(1):hover~.animation {
    width: 100px;
    left: 0;
    background-color: #28bb6c;
  }
  nav .start-guides, a:nth-child(2):hover~.animation {
    width: 100px;
    left: 100px;
    background-color: #f1ee81;
  }
  nav .start-bundles, a:nth-child(3):hover~.animation {
    width: 130px;
    left: 210px;
    background-color: #f92387;
  }
  nav .start-prompts, a:nth-child(4):hover~.animation {
    width: 130px;
    left: 335px;
    background-color: #9b59b6;
  }
  nav .start-resources, a:nth-child(5):hover~.animation {
    width: 130px;
    left: 470px;
    background-color: #e67e22;
  }
  nav .start-contactus, a:nth-child(6):hover~.animation {
    width: 130px;
    left: 600px;
    background-color: #05e4e4;
  }

  /*general styling*/
body{
    font-size: 16px;
    font-family: 'Itim',cursive;
    background: #0259b0;
    color:silver;
}

h1{
    text-align: center;
    margin: 40px 0 40px;
    text-align: center;
    font-size: 35px;
    color: #a90cf7;
    text-shadow: 3px 3px 5px #000000;
    font-family: 'Almendra', cursive;
}

h2{
    text-align:center;
    font-size: 22px;
    text-shadow:1px 1px 2px gray;
    font-family:'Cinzel', cursive;
    color: #7fff00;
}

h3{
    font-size:16px;
    font-family:'Cinzel', cursive;
    color: #7fff00;
}

p{
    color: #c0c0c0;
    font-family: 'Itim',cursive;
    font-size: 16px;
}

.bodyText{
    margin-top: 3rem;
    margin-left: 2rem;
}

/*bundle styles*/
article{
    width: 900px;
    height: 270px;
    position: relative;
    text-align: left;
    border: 2px inset #9932cc;
    margin:auto;
    background:#8c0ccc;
}

.bundleOptions, .bundleOptions label{
    float:left;
    font-size: 16px;
    margin-top: 5px;
}

.bundleOptions input{
    float:left;
    clear: left;
    margin: 10px;
}

.breakdown{
    display:flex;
    gap:25px;
    position:relative;
}

.listTitle{
    font-size: 20px;
    color: #7fff00;
}
li{
    font-size: 16px;
    margin-left: 10px;
    color:#c0c0c0;
}

.columnR{
    width:50%;
    float:right;
}
.columnL{
    width:50%;
    float:left;
}

.total, #totalCost, #totalItems{
    color:#c0c0c0;
    text-align: center;
    font-size: 18px;
    line-height: .2;
}

/*contact us style*/
.formContent{
    position: relative;
    width: 740px;
    height: 570px;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
    border: 5px inset #a90cf7;
}

.formContent label{
    color: #d179fd;
    display: block;
    float: left;
    clear: left;
    width: 150px;
    margin: 0 15px 25px 0;
}
.formContent input, #reason{
    float: left;
    width: 200px;
    margin: 0 0 25px 0;
    border: 3px solid #7fff00;
    background-color:#0259b0;
    color: #d179fd;
}

.formContent textarea{
    float: left;
    width: 400px;
    height: 100px;
    margin: 0 0 25px 0;
    border: 3px solid #7fff00;
    background-color: #0259b0;
}

::placeholder{
    color:#05e4e4;
}

.formContent p{
    color:#7fff00;
}

#subButton{
    color: #aa00ff;
}

input[type="submit"]{
    display: block;
    background-color:#7fff00;
    width: 120px;
    height: 30px;
    font-size: 1em;
    margin: 20px 300px;
    float: left;
    clear: none;
}

#formError{
    color: #fa6aad;
}

/*added styles to the footer that holds the validation links and the homepage link*/
#validation{
    font-family: 'Almendra', Helvetica, sans-serif;
    text-align: center;
    margin: 50px auto;
    border:deepskyblue groove;
    width:40%;
}

#validation a:link{
    color:#00c000;
    font-size:.85rem;
    text-decoration: underline;
}
#validation a:visited{
    color:#c0f76f;
    text-decoration: line-through;
}
#validation a:hover{
    text-decoration: line-through aqua;
}
#validation a:active{
    text-decoration: line-through aqua;
} 