@charset "UTF-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
	font-size: 100%;
	box-sizing: border-box;
	vertical-align: baseline;
}

html {
    scroll-behavior: smooth;

}

/* FONTS */
body {
    font-family: museo-sans;
    
}

#wordmark {
    font-family: warbler-display;
    font-variant: small-caps;
    font-size: 2rem;
    letter-spacing: 0.2rem;
}

nav {
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
}



/* GENERAL */

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;

    z-index: 100;
}

header:hover {
    background-color: white;
}

header .container {
    width: 90vw;
    margin: auto;

    padding-bottom: 1vw;

    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* WORDMARK */
header #wordmark a {
    text-decoration: none;
    color: #1E3A5F;
}
/* NAVIGATION BAR */
header nav {    
    display: flex;
    justify-content:space-between;
    align-items: center;
}

header nav li {
    display: inline-flex;
}

header nav .optical {
    padding-left: 20px;
}

header nav a {
    text-decoration: none;
    color: #1E3A5F;

    transition: all 0.2s ease-in-out;
}

nav a:hover {
    color: #1E3A5F;
}

/* DROP DOWN MENU */
header nav ul {
    list-style: none;

    position: relative;
    text-align: center;
}

header nav li {
    width: 9vw;
}

header nav ul li a { 
    display: block; 

    padding: 10px 10px; 
    margin: auto;

    text-decoration: none; 

    z-index: 99;
} 

header nav ul li:hover>ul {
    display: block; /*to show the dropdown menus*/

    padding-bottom: 1%;
    padding-top: 2.5vw;

    background-color: white;
}

header nav ul ul {
    display: none;
    position: absolute;
    z-index: 98;
}

header nav ul ul li {
    display: block;
}


/* UTILITIES */
#utilities {
    margin-left: 2vw;
    display: flex;
    align-items: center;
}

#utilities p {
    margin: 0 0.5vw;
}



/* MAIN */
#mainsection {
    height: 200vh;

    display: flex;
}

#mainsection .img_box {
    width: 65vw;
    height: 100vh;
    overflow: hidden;
}

#mainsection #img_box1 {
    margin-bottom: 0.5vw;
}

#mainsection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overview {
    width: 30vw;
    height: 175vh;
}

.product_info {
    position: sticky;
    top: 10vw;

    margin-top: 10vw;
    margin-left: 3vw;
}

.product_info h1 {
    font-weight: normal;
    font-size: 2.5rem;
    letter-spacing: .2rem;
}

.product_info p {
    font-weight: normal;
    font-size: 1.3rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1vw 0;
}

.wishlist {
    display: flex;
    align-items: center;

    text-decoration: none;
    color: #3E6990;
}

.wishlist:hover {
    color: #1E3A5F;
}

.wishlist p {
    font-size: .8rem;
    padding-right: 1%;
}

.product_sizes {
    margin-top: 4vw;
}

.product_sizes p {
    font-size: 1rem;
}

.sizing {
    margin: 2vw auto;
    width: 25vw;

    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: left;
}

.sizing p {
    width: 50px;
    height: 50px;

    margin: auto;

    color: black;
    border: 1px solid #3e68907c;
    border-radius: 5px;

    text-decoration: none;
    text-align: center;
    align-content: center;

    transition: all 0.2 ease-in-out;
}

.sizing p:hover {
    color: white;
    background-color:#3e68907c;
}

.sizing p:active {
    background-color: #1E3A5F;
}

.btn_addtocart {
    background-color: #3E6990;
    color: white;

    width: 240px;
    height: 50px;
    margin: 3vw auto;
    padding: 2%;

    align-content: center;
    text-align: center;

    border-radius: 5px;

    transition: all 0.3s ease-in-out;
}

.btn_addtocart h4 {
    font-size: 1rem;
    font-weight: 100;
}

.btn_addtocart:hover {
    background-color: #1E3A5F;
}

.btn_addtocart:active { 
    scale: 1.05;
}


/* SECTION 2 */
#section2 {
    width: 100%;
    height: 100vh;
    overflow: hidden;

    margin-top: 0.5vw;

    display: flex;
}

/* RELATED STYLES */
.related_styles {
    width: 65vw;
    padding: 5vw;
    padding-bottom: 0;
}

.related_styles h2 {
    font-size: 1.25rem;
    font-weight: 100;
    letter-spacing: 0.2rem;

    padding: 2vw 0;
}

.related_styles div {
    display: flex;
    gap: 0.5vw;
}

.related_styles div a {
    width: 27vw;
    height: 45vw;
    overflow: hidden;
}

.related_styles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* RECYCLE BANNER */
#recycle {
    width: 35vw;

    position: relative;
}

#recycle .img_box {
    width: 100%;
    height: 100%;
    overflow: hidden;

    position: absolute;
    top: 0;

    z-index: -1;
}

#recycle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    opacity: 0.5;
}

#recycle #title_sub{
    font-weight: bold;
    font-size: 2.5rem;
    letter-spacing: .6rem;
    color: #1E3A5F;

    margin: 2vw;
}

#recycle #little_sub{
    font-weight: normal;
    font-size: 1.7rem;
    letter-spacing: .3rem;
    color: #1E3A5F;

    padding-top: 95%;
    margin: 2vw;
}

#recycle a {
    text-decoration: none;
    font-weight: bold;
    color:#1E3A5F;
    line-height:3rem;
}

#recycle a:hover {
    text-decoration: none;
    color:#1E3A5F;
    transition-duration: .3s;
    transition-timing-function: ease-in;
    font-size: 1.75rem;
}


/* FOOTER */
footer {
    padding-top: 3vw;
    background-color: #EEEEEE;
    color: black;
}

footer .container {
    width: 90vw;
    margin: auto;
}

footer #wordmark {
    color: #1E3A5F;
}

#footer_grid {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto;
    grid-template-areas: 
        "nav logo";
}

footer nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-top: 3vw;
    padding-bottom: 3vw;
    padding-right: 15vw;

    grid-area: nav;
}

footer nav a {
    text-decoration: none;
    color: black;
    
    transition: all 0.2s ease-in-out;
    
}

footer nav section div {
    padding-bottom: 1vw;
}

footer h3 {
    padding-bottom: 3vw;
}

footer p {
    padding-bottom: 1vw;
}

#logo_box {
    width: 20vw;

    margin: auto;
    margin-top: 3vw;

    grid-area: logo;
}

#logo_box img {
    width: 100%;
}