:root {
    --background-color: #972e2e;
    --primary-color: #d0112b;
	--button-color: #044d6d;
    --secondary-color: #e1e3e9;
    --white-color: #ffffff;
}

/* BODY */
body {
    margin: 0;
    overflow-x: hidden;
	min-height: 100vh;
    background: url('../images/MDZ_5499.jpeg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    color: var(--white-color);
}

a {
	color: white;
}

/* MATERIAL ICONS */

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 600,
  'GRAD' 0,
  'opsz' 24
}


/* HEADER */

.underlined {
	min-width: 100%;
	border-bottom: 1px solid white;
}

header {
    padding: 1rem;
    margin: 0.8rem;
}

/* MAIN CONTENT */
.red-background {
	background: var(--primary-color);
	min-height: 50vh;
	padding-top: 2rem;
	border-top: 3rem solid;
	border-bottom: 3rem solid;
	border-image: url(../images/frame.png) 20% round;
	margin-bottom: 2rem;
	margin-top: 2rem;
}
.first-section {
	padding-top: 3rem;
}

.blue-button {
	background: var(--button-color);
	border: none;
	color: white;
	margin-top: 1rem;
	padding: 0.4rem 0.8rem;
}

/* FA ICONS FORMATTING */
.fa {
	padding: 20px;
	font-size: 30px;
	border-radius: 55%;
	width: 3.2rem;
	text-align: center;
	text-decoration: none;
	margin: 5px 2px;
	background-color: var(--primary-color);
  }
  
  .fa:hover {
	  opacity: 0.7;
  }
  
  .fa-facebook {
	background: var(--primary-color);
	color: white;
  }
  
  .fa-twitter {
	background: var(--primary-color);
	color: white;
  }

  /* CARD */

.card-title {
	position: absolute;
    color: white;
    width: 50%;
    text-align: left;
    left: 1.4rem;
    top: 0.2rem;
    font-weight: 100;
}

.card {
	background: transparent;
	border: none;
	margin: 0.4rem;
}

.card button {
	position: absolute;
	bottom: 0rem;
	right: 0.7rem;
}

.close-section {
	display: flex;
	position: relative;
}

.close-button {
	position: absolute;
	top: -5rem;
	right: 0rem;
}

/* DISPLAY SECTIONS */

.hidden {
    display: none;
}

.slide-in {
    animation: slideIn 0.4s forwards;
}

.slide-out {
    animation: slideOut 0.4s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}





@media only screen and (min-width: 1200px) {
	body {
		background-position: top;
		background-size: cover;
	}
    
	.underlined {
		min-width: 50%;
		border-bottom: 1px solid white;
	}

	.add-padding-top {
		padding-top: 1.8rem;
	}

	.red-background {
		border-top: 3.5rem solid;
		border-bottom: 3.5rem solid;
	}

	.first-section {
		padding-top: 6rem;
	}

	.card-title {
		position: absolute;
		color: white;
		width: 50%;
		text-align: left;
		left: 1rem;
		top: 0.2rem;
		font-weight: 100;
	}

	.card button {
		position: absolute;
		bottom: 0rem;
		right: 0.6rem;
	}
}