
:root {
  --body-colour: #333;
  --style-colour: #014461;
  --header-colour: #3d4449;
  --placeholder-colour: #9fa3a6;
  --input-colour: #7f888f;

  --white: #fff;
  --light-blue: #cee4ff;
  --light-pink: #ef9eff;
  --base-pink: #e45dff;
  --base-green: #93e836;
  --base-yellow: #fffc7a;
  --midlight-blue: #93d9eb;
  --base-blue: #33c6ee;
  --base-dark: #041417;

  --admonition-header-backgroud: #5b7990;
  --admonition-backgroud: #9fa3a6;
}






body {
  margin:40px auto;
  max-width:900px;
  line-height:150%;
  font-size:20px;
  color:var(--body-colour);
  padding:0 10px;
  font-family: "Times New Roman", Times, serif;
}
h1,h2,h3,h4,h5,h6 {
  text-decoration-line: underline;
}

h6 {
  margin-bottom:0.5em;
  font-size: 1em;
}

img {
  max-width:100%;
  height: auto;
  float: center;
  }
header { padding-bottom: 0.6em; }
footer { 
  margin-top: 3em;
  padding-top: 2em; 
  border-top:3px dashed grey}

  article {
    flex-grow: 0;
    flex-shrink: 1;
   /* margin: 0 2em 1em 0em; */
    position: relative;
    width: 100%; 
  }
  article header {padding:0;}
  article footer {padding:0;}

  nav {
    list-style-type: none;
    margin-bottom: 0.6em;
  }
  nav ul { 
    margin: 0.1em;
    padding:0;
  }
  nav li {
    display: inline-block;
    margin-right: 1.5em;
  }
  nav li a {
    color: #000;
    text-decoration: italic;
    display: inline-block;
    transition: background-color 0.3s;
  }
  nav li a:hover { background-color: #555; }

p.caption{
    font-style: italic;
    margin-top: 0;
    font-size: smaller;
}

.title {
    font-size: 2.5em;
}
/*
  @media (prefers-color-scheme: dark) {
    body, h1, h2, h3, h4, p{
      color: #eee;
      background: #121212;
    }
    nav li a {
      color: #65c2de;}
  
  
    body a {
      color: #65c2de;
    }
  }
*/

/* Add some padding and a grey background color to containers */
.newsletter {
  padding: 20px;
  background-color: #f1f1f1;
}

.newsletter h1,h2,h3,h4 {
  margin: 1rem 0 1rem 0;
  line-height: 1;
  color: #333;

}

.newsletter p{
  margin:10px auto;

}

/* Style the input elements and the submit button */
input[type=text], input[type=submit] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Add margins to the checkbox */
input[type=checkbox] {
  margin-top: 16px;
}

/* Style the submit button */
input[type=submit] {
  background-color: #014461;
  color: white;
  border: none;
}

input[type=submit]:hover {
  opacity: 0.8;
}

.button {
  background-color: var(--style-colour);
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin:2px 2px;
  cursor: pointer;
}

#banner {
  margin-bottom: 2em;
}

blockquote {
	margin: 1em 3em;
	padding: .5em;
	background-color: #f6ebc1; }
blockquote p {
	margin: 0; }


/* -- admonitions ----------------------------------------------------------- */

div.admonition {
    width: 100%;
    margin: 1em;
    padding: 1em;
    background-color: #f9ffa3;
    border:1px solid;    
}

div.admonition dt {
    font-weight: bold;
}

p.admonition-title {
    background-color:#f9ffa3;
    margin: 0px 10px 5px 0px;
    font-weight: bold;
    font-size: 1em;
}

div.body p.centered {
    text-align: center;
    margin-top: 25px;
}


div.admonition > :last-child {
    margin-bottom: 0;
}

.linktree{ 
  padding:20%;
  padding-top:1%;
  padding-bottom:1%;
  text-align: center;
}
.linktreelink{
  text-align: center;
  margin-top: 1px;
  padding: 20px 0;
  max-width: 590px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:10px;
  background-color:var(--style-colour);
  color:white;
  text-decoration:none;
  border-radius: 40px;
}

.linktreelink a {
  border-bottom: none;
}

.linktreelink:hover{
  color:var(--style-colour);
  background-color:white;
  border: 2px solid;
  border-color:var(--style-colour);
}

.linktree img {
  max-width: 75%; display: inline; float: center; border-radius: 50%;
}

/* -- gallery ----------------------------------------------------------- */

.gallery img {
  object-fit: cover;
  width: 200px;
  height: 200px;
}
