/* styles for my first wine website */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on April 15, 2024 */



@font-face {
    font-family: 'architects_daughterregular';
    src: url('../fonts/architectsdaughter-webfont.woff2') format('woff2'),
         url('../fonts/architectsdaughter-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    font-size:100%;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
}

header {
    background: #9CC8D9;

}

.inner-header {
    width: 940px;
    margin: 0 auto;
    overflow: hidden;
}

#logo {
    width: 250px;
    padding-top: 1.7em;
    padding-bottom: .7em;
    float: left;
}

.social {
    float: right;
}

.social li {
    float: left;
    list-style-type: none;
    margin-top: 2em;
    margin-left: 15px;
}

nav {
    height: 50px;
    line-height: 50px;
    background: #736002;
}

#navbar {
    clear:both;
}

#primary {
    width: 940px;
    margin: 0 auto;
    list-style-type: none;
}

#primary > li {
    float: left;
    /*  6 list items - 100 divided by 6 */
    width:16.66%;
    text-align: center;
    position: relative;
}

#primary a {
    color: white;
    text-decoration: none;
    display: block;
}

#primary a:hover {
    color: black;
    background: #A69C0F;
}

.dropdown, .dropdown2 {
    display: none;
    list-style-type: none;
}


#primary li:hover .dropdown {
    display: block;
    position: absolute;
    background: #A69C0F;
    width: 100%;

}

.dropdown li:hover .dropdown2 {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    background: #a3a07a;
    width: 100%;

}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
.sticky + #wrapper {
    padding-top: 60px;
}

#wrapper {
    width: 940px;
    margin: 0 auto;
}

#hero img{
    display: block;
}

.row {
    overflow: hidden;
    margin-bottom: 1.5em;
}

.third {
    width: 300px;
    float: left;
    margin-right: 20px;
    text-align: center;
    padding: 0 10px;
}

.third:last-of-type {
    margin-right: 0px;
}

.col8 {
    width: 460px;
    float: left;
}

.col8:last-of-type {
    float: right;
}

.col4 {
    width: 220px;
    float: left;
    text-align: center;
}

.col4:last-of-type {
    float: right;
}

main {
    float: left;
    width: 560px;
}

aside {
    float: right;
    width: 340px;
    margin-top: 4.6em;

}

footer {
    border-top: 1px solid green;
    height: 60px;
    line-height: 60px;
    clear: both;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    font-size: .875em;
}

footer li {
    margin: 0 10px;
}

img {
    max-width: 100%;
    display: block;
}

.left {
    float: left;
    margin-right: 30px;
}

.read-more {
    display: block;
    margin-top: .5em;
}


/* button styles */

.right_left {
    display: flex;
    list-style-type: none;
}

.right_left li:first-of-type {
    margin-right: auto;
}

button {
    text-decoration: none;
    font-size: .7em;
    padding: 5px 8px;
    border: 1px #8C8303 solid;
    border-radius: 3px;
}

button.previous, 
button.next,
button.read-more {
    background-color: #f1f1f1;
    color: #1C85BE;
    display: block;
}

button.previous:hover,
button.next:hover,
button.read-more:hover {
    background-color: #efefee;
    color: #8C8303;
    box-shadow: 2px 0px 4px #8C8303;

}

button.previous:active,
button.next:active,
button.read-more:active {
    background-color: #fff;
    color: #8C8303;
    box-shadow: none;
}

.about button {
    display: block;
    margin: 1em auto;
}

/* !!!!!!!!! typography!!!!!!!!!!! */

blockquote {
    font-size: 1.5em;
    font-family:'Times New Roman', Times, serif;
    text-align: center;
    margin: 0 1.5em 1.5em 1.5em;
    line-height: 1.4;
}

.inner blockquote {
    text-align: left;
    border-left: 20px solid tan;
    margin: 1em 0;
    padding-left: 30px;
    line-height: 1.2;
    font-style: italic;
    font-weight: 200;
}

.inner blockquote::before {
    content: "\"";
    margin-right: -6px;
    margin-left: -7px;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.44em;
    text-align: left;
    line-height: 1.15em;
    margin-bottom: .4em;
    margin-top: .4em;
    color: #8c8303;
}

h2 {
    color: #1C85BE;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.074em;
}

h2 + img {
    margin: .4em 0;
}

.col4 h2 {
font-size: 1.44em;
}

h3 {
    color: #1C85BE;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.428em;
    line-height: 1.1;
    font-weight: 200;
    margin-bottom: .5em;
}

.home h1 {
    font-size: 3em;
    text-align: center;
    line-height: 1.1em;
    margin-bottom: .2em;
}

.third p {
    font-size: .875em;
}

p {
    margin-bottom: 1.5em;
}
.col4 p {
    font-size:.875em;
}

aside p {
    font-size: .875em;
    line-height: 1.7;
}

figure {
    margin-bottom: 1em;
}
figcaption {
    font-size: .875em;
    background: green;
    padding: .4em;
    color: white;
}
