html {
    background-color: rgb(253, 252, 246);
    opacity: 90%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #f05555;
    scrollbar-width: none;
    background-image: url("./media/anna-savina-QNFJRjo279k-unsplash.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: rgba(114, 22, 27, 0.719)
}

body{
    width: 100%;
}


h1 {
    text-align: center;
    font-family: "Rosarivo", cursive;
    font-weight: 400;
    font-style: normal;
    opacity: 45%;
    color: rgba(114, 22, 27, 0.863);
}

#home {
    opacity: 45%;
    font-size: 1.25rem;
    color: rgba(53, 6, 8, 0.733);
}

.letter {

    width: 90%;
    padding-left: 10%;
    font-size: 1.75rem;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    overflow-y: visible;
    overflow-x: hidden;
    display: grid;
    color: rgba(114, 22, 27, 0.425);
    text-shadow: 0px 0px 5px rgba(114, 22, 27, 0.425);
    mix-blend-mode: normal;
    opacity: 100%;
    grid: 1fr 1fr auto 1fr 1fr / auto 1fr auto;
}

input::placeholder {
    font-size: 1.75rem;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;   
    color: rgba(114, 22, 27, 0.425); 
    mix-blend-mode:multiply;
    text-shadow: 0px 0px 5px #49030346;
}

textarea::placeholder {
    font-size: 1.75rem;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    color: rgba(114, 22, 27, 0.425); 
    mix-blend-mode:multiply;
    text-shadow: 0px 0px 5px #49030346;
}

textarea {

    resize: none; /* Prevent manual resizing */
    overflow: hidden; /* Hide scrollbars */
    scrollbar-width: none;
    overflow-y: visible;
    height: max-content;
    width: 100%; /* Ensures the container spans the screen */
    word-wrap: break-word; /*Allows long words to break and wrap */
    overflow-wrap: break-word; /* Modern equivalent of word-wrap */
    white-space: normal; /* Ensures text wraps normally */
    border: none;
    font-size: 1.75rem; 
    outline: none;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    text-indent: 2em;
    grid-row: 3;
    grid-column: 1 / span 3;

}

input, textarea {
    caret-color: #77180a;
    min-height: max-content;
    width: auto;
    border: none;
    font-size: 1.75rem;
    outline: none;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    color: rgba(114, 22, 27, 0.425);
    mix-blend-mode:multiply;
    text-shadow: 0px 1px 3px rgba(114, 22, 27, 0.425);
}

a {
    text-decoration: none;
}

#send {
    grid-row: 5;
    grid-column: 1 / 2;
    background-color: transparent;
    text-decoration: line-through;
}

#send:hover, a:hover {
    color: rgb(241, 63, 40);
    text-decoration: line-through;
}

#send:hover {    
    font-size: 1.79rem;
}

textarea:focus {
    font-size: 1.75rem;
    outline: none;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    text-indent: 2em;

}

textarea::before{
    text-indent: 0px;
}

textarea::after{
    text-indent: 2em;
}

textarea:focus::placeholder, input:focus::placeholder {
  color: transparent;
}

#textbox {
    
    height: 45px;
    width: 100%;
    font-size: 1.25rem;
    text-align: left;
    padding: 10px;
}

#email {
    min-height: 40px;
    width: 100%;
    font-size: 1.25rem;
    text-align: left;
    padding: 0;
    text-indent: 0em;
    grid-row: 1;
    grid-column: 1 / span 3;
}

#dear {
    grid-row: 2;
    grid-column: 1 / span 3;
}

a {
    color:rgb(28, 49, 8);
}

#sincerely {
    grid-row: 4;
    grid-column: 3 / 4;
    text-align: right;
    align-self:end ;
}

input {
    padding: 0px;
    padding-left: 0px;
}

input:focus {
    font-size: 1.75rem;
    outline: none;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
}


#stb {
    width: max-content;

}

#ps {
    text-align: left;
}

#pstb {
    width: auto;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.767); /* Fallback color */
}

/* Modal Content/Box */
.modal-content {
  background-color: #00000000;
  color: #ffffff;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 3px solid #ffffff;
  border-radius: 5px;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

