
/*Global Values*/

header,
footer {
    background-color:#BDD9F2;
    padding: 10px 30px 5px;
}

nav,
#menu-checkbox {
    display: none;
}

header {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-auto-flow: dense;
    position: relative;
    align-items: center;
}

a,
a:visited {
    text-decoration: none; color: inherit;
}

a:hover {
    transform: scale(102%);
    transition-duration: 0.5s;
}

.shopping_cart {
    position: relative;
}

.cart-amount {
	background-color: #FF7800;
	color: white;
	position: absolute;
	top: 0;
	right: 0;
	padding: 2px;
	border-radius: 4px;
	font-weight: 700;
}

header a {
    grid-column: 3;
}

.loader {
    border: 16px solid #BDD9F2; 
    border-top: 16px solid #0087FF;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    animation: spin 2s linear infinite;
    grid-column: 2;
    margin: auto;
  }

main {
    margin: 15px;
}

.nav_right input {
    border-radius: 30px;
    padding: 10px;
    border: none;
}

nav ul {
    list-style: none;
    padding: 0px
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    margin-top: auto;
    justify-items: center;
}

footer .logo {
    grid-column: 1/3;
    justify-self: center;
}

nav {
    position: absolute; 
    background-color: #F5F5F5;
}

#menu-checkbox:checked ~ nav {
    display: block;
    top: 80px;
    left: 8px;
}

nav a {
    display: block;
    padding: 10px 20px;
}

.nav_right {
    grid-column: 5;
}

.nav_right input {
    display: none;
}

.hamburger-icon {
    grid-column: 1;
    font-size: 1.5em;
}

body {
    font-family: "montserrat", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;   
    margin: 0px;
}

.button {
    border: #0087FF solid 2px;
    border-radius: 5px;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 20px;
}

span {
    grid-column: 40;
    align-self: center;
    color: #404040;
}

.logo {
    max-width: 8em;
}

.orange-button
 {
    background-color: #FF7800;
    color: black;
    border: #FF7800 solid 2px;
    border-radius: 5px;
    text-transform: capitalize;
    font-size: 20px;
	font-weight: 700;
    font-family: "montserrat", sans-serif;
    cursor: pointer;
}

.orange-button:hover {
    background-color: white;
    color: black;
    transform: scale(102%);
    transition-duration: 0.5s;
}

.error {
    font-size: 75px;
}


.price-tag p {
    font-size: 30px;
    font-weight: 700;
}

/*Home Page*/

.main_index {
	display: grid;
	grid-template-columns: 1fr;
}

.h1-index {
	font-size: 0px;
	visibility: hidden;
}

.h2_index {
	font-size: 25px;
	text-transform: capitalize;
	align-self: center;
	justify-self: center;
    margin: 10px;
}

.womens_card_index,
.mens_card_index {
    display: grid;
    background:#BDD9F2;
    grid-template-columns: 1fr 1fr;
    grid-column: 1/5;
    border-radius: 15px;
    margin: 15px;
}

.womens_card_img,
.mens_card_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 0px 0px 15px;
}

.hero {
    width: 100%;
    grid-column: 1/5;
    object-fit: cover;
    height: 185px;
    object-position: top;
    }

.index_jackets_card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 5px;
}

.index_jackets_img {
    max-height: 125px;
}

.index_jackets_box {
    display: grid;
	grid-column: 1/5;
	border: #BDD9F2 solid 10px;
	border-radius: 30px;
	padding: 10px;
    margin: 15px;
}

.index_jackets_box h2 {
	font-size: 30px;
	grid-column: -1/1;
}


.discount_price-tag {
	font-weight: 600;
	color: #FF7800;
	margin: 5px;
}

.price-tag-old {
    font-weight: 600;
    color: #888888;
    text-decoration-line: line-through;
    margin: 5px;
}

/* About Page*/

.main_about {
	display: grid;
	grid-template-rows: 1fr 1fr;
    gap: 40px;
    padding: 15px;
}

.main_about h1 {
	grid-row: 1/3;
	justify-self: center;
}

.about_box {
	display: grid;
    justify-items: center;
    margin-bottom: 25px;
    gap: 10px;
}

.about_box {
    grid-template-columns: 1fr;
}

.about_bodytext {
    max-width: 600px;
}

.about_image_a {
	width: 100%;
	border-radius: 20px;
    height: 200px;
	object-fit: cover;
    object-position: 0% 18%;
}

.about_image_b {
	width: 100%;
	border-radius: 20px;
	object-fit: cover;
    height: 200px;
}

.about_heading_a {
    font-size: 30px;
}

.about_heading_b {
    font-size: 30px;
}

/*Checkout Page*/

.checkout_page_main {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto 1fr auto;
	gap: 15px;
}

.checkout_page_jacket {
	max-width: 12em;
	grid-row: 1/4;
	margin-right: 25px;
}
.checkout_page_card {
	border: black solid 2px;
	border-radius: 20px;
    padding: 25px;
	grid-column: 1/4;
}

