html{
    --linkcolor: blue;
}

body{
    margin:0;
    background-color: rgb(231, 231, 231);
    min-height: 100dvh;
    font-family: Arial;
    text-transform: lowercase;
}
header {
    /* background-color: #b8e4f2; */
    padding-bottom: 50px;
    padding-top: 10px;
    margin:  0 auto;
    width: 500px;
    text-align: center;
}

header img {
    width: 100%;
}
header h1, h2, h3{
    font-weight: normal;
    /* margin: 0; */
}

header h1{
    font-size: 3.5em;
    font-weight: bold;
    /* text-transform:uppercase; */
    /* letter-spacing: 0.1em; */
    /* border: 2px solid black; */
    padding: 1em 0;
    margin: 10px 0;
}

header h2{
    font-size: 1.8em;
}

nav{
    display: block;
    position:fixed;
    top: 10px;
    width: 200px;
    padding: 10px;
}

nav a{
    color: inherit;
    text-decoration: none;
}

nav ul{
    list-style: none;
    padding: 0;
    text-transform: lowercase;
}

nav a:hover{
    text-decoration: underline;
}

main {
    /* background: rgb(145, 229, 97); */
    padding: 0px;
    margin:  0 auto;
    width: 100%;
    max-width: 500px;
    line-height: 1.5;
    padding: 8px;
}

hr{
    border-top: 0.5px solid black;
    height: 0;
}

section {
    /* background-color: #fef993; */
    padding: 5px;
    margin: 10px 0;
}

section h2{
    text-transform: lowercase;
    font-size: 1.8em;
}

section img{
    width: 100%;
}
section p{

}

section details{
    margin-bottom: 0.5em;
    border: 1px solid black;
    padding: 0.5em 1em;
}
section details summary{
    font-style: italic;
    font-size: 1.1em;
    line-height: 2;
    cursor: pointer;
}

section details summary:hover{
    color: var(--linkcolor);
}

summary::-webkit-details-marker{
    /* opacity: 0.3; */
    /* margin-left:-1em; */
}
section details:hover{
    background-color: rgba(0,0,0,0.1);
}

/* Form */
form input, form textarea{
    font-family: inherit;
    font-size: inherit;
    padding: 5px;
}
.form-group{
    margin-bottom: 10px;
}
input[type="submit"], #contact #copy-btn {
    font-family: inherit;
    font-size: inherit;
    color: #000;
    background-color: var(--linkcolor);
    background: transparent;
    border: none;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}
input[type="submit"]:hover, #contact #copy-btn:hover {
    background-color: #0000000e;
}
.form-group input[type="text"], .form-group input[type="email"], .form-group textarea {
    width: 100%;
    resize: none;
    border: 1px solid black;
    background: transparent;
}
input::placeholder, textarea::placeholder {
    font-style: italic;
    color: #0000006f;
}

/* Comments */
#comments-section{
    margin-top: 20px;
}
#comments-section #comments {
    margin-top: 50px;
}
#comments-section #comments .comment {
    display: flex;
    flex-direction: column;
    gap: 0px;
    border-bottom: 1px solid black;
    padding: 10px 0;
}
#comments-section #comments .comment .name {
    font-weight: bold;
}
#comments-section #comments .comment time {
    font-size: 12px;
}
#comments-section #comments .comment p:last-child {
    margin-bottom: 0;
}

footer {
    /* position:absolute; */
    bottom: 0;
    padding: 5px;
    margin: 0px;
    margin-top: 100px;
    text-align: center;
    font-size: 0.5em;
    /* background-color: lightgoldenrodyellow; */
}

/* Contact */
#contact {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid black;
  padding: 20px;
}