/*-----General-----*/
header {
    font-size: 3em;
    padding-bottom: 8px;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: bold;
}
body {
  font-family: Monospace;
  margin: 6%;
}
p {
overflow-wrap: break-word;
}
.error-text {
    text-align: center;
}
h1, h2, button, .tooltip {
font-weight: bold;
}
figure {
        margin: 0;
    }
.header:after {
    display: block;
    content: '';
  border-radius: 2px;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
}
.header {
    margin-top: 8px;
    margin-bottom: 0;
}
button {
    padding: 4px;
    margin: 0;
    box-sizing: border-box;
    margin-right: 4px;
}
.mobile-links {
    font-size: 0;
    margin-bottom: 0;
}
.sticky {
    position: sticky;
    display: grid;
    grid-column-start: 5;
    align-items: start;
    z-index: 1000;
    top: 0;
    width: 100%;
    margin: 0;
}
.link-button {
    box-sizing: border-box;
    margin-top: 4px;
}
h1, h2 {
margin-bottom: 0;
padding-bottom: 0;
line-height: 1;
}
ul {
padding-left: 0;
list-style-type: none;
}
ul li::before {
  content: '❀';
  margin-right: 8px;
}
.notice {
    text-align: center;
}
/*-----Conditional-----*/
@media only screen and (min-width: 900px) {
    main {
        gap: 1em;
    display: grid;
    grid-template-columns: 4fr 1fr;
    align-items: start;
    justify-items: center;
    box-sizing: border-box;
    width: 100%;
    }
.body {
    grid-column-start: 1;
    grid-column-end: 5;
    width: 100%;
    word-wrap: break-word;
    margin: 0;
}
.sidebar {
    display: grid;
    grid-column-start: 5;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    align-items: start;
}
.mobile-links {
    display: none;
}
#about {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    grid-column-start: 2;
    grid-column-end: 3;
}
form {
    width: 300px;
}
p {
    text-align: justify;
    }
.clickable {
    margin: auto 6%;
}
.sniff {
    width: 100%;
    float: left;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1em;
}
.disclaimer {
   text-align: right;
}
}
@media only screen and (max-width: 899px) {
    .sidebar {
        display: none;
    }
    .sniff {
        width: 50%;
    }
   .clickable {
    margin: auto 2%;
    }
    .disclaimer {
   text-align: center;
    }
}
@media (prefers-color-scheme: dark) {
    body {
        color: PaleTurquoise;
        background-color: Navy;
    }
    a, .tooltip {
        color: #38EA7A;
    }
    a:hover, .tooltip:hover, .click-me:hover .tooltip {
    color: #248f6c;
    }
    .header:after {
    border: 1px solid PaleTurquoise;
    }
    button {
    background-color: #38EA7A;
    color: Navy;
    }
    .send:hover, button:hover {
    background-color: #248f6c;
    }
    input:checked ~ .checkmark {
    background-color: #38EA7A;
    }
    .checkmark {
        border: 1px solid #38EA7A;
        color: Navy;
    }
        #user-check:hover ~ .checkmark {
        border: 1px solid #248f6c;
        background-color: #248f6c;
    }
    .anonymous {
        color: #38EA7A;
    }
    #user-check:hover ~ .anonymous {
        color: #248f6c;
    }
}
@media (prefers-color-scheme: light) {
    body {
        color: Navy;
        background-color: PaleTurquoise;
    }
    a, .tooltip {
        color: MediumVioletRed;
    }
    a:hover, .tooltip:hover, .click-me:hover .tooltip {
    color: PaleVioletRed;
    }
    .header:after {
    border: 1px solid Navy;
    }
    button {
    background-color: MediumVioletRed;
    color: PaleTurquoise;
    }
    .send:hover, button:hover {
    background-color: PaleVioletRed;
    }
        input:checked ~ .checkmark {
    background-color: MediumVioletRed;
    }
    .checkmark {
        color: PaleTurquoise;
        border: 1px solid MediumVioletRed;
    }
          #user-check:hover ~ .checkmark {
        border: 1px solid PaleVioletRed;
        background-color: PaleVioletRed;
    }
    .anonymous {
        color: MediumVioletRed;
    }
    #user-check:hover ~ .anonymous {
        color: PaleVioletRed;
    }
}
/*-----Notes-----*/
.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}
.marquee {
			display: flex ;
			overflow: hidden ;
			white-space: nowrap ;
			width: 100%;
		}
		.marquee__item {
			animation-duration: 5s ;
			animation-iteration-count: infinite ;
			animation-name: marquee-content ;
			animation-timing-function: linear ;
			padding: 5px 15px 5px 15px ;
		}
@keyframes marquee-content {
	from {
		transform: translateX( 0% );
	}
	to {
		transform: translateX( -100% );
	}
}
.disclaimer {
   font-size: 6px;
   font-weight: 100;
   font-style: italic;
}
/*-----Selfships-----*/
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  white-space: nowrap;
  background-color: black;
  color: white;
  font-weight: normal;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
.tooltip:hover .tooltiptext, .click-me:hover .tooltiptext {
  visibility: visible;
}
.photo {
    width: 100%;
    height: auto;
}
.sprite {
    align-items:center;
    vertical-align: bottom;
    margin-top: 0;
    padding-top: 0;
}
.clickable {
  display: grid;
  grid-template-columns: 28fr 75fr 20fr 30fr;
  align-items: flex-end;
  box-sizing: border-box;
  gap: 0;
  margin-top: 8px;
  justify-items: center;
  grid-auto-flow: column;
}
.clickable .photo {
    vertical-align: bottom;
}
/*-----Mailbox-----*/
.name {
    width: 50%;
}

.name, .message {
    margin-top: 4px;
}
.message {
    width: 100%;
    margin-bottom: 4px;
}
.form {
    width: 100%;
}
.name, .message, button {
    font-family: Monospace;
    border-style: none;
    border-radius: 2px;
}
.user {
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: min-content auto;
    gap: 4px;
    justify-items: left;
    margin-left: 0;
    padding-left: 0;
    margin-top: 8px;
}
@font-face {
    font-family: "inter";
    src:url('/fonts/inter/inter-variablefont.ttf');
    font-weight: bold;
}
#user-check {
    z-index: 5;
    opacity: 0;
}
#user-check, .checkmark {
        grid-row-start: 1;
        grid-column-start: 1;
        margin-left: 0;
}
.checkmark {
    box-sizing: border-box;
    font-family: inter;
    border-radius: 2px;
    text-align: center;
    margin: auto auto auto 0;
    font-weight: bold;
    line-height: 1;
    padding-left: 1px;
    padding-right: 1px;
    
}
.submit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: center;
}
.send {
    justify-self: left;
    }
.send, .counter {
    margin: 0;
    }
.counter {
    justify-self: right;
    grid-column-start: 5;
}
.form, .message {
        box-sizing: border-box;
}