* {
  font-family: Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'EmilysCandy';
  src:  url('./fonts/EmilysCandy-Regular.ttf') format('truetype');
}

.emily {
  font-family: 'EmilysCandy', Fallback, sans-serif;
}

.pink {
	color: #ff70a6;
}

.bold {
	font-weight: bold;
}

.underline {
	text-decoration: underline;
}

html, body { 
	margin: 0;
	padding: 0;
	height: 100%; width: 100%;
}


.parent {
	display: grid;
	grid-template-columns: 200px 1fr;
	grid-template-rows: 200px 1fr;
	height: 100%;
}
	
.title-div { grid-area: 1 / 1 / 2 / 2; }
.nav-div { grid-area: 2 / 1 / 3 / 2; }
.card-div { grid-area: 1 / 2 / 2 / 3; }
.main-div { grid-area: 2 / 2 / 3 / 3; }

.title-div {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ff70a6;
}

.nav-div {
	display: flex;
	flex-direction: column;
	background-color: #ff70a6;
	height: 100%;
}

.nav-div button {
	background-color: #ff70a6;
	border: none;
	color: white;
	padding: 15px;
	font-size: 20px;
	cursor: pointer;
	outline: none;
}

.nav-div button:hover {
	background-color: white;
	color: #ff70a6;
  }

.nav-div select {
	outline: none;
	appearance: none;
	background-color: #ff70a6;
	border: none;
	color: white;
	padding: 15px;
	text-align-last: center;
	font-size: 20px;
	cursor: pointer;
}

.nav-div select:hover {
	background-color: white;
	color: #ff70a6;
}

#glogo {
	text-align: center;
}

.card-div {
	display: flex;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding-left: 10px;
	scroll-behavior: smooth;
}

.card-div::-webkit-scrollbar {
  display: none;
}

.card-div img {
	height: 180px;
	padding-top: 10px;
	padding-right: 10px;
	cursor: pointer;
	border-radius: 10%;
}

.card-div img:hover {
	opacity: 0.7;
}

.main-div {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-x: scroll;
	padding-top: 50px;
	padding-bottom: 50px;
}

.main-div::after {
  content: "";
  background: url(./background.jpg);
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
}

.main-div img {
	width: 40%;
	border-radius: 5%;
}

form h3 {
	font-family: 'EmilysCandy', Fallback, sans-serif;
	text-decoration: underline;
	text-align: center;
}

#footerDiv {
	position: absolute;
	bottom: 0;
	background-color: white;
	height: 20px;
	text-align: center;
	padding-top: 6px;
	padding-bottom: 2px;
}

#footerDiv img {
	width: 2.5%
}

textarea {
	height: 150px;
	width: 300px;
}

#reminderOl, .cardListImg {
	cursor: pointer;
}

#reminderOl {
	margin-top: 0%;
}

#reminderOl li:hover {
	font-weight: 900;
}

#reminderH3Div h3, #cardH3Div h3 {
	color: #ff70a6;
	font-weight: bold;
	font-family: 'EmilysCandy', Fallback, sans-serif;
	text-decoration: underline;
}

#login-form, #signup-form, #email-form, #reminder-form, #editReminderForm, #edit-user-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#prev {
	margin-top: 45px;
	opacity: 0.6;
	color: #ff70a6;
	font-size: 100px;
	position: absolute;
	z-index: 1;
	cursor: pointer;
}

#next {
	margin-top: 45px;
	right: 10px;
	opacity: 0.6;
	color: #ff70a6;
	font-size: 100px;
	position: absolute;
	z-index: 1;
	cursor: pointer;
}

input[type='submit'] {
	background-color: #ff70a6;
	border: none;
	color: white;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	cursor: pointer;
}

input:hover[type='submit']  {
	background-color: #ffbdd6;
	color: white;
  }

#deleteUserBtn {
	background-color: #949494;
	border: none;
	color: white;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	cursor: pointer;
	width: 279px;
}
#deleteUserBtn:hover {
	background-color: #c41e3a;
	color: white;
}

#deleteReminderBtn {
	background-color: #949494;
	border: none;
	color: white;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	cursor: pointer;
	width: 237px;
	margin-bottom: 20px;
}
#deleteReminderBtn:hover {
	background-color: #c41e3a;
	color: white;
}

#userCardsDiv {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.userCardsTable {
	text-align: center;
	margin-bottom: 20px;
}

.userCardsTable img {
	width: 200px;
	margin-left: auto;
	margin-right: auto;
}

.message {
	width: 200px;
}

.container {
	position: relative;
}

.image {
	opacity: 1;
	display: block;
	width: 100%;
	height: auto;
	transition: .5s ease;
	backface-visibility: hidden;
}

.middle {
	transition: .5s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}

.container:hover .image {
	opacity: 0.3;
}
.container:hover .middle {
	opacity: 1;
}

.text {
	background-color: #D11A2A;
	color: white;
	font-size: 16px;
	padding: 16px 32px;
	cursor: pointer;
}