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

}
li, a, h2, button {
  font-family: sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: white;
  text-decoration: none;
  
}

h2{
  font-family: American Typewriter, serif;
  font-size: 20px;
  margin-right: auto;
}

/* Header*/
header{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 10%;
  background-color: #24252A;
}

.nav_links{
  list-style: none;
}
.nav_links li{
  display: inline-block;
  padding: 0px 20px;
  
}

.nav_links li a {
  transition: all 0.3s ease 0s;
}

.nav_links li a:hover{
  color: #0DE1C4;
}

button{
  padding: 9px 25px;
  background-color: #09CEF1;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  margin-left: 50px;
}

button:hover{
  background-color: black;
}


/* Footer*/
footer {
  background-color: #333;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.social-media-icons {
  display: flex;
  justify-content: space-around;
}

.social-media-icons a {
  font-size: 1.5em;
  text-decoration: none;
  
}

.social-media-icons a:hover {
  color: #eee;
}

.social-media-icons .linkedin {
  color: #0066cc;
  
}

.social-media-icons .github {
  color: white;
}

.social-media-icons .mail {
  color: #d44638;
}


/* About Me*/
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 3rem;
	margin-top: 4rem;
	text-align: center;
	
	}

.abouth1 {
	color: #4db296;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 2rem;	
	}

.h3bio {
	color: black;
	font-weight: 400;
}

.image {
	margin-top: 2rem;
	margin-bottom: 2rem;
	}

p {
	color: white;
	line-height: 2rem;
	margin-right: 70px;
	margin-left: 70px;
	}


	
/* Project Page*/


.projbody{
background: linear-gradient(45deg, #061de3, #e306ca);

}

.containercard {
  width: 325px;
  height: 400px;
  perspective: 800px;
  display: flex;
  
  
}

.containercard:hover > .card {
  transform: rotateY(180deg);
}

.card {
  height: 100%;
  width: 100%;
  position: relative;
  transition: transform 1500ms;
  transform-style: preserve-3d;
}

.front,
.back {
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
  position: absolute;
  backface-visibility: hidden;
}

.front {
  display: flex;
  justify-content: end;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
  background-image: url(connect-four.jpg);
  background-size: cover;
  background-position: center;
  padding: 5px;
  
}

.back {
  background-color: #3a3a3a;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}
.pback{
color: white;
}

.containercard2 {
  width: 325px;
  height: 400px;
  perspective: 800px;
  display: flex;


  
}
.containercard2:hover > .card2 {
  transform: rotateY(180deg);
}

.card2 {
  height: 100%;
  width: 100%;
  position: relative;
  transition: transform 1500ms;
  transform-style: preserve-3d;
}

.front2,
.back2 {
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
  position: absolute;
  backface-visibility: hidden;
}

.front2 {
  display: flex;
  justify-content: end;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
  background-image: url(whowrote.jpg);
  background-size: cover;
  background-position: center;
  padding: 5px;
}

.back2 {
  background-color: #3a3a3a;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}



.aboutmebody{
background: linear-gradient(90deg, #061de3, #e306ca);
}

.indexbody{
background: linear-gradient(45deg, #061de3, #e306ca);}
}

.homecontainer {
	text-align: center;	
	}

.homeh1 {
  text-align: left; /* aligns the text to the left */
  position: absolute; /* positions the text in relation to its containing element */
  top: 37%; /* aligns the text vertically in the middle */
  left: 37%; /* aligns the text horizontally to the left */
  transform: translateY(-50%); /* moves the text up by 50% of its own height */
  color: white;
  font-size: 110px;
  font-family: Trattatello, fantasy;
}


.homeh2{
  font-family: cursive;
  text-align: left; /* aligns the text to the left */
  position: absolute; /* positions the text in relation to its containing element */
  top: 50%; /* aligns the text vertically in the middle */
  left: 42%; /* aligns the text horizontally to the left */
  transform: translateY(-50%); /* moves the text up by 50% of its own height */
  color: white;
  font-size: 30px;
}

.homeh3{
  font-family: Times, Times New Roman, serif;
  text-align: left; /* aligns the text to the left */
  position: absolute; /* positions the text in relation to its containing element */
  top: 70%; /* aligns the text vertically in the middle */
  left: 32%; /* aligns the text horizontally to the left */
  transform: translateY(-50%); /* moves the text up by 50% of its own height */
  color: white;
  font-size: 20px;
}


.hidden {
    display: none;
  }

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #24252A;
    padding: 20px;
    color: black
  }
  
#close-btn {
  padding: 4px 20px;
  background-color:  #66b3ff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  margin-left: 140px;
  margin-top: 10px;
}

#close-btn:hover{
  background-color: black;
}