/*
[website] https://www.nerdbude.com
[mail] post@nerdbude.com
[mastodon] @0x17@corteximplant.com
[github] https://www.github.com/nerdbude
*/

/* ============================= */
/* GLOBAL                        */
/* ============================= */

* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'din_condensed';
  src: url('../fonts/D-DINCondensed.woff2') format("woff2"),
       url('../fonts/D-DINCondensed.woff') format("woff");
}

html {
  background-image: url("../img/bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'din_condensed';
  max-width: 1023px;
  width: 100%;
  margin: 0px auto;
  padding: 0px 5%;
  border-radius: 20px;

  color: #d7d7d7;
  font-size: 20px;
  font-weight: 100;
  background-color: #282A36;
  box-shadow: 0 4px 8px 0 #282a36;

  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  background-color: #44475A;
  color: #F8F8F2;
  padding: 0.2em 0.2em;
  border-radius: 6px;
  font-family: 'din_condensed';
  /* font-size: 0.95em; */
}

pre {
  background-color: #1f2029;
  margin: 15px 8%;
  padding: 1.6rem;
  border-radius: 10px;
  overflow-x: auto;
  line-height: 1.7;
  /* border-left: 4px solid #ff79c6; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); */
  /* box-shadow: 0 10px 30px rgba(189, 147, 249, 0.35); */
}


pre code {
  background: none;
  color: #F8F8F2;
  font-family: 'din_condensed';
  font-size: 0.95rem;
  display: block;
}

.token.comment { color: #6272A4; }
.token.keyword { color: #FF79C6; }
.token.string  { color: #F1FA8C; }
.token.function { color: #50FA7B; }
.token.number  { color: #BD93F9; }
.token.boolean { color: #BD93F9; }
.token.operator { color: #FF79C6; }
.token.class-name { color: #8BE9FD; }
.token.variable { color: #F8F8F2; }
.token.constant { color: #FFB86C; }
.token.deleted { color: #FF5555; }
.token.inserted { color: #50FA7B; }



/* ============================= */
/* TYPOGRAPHY                    */
/* ============================= */

h1 {
  font-size: 36px;
  color: #ff79c6;
  font-weight: 100;
  text-align: center;
}

h2 {
  font-size: 22px;
  color: #ff79c6;
  font-weight: 100;
  text-align: center;
}

h3 {
  font-size: 22px;
  color: #282a36;
  padding: 5px 5px 5px 20px ;
  border-radius: 15px;
  background-color: #ff79c6;
  font-weight: 100;
  text-align: left;
}

h4 {
  font-size: 22px;
  color: #ff79c6;
  font-weight: 100;
  text-align: left;
}


p {
  margin: 0 5%;
  text-align: justify;
}

p.deploy {
margin: 0 5%;
}

b {
  color: #F1FA8C;
}

strong {
  color: #F1FA8C;
}

em {
  color: #F1FA8C;
}

span {
  padding: 0;
  margin: 0;
}

ul {
  padding: 0;
}

th {
  text-align: left;
  font-weight: 100;
}

/* ============================= */
/* LINKS                         */
/* ============================= */

a {
  color: #ff79c6;
  transition: 0.2s;
  padding-top: 3px;
}

a:hover {
  color: #272727;
  background-color: #ff79c6;
}

a:active {
  color: #bd93f9;
}

a.front {
  text-decoration: none;
  color: #d7d7d7;
}

a.front:hover {
  color: #272727;
  background-color: #bd93f9;
}

a.front:active {
  color: #bd93f9;
}

/* ============================= */
/* BUTTONS                       */
/* ============================= */

.men-button {
  background: linear-gradient(135deg, #bd93f9, #ff79c6);
  border: none;
  text-decoration: none;
  color: #0f0f0f;
  margin: 0 5px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 6px 20px rgba(189, 147, 249, 0.25);
}

.men-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(189, 147, 249, 0.35);
}

/* ============================= */
/* IMAGES                        */
/* ============================= */

img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
}

.mockup {
  max-width: 70%;
  margin: 0 auto;
}

/* ============================= */
/* LAYOUT                        */
/* ============================= */

header {
  width: 100%;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #bd93f9;
}

container {
  width: 100%;
}

#content {
  margin: 0 15%;
}

#deploycode {
width: 85%;
background-color: #44475A;
padding-left: 20px;
padding-right: 20px;
}

#footer {
  width: 100%;
  margin-bottom: 10px;
  background-color: #272727;
}

.description {
  background: #272727;
  padding: 10px 0 10px 10px;
}

.subtitle {
  display: inline-block;
  margin: 20px 0;
}

.filter {
  display: block;
  margin-bottom: 30px;
  margin-top: -20px;
}

.episodegrid {
  display: grid;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 1024px) {
  body {
    font-size: 18px;
  }

  h1 { font-size: 28px; }
  h2, h3 { font-size: 20px; }

  .mockup,
  #cssyn {
    width: 100%;
    max-width: 100%;
  }

  #content {
    margin: 0 5%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 15px 6%;
  }

  h1 { font-size: 24px; }
  h2, h3 { font-size: 18px; }

  p {
    margin: 0 0 15px 0;
  }

  .men-button {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  #content {
    margin: 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
    padding: 12px 6%;
  }

  h1 { font-size: 20px; }
  h2, h3 { font-size: 16px; }
}

