*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background{
    background-color: rgb(182, 46, 46);
}

.flex-container {
         display: flex;
        justify-content:space-around; /* Centers horizontally */
        align-items: center; 
        flex-direction: column;
            /* Centers vertically */
        height: 100%; /* Example height */
}

.hidden {
  display: none;
}

img{
    width: 300px;
    min-height: 300px;
    border-radius: 10px;
}

.text-container {
         display: flex;
        justify-content:space-around; /* Centers horizontally */
        align-items: center; 
        flex-direction: column;
            /* Centers vertically */
        height: 50%; /* Example height */
}

body, html {
    height: 100vh;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("first.jpeg");

  /* Set a specific height */
  height: 100vh;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}



/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

h1{
    font-size:3em;
}

.fancy-button{
    border-radius: 10px;
    background-color: rgb(232, 24, 24);
    width: 150px;
    height: 50px;
    color: white;
}



.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.fade-up {
  animation: 1.5s fadeInUp;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

