/* Imports */
@import url('cart.css');

/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
	
@font-face {
	font-family: "Didot";
	src: url('../fonts/Didot_LT_Std_Roman.otf') format('opentype');
}

@font-face {
	font-family:"futura-pt";
	src:url("https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/l?subset_id=2&fvd=n5&v=3") format("woff2"),url("https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/d?subset_id=2&fvd=n5&v=3") format("woff"),url("https://use.typekit.net/af/2cd6bf/00000000000000000001008f/27/a?subset_id=2&fvd=n5&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:500;font-stretch:normal;
}

@font-face {
	font-family:"futura-pt";
	src:url("https://use.typekit.net/af/9b05f3/000000000000000000013365/27/l?subset_id=2&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/9b05f3/000000000000000000013365/27/d?subset_id=2&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/9b05f3/000000000000000000013365/27/a?subset_id=2&fvd=n4&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
	font-family:"futura-pt";
	src:url("https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("woff2"),url("https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("woff"),url("https://use.typekit.net/af/ae4f6c/000000000000000000010096/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:300;font-stretch:normal;
}

@font-face {
	font-family:"futura-pt";
	src:url("https://use.typekit.net/af/c4c302/000000000000000000012192/27/l?subset_id=2&fvd=n6&v=3") format("woff2"),url("https://use.typekit.net/af/c4c302/000000000000000000012192/27/d?subset_id=2&fvd=n6&v=3") format("woff"),url("https://use.typekit.net/af/c4c302/000000000000000000012192/27/a?subset_id=2&fvd=n6&v=3") format("opentype");
	font-display:auto;font-style:normal;font-weight:600;font-stretch:normal;
}

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
	--rose: #F9C3C3;
	--light-rose: #FEF3F1;
	--green: #A3D8D2;
	--light-green: #E4F4F4;
	--cream: #FFFBF2;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--white);
    font-family: "futura-pt", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */
.header{
	z-index: 1;
    background: rgb(255,255,255);
	background: linear-gradient(130deg, var(--white) 0%, var(--light-rose) 100%);
	/*var(--white);*/
    box-shadow: 1px 1px 10px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;
	color: var(--rose);
}

.header a{
    color: var(--rose);
}

.header .top_right_menu {
	position: absolute;
	float: left;
	top: 32px;
	left: 100px;
	margin: 0px 0px 0px 0px;
	display: inline;
	text-overflow: ellipsis;
}

.header .top_right_menu li {
	display:inline-block;
	margin-left: 5px;
	vertical-align: middle;
}

.header .top_right_menu li .separator {
	width: 1px;
	height: 16px;
	background-color: var(--rose);
}

.search_button {
	background-color: transparent;
	background-image: url('../images/search_button.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: center;
	height: 30px;
	width: 30px;
	border: none;
	outline: none;
	cursor: pointer;
	vertical-align: middle;
}

#search_bar {
	position: absolute;
	top: -10px;
	left: 30px;
	z-index: -10px;
	display: inline-flex;
	background-image: url('../images/search.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: center;
	height: 50px;
	margin-left: 10px;
	padding-left: 0px;
	padding-right: 0px;
	visibility: hidden;
}

#search_bar .text {
	display: inline-flex;
	width: 95px;
	background-color: transparent;
	border: none;
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 10px;
	margin-right: 5px;
	padding-left: 5px;
	padding-right: 5px;
	height: 30px;
	font-family: "Didot", sans-serif;
	font-size: 10pt;
	font-style: italic;
	color: gray;
}

#search_bar .text:focus {
	border: none;
	outline: none;
}

#search_bar .button {
	display: inline-flex;
	border: none;/*1px solid red;*/
	outline: none;
	background-color: transparent;
	content: url('../images/search_button.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: center;
	margin-top: auto;
	margin-bottom: auto;
	height: 30px;
	cursor: pointer;
}

#search_bar .button:focus {
	border: none;
	outline: none;
}

#account_icon {
	height: 30px;
	cursor: pointer;
}

#cart_icon {
	height: 30px;
	cursor: pointer;
}

.footer{
	margin-top: auto;
    background: rgb(255,255,255);
	background: linear-gradient(320deg, var(--white) 0%, var(--light-rose) 100%);
    box-shadow: 1px -1px 10px 0px var(--grey);
    width: 100%;
	color: var(--rose);
	vertical-align: middle;
	font-family: "futura-pt";
	font-size: 14pt;
	padding: 20px 20px 20px 20px;
	display: block;
}

.footer .icon{
	width: 24px;
	height: 24px;
	vertical-align: text-top;
	margin: 0px 5px 0px 5px;
}

.footer a{
	color: var(--rose);
}

.footer a:hover{
	color: var(--green);
}

.footer ul{
	padding: 10px 0px 10px 0px;
}

.footer ul.lined{
	border-top: 1px solid var(--rose);
	padding: 10px 0px 10px 0px;
}

/* Logo */
.logo{
    display: inline-block;
    height: 80px;
	width: auto;
	margin: 5px 5px 5px 5px;
	content: url("../images/logo_final.png");
}

