@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

html, body {
  height: 100%;
  background-color: #FFF;
  font-family: 'Montserrat';
  text-align: center;
}

header h1 {
  font-weight: 700;
  color: pink;
  font-size: 2em;
  text-align: center;
  margin-bottom: 2em;
}

h1 {
  font-weight: 600;
  margin-top: 1.25em;
  margin-bottom: 1em;
  font-size: 1.75em;
  line-height: 1.5em;
}

h2 {
  margin-top: 1em;
  margin-bottom: 0.75em;
  font-size: 1em;
}
p { 
  margin: 1em 0;
  font-size: 0.875em;
 }

 a {
  color: #52b8dd;
  text-decoration: none;
  transition: text-decoration 0.2s;
 }

 .more a {
  color: black;
  text-decoration: underline;
  font-weight: bold;
}

 a:hover{
  color: #9696FF;
  text-decoration: underline;
 }

 p > a {
  color: #52b8dd;
  text-decoration: none;
  background: linear-gradient(to right, #52b8dd, #00cddd, #00debb, #32e97b, #a8eb12);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: color 0.5s, background-size 0.5s ease-in-out;
}


p>a:not(:has(code), .more a):hover  {
  color: white;
  background-size: 100% 100%;
}

h1 > a {
  color: #000 !important;
  transition: color 0.1s;
}

h1 > a:hover{
  text-decoration: underline;
}

a:visited {
  color: #9696FF;
}

.more {
  padding-bottom: 1em;
}

.site {
  font-size: 115%;
  text-align: justify;
  margin: 3em auto 2em;
  line-height: 1.5em;
  width: 98%;
  max-width: 800px;
}

.site .meta {
  color: #aaa;
}

.post pre {
  padding: 1em .6em;
  overflow: auto;
}

.post ul, .post ol {
  margin-left: 1.35em;
  margin-bottom: 1em;
}

.post code {
  border: 1px solid #ddd;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

.contact {
  border-top: 1px solid #CCCACA;
}

.social {
  width: fit-content;
  padding-top: 0.5em;
  padding-bottom: 2em;
  font-size: 25px;
  text-decoration: none;
  background: linear-gradient(to right, #52b8dd, #00cddd, #00debb, #32e97b, #a8eb12);
  background-clip: text;
}

.social li {
  display: inline-block;
  padding: 1px;
}

.social li a {
  padding: 3px;
  color: #CCCACA;
  text-decoration: none;
}

.social li a:hover {
  color: transparent;
}


blockquote {
  border-left: 3px solid #aaa;
  margin-left: 8px;
  padding-left: 8px;
  font-style: italic;
}

a:has(code){
  color: #52b8dd;
 }

 a:hover:has( + code){
  color: #9696FF;
 }

@media only screen and (max-width: 900px){
  body {
    margin: 4vh 6vw;
  }

  header h1 {
    font-size: 1.5em;
  }

  h1 {
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.1em;
  }
  
  p {
    line-height: 1.5em;
  }
  
}