/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
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;
  text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: 'Work Sans', sans-serif;
  background-color: #f7f7f7;
}

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;
}

button {
  cursor: pointer;
}

/* Main  */
:root {
  --color-primary: #44413f;
  --color-secondary: #ededed;
  --color-iconBorder: #707070;
  --color-contentText: #f7f7f7;
  --color-firstCard: #d3bca1;
  --color-thirdCard: #c1d4d6;
  --color-white: #ffffff;
  --color-black: #000000;
}

/*#ebeaea;*/
body {
  background-color: var(--color-secondary);
}
.main-container {
  max-width: 1200px;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.main-container main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cardImg {
  width: 300px;
  height: 300px;
  margin-bottom: 10px;
  border-radius: 15px 15px 0px 0px;
  overflow: hidden;
}

.cardImg img {
  width: 100%;
  height: 100%;
}

.cards {
  transition: 0.5s;
}

.cards:hover {
  opacity: 0.5;
}

/* sandros book */

.sandrosBooks .cardTitle {
  width: 100%;
  padding: 10px 0px;
  background-color: var(--color-firstCard);
  color: var(--color-iconBorder);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
}
.sandrosBooks .cardImg {
  background-color: var(--color-firstCard);
}

/* chaos */

.fromChaosToCosmos .cardTitle {
  width: 100%;
  padding: 10px 0px;
  background-color: var(--color-primary);
  color: var(--color-contentText);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
}

/* edureSources */

.edureSources .cardTitle {
  width: 100%;
  padding: 10px 0px;
  background-color: var(--color-thirdCard);
  color: var(--color-contentText);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
}

/* footer */

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer img {
  height: 50px;
  width: auto;
  margin: 10px 0px;
}

footer a {
  margin: 0px 25px;
}

@media screen and (max-width: 910px) {
  .main-container main {
    flex-direction: column;
    align-items: center;
  }
  main a {
    margin: 30px 0px;
  }
}