/* Nav menu */
.nav {
	display: flex;
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
}

.menu a{
    display: block;
    padding: 30px;
    color: var(--rose);
}

.menu a:hover{
    background-color: var(--rose);
	color: var(--white);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
	background-color: var(--white);
	transition: transform 0.4s, opacity 0.2s;
}

.visible {
	opacity: 1;
	transition: transform 0.4s, opacity 0.2s;
}

.is-hidden {
  opacity: 0;
  transition: transform 0.4s, opacity 0.2s;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    margin: 22px 20px 0px 0px;
	content: url("../images/hamb.png");
	width: 70px;
	height: 50px;
}

.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

main
{
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	width: 100%;
}

article {
	padding: 30px 5px 30px 5px;
	margin: 0 auto;
	width: 90%;
	font-size: 14pt;
	font-family: "Didot", sans-serif;
}

article p {
	margin-top: 30px;
	margin-bottom: 30px;
	color: var(--grey);
	font-size: 14pt;
	text-align: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 70%;
}

article highlighted {
	font-weight: 200;
	color: var(--rose);
}

article .title{
	display: flex;
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;
	align-items:center;
    justify-content:center;
	color: var(--rose);
	font-style: normal;
	font-weight: 100;
	font-size: 16pt;
	margin-top: 20px;
	margin-bottom: 5px;
	/*text-shadow: #dddddd 3px 3px 3px;*/
}

article .section_divider {
    width: auto;
	height: 40px;
    background-image: url('../images/barre_v2.png');
	background-size: contain;
    background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: center;
	margin: 0 auto;
}

article .shadow {
	box-shadow: gray 5px 5px 5px;
}

input[type=search] { -webkit-appearance: none; }

.dress_grid {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.dress {
	margin: 20px 20px 20px 20px;
	float: left;
	text-align: center;
	width: 280px;
	height: 440px;
}

.dress_frame{
	position: relative;
}

.dress_picture{
	margin-top: 0px;
	margin-left: 0px;
	border-start-start-radius: 125px 125px;
	border-start-end-radius: 120px 120px;
	width: 230px;
}

.dress_frame::after{
    content: "";
    position: absolute;
    top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-image: url('../images/cadre_v4.png');
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 4px;
	margin-top: -1px;
	width: 272px;
	/*height: 340px;*/
}

.dress_desc{
	margin: 0 auto;
	text-align: center;
	padding: 20px 20px 10px 20px;
}

.price{
	font-size: 18pt;
	font-weight: bold;
	margin: 0 auto;
	text-align: center;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.centered
{
	display: block;
	margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Responsiveness */
/* -------------------------------------------------------------------------- */

@media (min-width: 760px) {

	/* Logo */
	.logo{
		height: 200px;
		display: block;
		margin: 0 auto;
		color: var(--rose);
		content: url("../images/logo_final.png");
		padding: 0px 0px 0px 0px;
	}

    .nav {
		display: flex;
        max-height: none;
        top: 0;
        position: relative;
        /*float: right;*/
		margin: 0 auto;
        width: fit-content;
        background-color: transparent;
    }

	.header .top_right_menu {
		position: absolute;
		float: right;
		top: 20px;
		right: 20px;
		left: inherit;
		margin: 0px 0px 0px 0px;
        max-height: none;
        width: fit-content;
	}

	#search_bar {
		position: relative;
		top: 0px;
		left: 0px;
		display: inline-flex;
		background-image: url('../images/search.png');
		/*background-color: red;*/
		background-size: contain;
		background-repeat: no-repeat;
		background-position-y: center;
		background-position-x: center;
		/*width: 150px;*/
		height: 50px;
		margin-left: 10px;
		padding-left: 0px;
		padding-right: 0px;
		visibility: hidden;
	}
	
    .menu li{
		font-size: 12pt;
        float: left;
		text-transform: uppercase;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--green);
        
    }
    
    .hamb{
        display: none;
    }
	
	.footer{
		padding: 30px 20px 30px 20px;
		display: flex;
		justify-content: space-evenly;
	}

	.footer ul{
		padding: 0px 10px 0px 20px;
		border-top: 0px none;
	}
	
	.footer ul.lined{
		padding: 0px 10px 0px 20px;
		border-top: 0px none;
		border-left: 1px solid var(--rose);
	}
	
	article p {
		max-width: 70%;
	}
}

.video-container{
  width: 100%;
  height: auto;
  pointer-events: none;
}

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}


@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}


*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  display: block;
  position: relative;
  padding-top: 350px;
  filter: drop-shadow(0 0 30px #0003);
  perspective: 100px;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  height: 360px;
  width: 280px;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  counter-increment: item;
}

.carousel__slide:nth-child(even) {
}

.carousel__slide:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 70%;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: 0rem;
}

.carousel::after,
.carousel__next {
  right: 0rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-color: var(--light-rose);
  background-size: 0.5rem 0.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  font-size: 2.5rem;
  line-height: 2rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%0'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%0'/%3E%3C/svg%3E");
}
