/* 
============================================================ 
Reset Styles
============================================================ 
*/
html,
body,
*::before,
*::after,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  overflow: visible;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 
============================================================ 
Variables
============================================================ 
*/
:root {
  --darkBlue: 103, 73, 190;
  --darkGray: 97, 97, 97;
  --btnBlue: 103, 73, 190;
  --btnDarkBlue: 103, 73, 150;
  --btnOrange: 227, 86, 47;
  --paddingXtraSmall: 3rem;
  --paddingSmall: 5rem;
  --paddingLarge: 10rem;
  --shadow: 0px 4px 22px 2px rgba(var(--darkBlue), 0.1);
}

/* 
============================================================ 
Top-Level Stuff
============================================================ 
*/
@import url("https://fonts.googleapis.com/css2?family=Arimo&display=swap");

html,
body {
  font-size: 60.5%;
  margin: 0;
  font-family: "Arimo", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

/* 
============================================================ 
Typography
============================================================ 
*/

a {
  text-decoration: none;
  color: black;
  font-size: clamp(1rem, 10vw, 1.4rem);
  font-weight: 800;
  color: #6749be;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--darkBlue);
}

h1 {
  font-size: 6rem;
  font-size: clamp(3.6rem, 10vw, 5.2rem);
  font-weight: 800;
  line-height: 1.25;
  padding-bottom: 2rem;
  color: #2d2d2d;
}

@media only screen and (max-width: 1400px) {
  h1 {
    font-size: 4.4rem;
  }
}

@media only screen and (max-width: 760px) {
  h1 {
    font-size: 3.6rem;
  }
}

h2 {
  font-size: 4.8rem;
  font-size: clamp(3rem, 10vw, 3.6rem);
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 3rem;
}

@media only screen and (max-width: 1400px) {
  h2 {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 1000px) {
  h2 {
    font-size: 3.2rem;
  }
}

@media only screen and (max-width: 600px) {
  h2 {
    font-size: 2.4rem;
  }
}

h3 {
  font-size: 3.5rem;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 2rem;
}

@media only screen and (max-width: 1400px) {
  h3 {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 1000px) {
  h3 {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 600px) {
  h3 {
    font-size: 1.75rem;
  }
}

h4 {
  font-size: 2.4rem;
  font-size: clamp(1.4rem, 10vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
}

@media only screen and (max-width: 1400px) {
  h4 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 760px) {
  h4 {
    font-size: 1.2rem;
  }
}

h5 {
  font-size: 2.4rem;
  font-size: clamp(1.4rem, 10vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}

p,
li {
  font-size: 2rem;
  font-size: clamp(1rem, 10vw, 1.4rem);
  line-height: 1.7;
  color: var(--darkBlue);
  font-weight: 100;
}

.sub {
  font-size: 1.8rem;
  font-size: clamp(1.4rem, 10vw, 1.8rem);
  line-height: 1.7;
  margin-top: 0.5rem;
  color: var(--darkBlue);
}

@media only screen and (max-width: 760px) {
  .sub {
    font-size: 1.4rem;
  }
}

.descr {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}

button {
  font-size: 1.8rem;
  font-size: clamp(1.2rem, 10vw, 1.8rem);
  font-weight: 600;
}

@media only screen and (max-width: 760px) {
  button {
    font-size: 1.2rem !important;
  }
}

hr {
  background-color: white;
  height: 0.2rem;
  width: 12rem;
  border: none;
  margin-left: 0;
  margin-top: 0;
}

.hr--left {
  background-color: white;
  width: 10rem;
  border: none;
  text-align: left;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* 
============================================================ 
Padding
============================================================ 
*/
.padding--xtra-small {
  padding: var(--paddingXtraSmall);
}

.padding--small {
  padding: var(--paddingSmall);
}

.padding--large {
  padding: var(--paddingLarge);
}

.margin--large {
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 8%;
  margin-right: 8%;
}

@media only screen and (max-width: 760px) {
  .margin--large {
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

/* 
============================================================ 
Buttons
============================================================ 
*/
.btn {
  padding: 1.5rem 2.5rem 1.5rem 2.5rem;
  border-radius: 6px;
  border: none;
  color: white;
  width: max-content;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn--orange {
  background-color: #ffffff00;
  border: rgb(var(--btnOrange)) solid 2px;
  transition: all 0.3s;
  color: #2d2d2d;
}

.btn--orange:hover {
  opacity: 0.7;
  border: rgb(var(--btnOrange)) solid 2px;
  color: #2d2d2d;
}

.btn--blue {
  border: rgb(var(--btnBlue)) solid 2px;
  background-color: rgb(var(--btnBlue));
  transition: all 0.3s;
  color: white;
}

.btn--blue:hover {
  border: rgb(var(--btnDarkBlue)) solid 2px;
  background-color: rgb(var(--btnDarkBlue));
  color: white;
}

/* 
============================================================ 
Layouts
============================================================ 
*/

.blog-main {
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
  justify-content: center;
}

.card {
  border-radius: 1%;
  padding: var(--paddingXtraSmall);
  padding-bottom: 6%;
  background-color: rgba(255, 255, 255, 255);
  box-shadow: var(--shadow);
  -webkit-box-shadow: var(--shadow);
  -moz-box-shadow: var(--shadow);
}

.post-list {
  background-image: url("../../low-poly-background.png");
  background-size: contain;
  background-position: 0 200px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 10vh;
  padding-bottom: 10vh;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.post-card {
  margin: 2%;
  max-width: 500px;
}

.post-preview-title {
  font-size: clamp(4rem 20vw, 6rem) !important;
}

.borderGradient {
  border: 8px solid;
  border-image-slice: 1 !important;
  border-width: 8px;
}

.borderGradient--purple {
  border-image-source: linear-gradient(
    260.57deg,
    #6749be -2.67%,
    #fa7878 128.78%
  );
}

.post-main {
  padding: 6%;
  margin: 2%;
  margin-bottom: 10vh;
}

footer {
  border-top: 1px solid grey;
  padding: 2%;
}