.checkout_page_forms {
    grid-column: 1/4;
}

.checkout_page_main h1 {
	grid-column: 1/3;
	grid-row: 1;
    text-transform: capitalize;
}

.checkout_page_card div {
	grid-column: -3/-1;
	display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 20px;
    font-weight: 700;
}

.checkout_page_card div p:first-child,
.checkout_page_card div p:nth-child(2) {
    grid-column: 1/3;
}

.checkout_page_card div p:last-child {
    justify-self: end;
    grid-column: 3;
}

.checkout_page_card div p:first-child::before,
.checkout_page_card div p:nth-child(2)::before,
.checkout_page_card div p:nth-child(3)::before
{
    content: '';
    background: black;
    display: block;
    height: 1px;
    width: inherit;
    margin-bottom: 7px;
}

.checkout-button-link {
    align-self: center;
    justify-self: center;
    grid-column: 1;
}

.checkout-button-next {
	padding: 12px 40px;
	justify-self: center;
	margin: inherit;
	align-self: center;
}

/*Checkout Success Page*/


.main_checkout {
	display: grid;
	align-items: center;
	align-content: center;
	justify-content: center;
	grid-template-rows: 4fr 1fr 1fr 2fr;
	gap: 1rem;
	margin: 20px;
}

.main_checkout a {
    justify-self: center;
}

.back-to-main-button {
	border: #FF7800 solid 2px;
	border-radius: 5px;
	text-transform: capitalize;
	background-color: #FF7800;
	color: black;
	font-size: 20px;
	justify-self: center;
	padding: 15px;
	font-weight: 600;
}

.check_circle {
    justify-self: center;
    width: 8em;
}

.ordsuc1 {
    font-size: 20px;
    justify-self: center;
}

.ordsuc2 {
    font-size: 15px;
    justify-self: center;
}

/*Contact Page*/

.main_contact {
	display: grid;
	justify-content: center;
	justify-items: center;
}

.main_contact form {
	justify-items: center;
}

.input_style {
    border: #BDD9F2 solid 3px;
    background: #F5F5F5;
    width: 200px;
    border-radius: 5px;
    padding: 5px;
}

.input_message {
    padding-bottom: 200px;
}

.contact-send-button {
	padding: 12px 45px;
	margin: 20px;
	align-self: center;
}

.submit-button {
    margin-top: 10px;
    margin-left: 50px;
    padding: 15px;
}

#error {
    color: #FF7800;
    font-weight: 700;
    background: black;
}

/*Jacket Page*/

.jacket_headline {
    text-transform: capitalize;
	font-size: 25px;
}

.jacket_price {
	display: grid;
	font-size: 35px;
	font-weight: 700;
	align-content: end;
}

.jacket_page_prime {
	display: grid;
}

.jacket_page_prime img {
	width: 80%;
    max-width: 500px;
	justify-self: center;
	align-self: center;
}

.jacket_page_list {
	max-width: 13em;
	max-height: 13em;
}

.jacket_page_description {
    width: 15em;
}

.jacket_page_buttons {
	display: flex;
	justify-self: center;
	margin: 10px -5px;
	align-self: center;
	flex-wrap: wrap;
}

.jacket_page_buttons button {
	margin: 5px;
	border: #BDD9F2 solid 3px;
	border-radius: 5px;
	text-transform: uppercase;
	background-color: white;
	width: 40px;
	height: 40px;
}

.jacket_page_buttons button:hover,
.jacket_page_addnr button:hover {
    background-color: #BDD9F2;
}

.jacket_page_addbasket {
	align-self: center;
	justify-self: center;
}

.add-to-basket-button {
	min-width: 120px;
	padding: 10px;
    text-align: center;
}

.jacket_page_addnr {
	grid-column: 2;
	display: flex;
	flex-direction: row;
	grid-row: 3;
}

.jacket_page_addnr button {
	background: white;
	margin: 10px;
	border-radius: 5px;
	border: #BDD9F2 solid 3px;
	width: 40px;
	height: 40px;
}

.jacket_page_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 10px;
}

.jacket_page_card {
	display: flex;
	flex-direction: column;
	align-self: baseline;
}

.jacket_page_card h2 {
	text-transform: capitalize;
	font-size: 23px;
	max-width: 11em;
}

.jacket_page_card p {
    font-size: 35px;
    font-weight: 700;
}

/*List of Jackets Page*/

.cardhead {
    grid-column: 2/-2;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 19px;
}

.cardlink {
    grid-row: 1/4;
}

.list_of_jackets_box {
    display: grid;
    grid-gap: 10px;
    justify-items: center;
}

.list_of_jackets_box h1 {
    grid-column: -1/1;
    text-transform: capitalize;
    font-size: 50px;
}

