@import url('https://fonts.googleapis.com/css2?family=Montserrat: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&display=swap');

* {
	font-family: 'Montserrat', sans-serif;
}

:root {
	--birthday-white: #ffffff;
	--birthday-pink: #f1cedd;
	--birthday-purple: #6e7097;
}

body, html {
  height: 100%;
}

.birthday {
	background: url('/img/bg-desktop.jpg');
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom center;
}

.birthday-other {
  background: url('/img/bg-desktop-gift.jpg');
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

.gift {
	width: 95vw;
	height: 98.25vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom center;
}

.overlay {
	height: 100%;
	width: 100%;
	display: block;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: var(--birthday-purple);
}

.overlay-content {
	display: flex;
	flex-direction: column;
 	position: relative;
	top: 25%;
	width: 40%;
	margin: auto;
	text-align: center;
}

.overlay h2 {
	font-size: 48px;
  font-weight: 900;
  color: var(--birthday-white);
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-bottom: 30px;
}

.overlay .button {
    font-size: 18px;
    font-weight: 500;
    color: var(--birthday-purple);
    text-transform: uppercase;
    letter-spacing: 5px;
    background-color: var(--birthday-pink);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
   	margin: 30px auto;
   	width: fit-content;
}

.overlay .button:hover, .overlay .button:focus {
    font-weight: 600;
}

#menuToggle {
  	display: block;
  	position: relative;
  	top: 50px;
  	left: 50px;
  	z-index: 3;
  	-webkit-user-select: none;
  	user-select: none;
}

#menuToggle a {
  	text-decoration: none;
  	letter-spacing: 5px;
  	color: var(--birthday-purple);
  	transition: color 0.3s ease;
}

#menuToggle a:hover {
  	color: var(--birthday-white);
}

#menuToggle input {
  	display: block;
  	width: 40px;
  	height: 32px;
  	position: absolute;
  	top: -7px;
  	left: -5px;
  	cursor: pointer;
  	opacity: 0;
  	z-index: 2;
  	-webkit-touch-callout: none;
}

#menuToggle span {
	display: block;
  	width: 33px;
  	height: 4px;
  	margin-bottom: 5px;
  	position: relative;
  	background: var(--birthday-white);
  	border-radius: 3px;
  	z-index: 1;
  	transform-origin: 4px 0px;
  	transition:	transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              	background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              	opacity 0.55s ease;
}

#menuToggle span:first-child {
  	transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
 	transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  	opacity: 1;
  	transform: rotate(45deg) translate(-2px, -1px);
 	background: var(--birthday-purple);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  	opacity: 0;
  	transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  	transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: absolute;
    width: 300px;
    height: 78vh;
    margin: -100px 0 0 -60px;
    padding: 50px;
    padding-top: 125px;
    background: var(--birthday-pink);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
  	padding: 10px 0;
  	font-size: 22px;
}

#menuToggle input:checked ~ ul {
	transform: none;
}

.congratulations {
    position: absolute;
    width: 500px;
    bottom: 200px;
    left: 90px;
    text-align: center;
}

.congratulations h2 {
	font-size: 68px;
    font-weight: 900;
    color: var(--birthday-white);
    text-transform: uppercase;
    letter-spacing: 10px;
}

.congratulations span {
	font-weight: 200;
	color: var(--birthday-pink);
}

.birthday-gift {
    position: absolute;
    width: 400px;
    bottom: 150px;
    right: 150px;
    text-align: center;
}

.birthday-gift p {
	font-size: 24px;
	font-weight: 600;
    color: var(--birthday-purple);
	letter-spacing: 5px;
}

.birthday-button {
	margin-top: 50px;
}

.birthday-button .button {
    font-size: 18px;
    font-weight: 500;
    color: var(--birthday-purple);
    text-transform: uppercase;
    letter-spacing: 5px;
    background-color: var(--birthday-pink);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
}

.birthday-gift .button:hover {
    font-weight: 600;
}

.extra-gifts .button {
    font-size: 18px;
    font-weight: 800;
    color: var(--birthday-purple);
    text-transform: uppercase;
    letter-spacing: 5px;
    background-color: var(--birthday-pink);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
}

.extra-gifts .button:hover {
    padding: 12px 17px;
}

*{margin: 0; padding: 0;}


