/*Basic stuff that goes on every page!*/
.site_header{
    display: block;       /* makes margin:auto work on images */
    margin: 0 auto;       /* top/bottom 0, left/right auto -> centers */
    width: 80vw;           /* scales down on small screens */
    height: auto;         /* preserve aspect ratio */
    image-rendering: pixelated;
}

body{
    background-image: url("/img/bgs/pixelbloom.gif");
    background-repeat: repeat;
    background-size: auto;
    font-family: monospace;
}

.navbar ul{
    list-style-type: none; /* gets rid of bullet points */
    background-color: #ffe0f1;
    padding: 0px;
    margin: 10px auto;
    width: 80vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border: 4px solid #f96dba;
    border-radius: 20px;
}
.navbar li a{
    color:hotpink;
    text-decoration: none;
    padding: 15px;
    display:block;
    text-align: center;
    float: left;
    font-size: 20px;
    font-family:monospace;
}
.navbar li a:hover{
    background-color: aliceblue;
}
.navbar li a.active{
    background-color: deeppink;
}

.page_body{
    background-color: #ffe0f1;
    width: 80vw;
    margin: 0 auto;
    border-radius: 20px;
    border: 4px solid #f96dba;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    font-size: 18px;
    box-sizing: border-box; /*This makes it so that padding doesn't increase the size of the div!*/
    margin-bottom: 10px;
}
.page_body h1{
    color: hotpink
}
.page_body p{
    font-size: 18px;
}
.tagline p{
    color:#f96dba;
    display: flex;
    justify-content: center;
}
footer{
    text-align: center;
}

/*Styling for homepage!*/
.hello_world_text{
   display: flex; 
   flex-direction: column;
}

.hello_world_text h1{
    text-align: center;
}

.hello_world{
    display: flex;
}

.hello_world_pic{
    width:  20vw;
    aspect-ratio: 1/1;
    object-fit: contain;
    height: auto;
    padding: 20px;
    flex-shrink: 0;
}

/*Styling for about page!*/
.aboutme{
    display: flex;
    align-items: flex-start;
}

.aboutmecol{
    display: flex;
    flex-direction: column;
    row-gap: 0;
}

.aboutme img.portrait{
    width: 30vw;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 20px;
}

.titleblock{
    width: fit-content;
}

.titleblock .spacer{
  width: 100%;             /* match the wrapper (== header text width) */
  height: auto;
  display: block;
  margin-bottom: 16px;
}

/*THIS TOOK SO LONG DO NOT TOUCH NO FREAKING TOUCHY*/
.speech-bubble{
  position: relative;
  background: #fff9f9;
  border: 4px solid #777;
  border-radius: 50px;
  padding: 20px;
}

.speech-bubble p{
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.speech-bubble::before,
.speech-bubble:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #777;
	border-right: 0;
	margin-top: -20px;
	margin-right: -20px;
}

.speech-bubble::after {
    content: '';
	position: absolute;
	right: 6;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #fff9f9;
	border-right: 0;
	margin-top: -20px;
	margin-right: -15px;
}

/*ABOUT PAGE FLEXBOXES*/
.aboutflex{
    display: flex;
    width: 100%;
    gap: 20px;
    padding-top: 20px;
}
.aboutflex h3{
    text-align: center;
}
.aboutflexitem{
    flex: 1;
    flex-grow: 1;
    background-color: #fff9f9;
    border-radius: 10px;
    border: 4px solid #ffa6d7;
    padding: 10px;
}

/*CONTACT PAGE*/
.email-card{
  /* sizing */
  max-width: 700px;
  margin: 0 auto;           /* center the card */
  padding: 70px 60px;       /* space so text sits on the “paper” area */

  /* the image */
  background-image: url("img/letter.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* keeps the whole envelope visible */

  /* optional: keep text readable */
  text-align: center;
}

.email-card .email{
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
}

.email-card .email a{
  color: inherit;
  text-decoration: none;
}

.email-card .email a:hover{
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  text-align: center;
}

.social-links a {
  text-decoration: none;
  color: #c86b8f;
  font-size: 1rem;
}

.social-links img {
  width: 15vw;
  display: block;
  margin-bottom: 6px;
  image-rendering: pixelated;
}