@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inconsolata:wght@200..900&display=swap');

/* html {
    scroll-behavior: smooth;
} */

/* body {
    margin: 0;
    background: black;
} */

main {
	/* background-color: #1a1e21;

    * {
        box-sizing: border-box;
    } */

    h1, h2, h3, p, a, ul, li {
        margin: 0;
        font-family: Barlow, sans-serif;
        color: white;
        line-height: initial;
    }

    h2 {
        color: #FF6400;
    }

    a {
        color: #FF6400;
        transition: 0.25s;

        &:hover {
            opacity: 0.75;
        }
    }

    p {
        font-size: 1.25rem;
    }

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

    a[role=button] {
        font-family: Barlow, sans-serif;
        font-weight: 800;
        font-size: 1.25rem;
        color: black;
        background-color: #FF6400;
        border: none;
        border-radius: 0.125rem;
        cursor: pointer;
        transition: 0.2s;
        padding: 1rem 2rem;
        width: fit-content;

        &:hover {
            opacity: 0.75;
        }
    }

   section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        overflow: hidden;

        &#hero {
            background-image: url("/Content/Pages/Jimms/blackfriday/assets/banner.jpg");
            background-position: center;
            background-size: cover;
            padding: 16rem 0;
        }

        &#ingressi {
            padding: 4rem 0 0 0;
            text-align: center;
			align-items: center;

			h1 {
                font-size: 2.5rem;
            }

			h2 {
			color: white;
}

            button {
                font-size: 1.25rem;
                padding: 0.75rem 1.25rem;
                border-radius: 1.5rem;
                background: #fff;
                color: #000000;
                width: fit-content;
            }
        }

        &#tuotteet {
            padding: 4rem 0 0 0;

            .tab-pane, .pcategory {
                display: flex;
                flex-direction: column;
                gap: 2rem;
                overflow: hidden;
            }
			h2 {
                color: #d0d0d1;
                font-weight: normal;
                font-size: 1.5rem;
				text-align: center;
            }

			> div#nav-container-desktop {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }

            > div#nav-container-mobile {
                display: none;
                flex-direction: column;
                gap: 1rem;
                align-items: center;

                select {
                    width: 100%;
                    max-width: 24rem;
                    border: 0;
                    background-color: #FF6400;
                    padding: 0.75rem;
                    color: black;
                    border-right: 1rem solid #FF6400 ;
                    font-size: 1.25rem;
				   cursor: pointer;
				   border-radius: 2rem;
				   text-align: center;

				   &:hover {
					  opacity: 0.75;
				   }

				   &.yla-nav,
				   &.ala-nav {
				      background: white;	
						border-right: 1rem solid white;	
				   }					
                }
            }

            #pv-nav,
            #yla-nav,
            #ala-nav {
                display: flex;
                gap: 0.25rem;
                justify-content: space-between;
                flex-wrap: wrap;

                a {
                    cursor: pointer;
                    font-size: 0.85rem;
                    text-decoration: none;
                    color: #FF6400;
                    background-color: transparent;
					border: 2px solid #FF6400;
                    padding: 0.65rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
					border-radius: 2rem;

					&:hover,
                    &.active {
						opacity: 1;
                        font-weight: 700;
						background-color:#FF6400;
						border: none;
						color: black;
                    }
                }
            }


			#pv-nav a {
				font-size: 1.1rem;
				min-width: 16rem;
            }

            #yla-nav {
                padding: 0 4rem;
            }

            #ala-nav {
                padding: 0 8rem;
            }

		   #yla-nav a {
                border: 2px solid #FFF;
				color: white;
				min-width: 14rem;
				
				&:hover,
				&.active {
					opacity: 1;
					color: black;
					border: none;
					background: white;
}

            }

			#ala-nav a {
                font-size: 0.80rem;
                color: black;
					border: none;
					background: white;
                	min-width: 8rem;
				padding: 0.25rem;

            }


            hr {
                border: 0.125rem solid #FF6400;
                width: 100%;
			   opacity: 1;
            }

            .tab-pane h3 {
                font-size: 1.5rem;
                text-transform: uppercase;
                color: #FF6400;
            }

            .tuotelista {
                display: flex;
                gap: 1rem;
                flex-wrap: wrap;

                .tuote {
                    background-color: white;
                    width: 12rem;
                    height: 24rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    > p {
                        color: black;
                        text-transform: uppercase;
                        text-align: center;
                    }
                }

                .lisaa {
                    background-color: #FF6400;
                    width: 12rem;
                    height: 24rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
					cursor: pointer;

                    > p {
                        color: black;
                        text-transform: uppercase;
                        text-align: center;
                    }
                }
            }
        }

        &#tekstit {
            padding: 4rem 10%;
            background-color: #1a1e21;
            text-align: center;
			align-items: center;

			> a {
				display: block;
}
        }
    }
}

@media (max-width: 1920px) {
    main section#tuotteet #pv-nav a {
		font-size: 1rem;
        min-width: 13rem;
    }

	main section#tuotteet #yla-nav a {
		font-size: 0.85rem;
        min-width: 11.5rem;
    }

	main section#tuotteet #ala-nav a {
		font-size: 0.75rem;
        min-width: 7rem;
    }
}

@media (max-width: 1400px) {
    main section#tuotteet #pv-nav a {
		font-size: 1rem;
        min-width: 11rem;
    }

	main section#tuotteet #yla-nav a {
		font-size: 0.85rem;
        min-width: 9rem;
    }

	main section#tuotteet #ala-nav a {
		font-size: 0.65rem;
        min-width: 5.5rem;
    }
}

@media (max-width: 1265px) {
    main section#tuotteet div#nav-container-desktop {
        display: none;
    }
    main section#tuotteet div#nav-container-mobile {
        display: flex;
    }

	main section#ingressi,
	main section#tuotteet,
	main section#tekstit {
		padding-left: 10%;
		padding-right: 10%;	
	}
}

@media (max-width: 750px) {
	main section#tuotteet .tuotelista {
		justify-content: center;

		> .tuote {
			width: 9rem;
		}
	}
}