.container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.trans
{
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}
.top
{
  display: flex;
  width: 100vw;
  height: 100vh;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.top ul
{
  list-style: none;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}
.top ul li
{
  position: relative;
  float: left;
  width: 33.333333%;
  height: 33.333333%;
  overflow: hidden;
}

.top ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--birthday-pink);
  content: '';
  color: white;
  opacity: 0.5;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.top ul li:hover::before
{
  opacity: 0;
  background-color: rgba(0,0,0,0.90);
}
.top ul li img
{
  width: 100%;
  height: auto;
  overflow: hidden;
}
.lightbox
{
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.75);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}
.lightbox img
{
  max-width: 90%;
  max-height: 80%;
  position: relative;
  top: -100%;
s  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}
.lightbox:target
{
  outline: none;
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 1.2s ease;
  -moz-transition: all 1.2s ease;
  -ms-transition: all 1.2s ease;
  -o-transition: all 1.2s ease;
  -webkit-transition: all 1.2s ease;
}
.lightbox:target img
{
  top: 0;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.gift-text {
  position: absolute;
  bottom: 50vh;
  left: 50%;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
}

.gift-text h2 {
  font-size: 51px;
  font-weight: 900;
  color: var(--birthday-white);
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: center; 
}

.gift-text span {
  font-weight: 200;
  color: var(--birthday-white);
  font-size: 44px;
}

.secret-button {
  position: absolute;
  bottom: 35vh;
  right: 1vw;
  z-index: 2;
  background: var(--birthday-pink);
  border-radius: 50%;
  opacity: .5;
}

.secret-button img {
  width: 20px;
  height: 20px;
  padding: 10px;
}

.secret-button:hover {
  opacity: 1;
}

.extra-button {
  position: absolute;
  bottom: 15vh;
  left: 50%;
  z-index: 2;
  background: var(--birthday-pink);
  width: max-content;
  border-radius: 25px;
  margin: 0;
  transform: translateX(-50%);
}

.extra-button img {
  width: 20px;
  height: 20px;
  padding: 10px;
}

.extra-button a {
  text-decoration: none;
  color: var(--birthday-purple);
  padding: 5px 15px 5px 20px;
  display: flex;
  align-items: center;    
}

.extra-button a:hover {
  font-weight: 500;
}

.secret-container {
  position: relative;
  text-align: center;
  margin: 180px auto;
}

.secret-text h2 {
  font-size: 51px;
  font-weight: 900;
  color: var(--birthday-white);
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: center; 
}

.secret-text span {
  font-weight: 200;
  color: var(--birthday-white);
  font-size: 44px;
}

.secret-input {
  margin: 30px;
}

.secret-input input {
  padding: 15px;
  font-size: 20px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 5px;
  border-radius: 5px;
  border: 1px solid var(--birthday-pink);
  width: 400px;
}

.secret-input button {
  background-color: var(--birthday-pink);
  color: var(--birthday-purple);
  border: none;
  border-radius: 5px;
  padding: 15px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 500;
}

.bonus-container {
  position: relative;
  text-align: center;
  margin: 60px auto;
}

.bonus-text h2 {
  font-size: 51px;
  font-weight: 900;
  color: var(--birthday-white);
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: center; 
}

.bonus-text span {
  font-weight: 200;
  color: var(--birthday-white);
  font-size: 44px;
}

.bonus-image img {
  width: 40%;
  margin: 30px 0;
  border-radius: 25px;
}

.bonus-button {
  position: absolute;
  bottom: auto;
  left: 50%;
  z-index: 2;
  background: var(--birthday-pink);
  width: max-content;
  border-radius: 25px;
  margin: 0;
  transform: translateX(-50%);
}

.bonus-button img {
  width: 20px;
  height: 20px;
  padding: 10px;
}

.bonus-button a {
  text-decoration: none;
  color: var(--birthday-purple);
  padding: 5px 15px 5px 20px;
  display: flex;
  align-items: center;    
}

.bonus-button a:hover {
  font-weight: 500;
}

.share-container {
  position: relative;
  text-align: center;
  margin: 60px auto;
}

.share-text h2 {
  font-size: 51px;
  font-weight: 900;
  color: var(--birthday-white);
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: center; 
}

.share-text span {
  font-weight: 200;
  color: var(--birthday-white);
  font-size: 44px;
}

.share-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 60%;
  height: 300px;
  margin: 40px auto;
}

.share-icons a {
  margin: 10px;
  font-size: 24px;
  display: flex;
  align-items: center;
  color: var(--birthday-white);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  width: 400px;
  padding: 15px;
  border-radius: 55px;
  transition: 0.3s;
}

.share-icons a:hover {
  color: var(--birthday-purple);
  background-color: var(--birthday-pink);
}

.share-icons img {
  width: 75px;
  margin-right: 15px;
}

@media screen and (max-width: 400px) {
  #menuToggle {
    width: 86%;
  }

  .birthday {
    background: url('/img/bg-mobile.jpg');
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
  }

  .birthday-other {
    background: url('/img/bg-mobile-gift.jpg');
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
  }

  .congratulations {
    width: auto;
    left: auto;
    bottom: 22vh;
  }

  .congratulations h2 {
    font-size: 42px;
  }

  .birthday-button .button {
    font-size: 14px;
  }

  .birthday-gift {
    width: auto;
    right: auto;
    bottom: auto;
    top: 12vh;
  }

  .birthday-gift p {
    font-size: 20px;
    margin: 20px;
    color: var(--birthday-white);
  }

  .overlay-content {
    top: 20%;
    width: auto;
    margin: 30px;
  }

  .overlay h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .overlay .button {
    font-size: 14px;
  }

  .gift {
    width: 86vw;
  }

  .top ul li {
    width: 50%;
    height: auto;
    margin-top: -4px;
  }

  .top ul li:last-child {
    display: none;
  }

  .top ul li img {
    height: 168px;
  }

  .gift-text {
    bottom: 29vh;
  }

  .gift-text h2 {
    font-size: 40px;
  }

  .gift-text span {
    font-size: 32px;
  }

  .secret-button {
    top: 3vh;
    bottom: auto;
    right: 5vw;
  }

  .extra-button {
    bottom: 9vh;
  }

  .secret-container {
    margin: 120px auto;
  }

  .secret-text h2 {
    font-size: 40px; 
  }

  .secret-text span {
    font-size: 22px;
  }

  .secret-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }

  .secret-input input {
    font-size: 14px;
    width: 290px;
    margin-bottom: 10px;
  }

  .secret-input button {
    font-size: 14px;
    width: 320px;
  }

  .bonus-text h2 {
    font-size: 40px;
  }

  .bonus-text span {
    font-size: 12px;
    font-weight: 800;
  }

  .bonus-image img {
    width: 80%;
  }

  .share-text h2 {
    font-size: 40px;
  }

  .share-text span {
    display: none;
  }

  .share-icons {
    width: auto;
    height: auto;
    margin: 10px auto;
  }

  .share-icons a {
    width: 300px;
    font-size: 18px;
    margin: 5px auto;
  }

  .share-icons img {
    width: 50px;
    margin-right: 15px;
  }
}