.list_of_jackets_card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5px;
	border: solid 3px #BDD9F2;
	padding: 10px;
	border-radius: 20px;
}
.list_of_jackets_card ul {
    margin-top: -17px;
    font-size: 15px;
}

.list_of_jackets_p {
	font-size: 15px;
	grid-row: 2/4;
}

.list_of_jackets_price-tag {
	font-size: 26px;
	font-weight: 600;
	grid-row: 3;
	grid-column: 1;
}

.list_of_jackets_img {
	width: 100%;
	grid-row: 1/3;
	min-width: 9em;
	max-width: 100%;
	margin-right: 5px;
	justify-self: center;
	align-self: center;
}

.show-more-button {
    padding: 12px 45px;
	margin: 20px;
	align-self: center;
}

/* Flower power */

.main_flower_product_single {
    display: flex;
}

.thumbnails {
	display: flex;
	gap: 15px;
	flex-direction: column;
}

.thumbnails img {
    width: 150px;
}

.thumbnails div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5px;
	border: solid 3px #BDD9F2;
	padding: 10px;
	border-radius: 20px;
	width: 275px;
}

.sort-button {
	grid-column: 3/4;
}


.sorting , .sort-radio-buttons {
	display: flex;
	flex-wrap: wrap;
}

.FPS_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.FPS_box h2 {
	grid-column: 1/3;
	justify-self: center;
}

.FPS_box img {
	grid-row: 2/4;
	grid-column: 1;
	justify-self: center;
}

.FPS_price-tag {
	font-size: 35px;
	font-weight: 700;
	grid-column: 1;
	grid-row: 4;
	justify-self: center;
}


/*Media Queries*/

@media (min-width: 500px) {
    
    .checkout_page_forms {
        grid-column: 1;
    }

    .checkout_page_card {
        grid-row: 1/3;
        grid-column: 3/4;
    }

    .jacket_page_addnr button {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .list_of_jackets_card ul {
        font-size: 20px;
    }

    .cardhead {
        font-size: 22px;
    }

    .index_jackets_box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 600px) {

    .about_box {
        grid-template-rows: auto 1fr;
        grid-template-columns: 1fr 1fr;
    }

    .about_image_a {
        grid-column: 2/3;
        grid-row: -3/-1;
        height: 419px;
    }

    .about_heading_a {
        grid-column: 1/2;
    }

    .about_heading_b {
        grid-column: 2 ;
    }

    .about_image_b {
        grid-row: 1/3;
        height: 482px;
    }

    .check_circle {
        width: 8em; 
    }

}

@media (min-width: 700px) {

    .jacket_headline {
        font-size: 40px;
    }

    .jacket_page_addnr {
        grid-column: 6;
        display: flex;
        flex-direction: column;
        grid-row: 2;
    }

    .jacket_page_addnr button {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .jacket_page_addbasket {

    }

    .jacket_page_prime {
        grid-template-columns: 1fr 1fr;
    }

    .jacket_price {
        display: grid;
        font-size: 40px;
        font-weight: 700;
    }

    .index_jackets_box {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 800px) {
    
    .jacket_page_prime img {

    }
    

    .list_of_jackets_img {
        min-width: 16em;
        max-width: 16em;
        min-height: 17em;
        max-height: 17em;
    }

}

@media (min-width: 900px) {

    .checkout-button-link {
        grid-column: 3;
    }

    .index_jackets_box {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .index_jackets_box h2 {
        grid-column: 1;
    }

    .jacket_headline {
        font-size: 40px;

    }

    .jacket_price {

    }

    .jacket_page_addbasket {

    }

    .jacket_page_addnr {
        grid-column: 7;
        grid-row: 2;
    }

    .list_of_jackets_box {
        grid-template-columns: 1fr 1fr;
    }

    header,
    footer {
        display: flex;
        background-color:#BDD9F2 ;
        padding: 0px 30px 0px;
        justify-content: space-between;
        align-items: center;
    }

    footer {
        padding: 5px 30px 5px;
    }

    nav {
        position: static; 
        background: none;
    }

    nav,
    #menu-checkbox {
    display: none;
    }

    main {
        margin: 15px;
    }

    .nav_right input {
        border-radius: 30px;
        padding: 10px;
        border: none;
    }

    nav ul {
        list-style: none;
        padding: 0px
    }

    nav,
    nav ul {
        display: flex;
        gap: 40px;
        font-size: 22px;
    }

    .nav_right {
        display: contents;
    }

    .hamburger-icon {
        display: none;
    }

    .mens_card_index {
        grid-column: 4;
    }

    .womens_card_index {
        grid-column: 3;
    }

    .womens_card_img,
    .mens_card_img {
        border-radius: 15px 0px 0px 15px;
    }
}

@media (min-width: 1000px) {

    .check_circle {
        width: 14em; 
    }

    .index_jackets {
        width: 80%;
    }
}
    
@media (min-width: 1350px) {

    .list_of_jackets_box {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .checkout_page_card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        }

}

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }