/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");

/* Reset CSS */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
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;
}

/* Styles */

html,
body {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
}
html {
  height: 100%;
}
body {
  background-color: #009881;
  min-height: 100%;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 96px;
  /* padding-bottom: 228px; */
  position: relative;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
body.hidden {
  overflow: hidden;
}

button {
  appearance: none;
  background: none;
  outline: none;
  box-shadow: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.container {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
}

.footer {
  /* position: absolute;
  left: 0;
  bottom: 0;
  right: 0; */
  width: 100%;
  margin-top: 128px;
  margin-bottom: 64px;
  /* height: 100px; */
  /* background: url("./assets/img/footer.svg") no-repeat center bottom; */
  /* background-size: 100% auto; */
}
.footer__row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
}
.footer__row > div {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* padding: 64px 15px; */
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 40px;
  font-style: italic;
  /* margin-bottom: 24px; */
}
.footer__row > div:nth-child(1) {
  /* background-color: #ec66a3; */
}
.footer__row > div:nth-child(2) {
  /* background-color: #0097cc; */
  margin-top: -64px;
}
.footer__row > div:nth-child(3) {
  /* background-color: #562d8d; */
}
.footer__row > div:nth-child(4) {
  background-color: #4b9dd3;
}
.footer__row > div:nth-child(5) {
  background-color: #ff896b;
}
.footer img {
  width: 100%;
  height: auto;
}

.title {
  font-size: 48px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 64px;
}
.title strong {
  font-weight: bold;
  color: #000000;
  font-size: 3em;
  display: block;
  line-height: 1;
}
.title span {
  position: relative;
  z-index: 1;
}
.title sup {
  font-size: 0.2em;
  vertical-align: super;
  transform: translateX(-px);
  display: inline-block;
}
.title span::before {
  content: "";
  display: block;
  height: 50%;
  background-color: #000000;
  opacity: 0.2;
  position: absolute;
  left: -4px;
  top: 50%;
  right: -4px;
  z-index: -1;
}
.title__img {
  padding: 15px 0 10px;
}
.title__img img {
  width: 250px;
  display: block;
  margin: 0 auto;
}

.links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.links__item {
  position: relative;
  width: 240px;
  height: 240px;
  padding: 50px 25px 30px;
  border-radius: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
}
.links__item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: 28px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid rgba(6, 84, 160, 0.5);
  background-color: #ffffff;
  -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.6s;
  transition: -webkit-transform 0.3s, -webkit-box-shadow 0.6s;
  -o-transition: transform 0.3s, box-shadow 0.6s;
  transition: transform 0.3s, box-shadow 0.6s;
  transition: transform 0.3s, box-shadow 0.6s, -webkit-transform 0.3s,
    -webkit-box-shadow 0.6s;
  transition: transform 0.3s, box-shadow 0.6s, -webkit-transform 0.3s,
    -webkit-box-shadow 0.6s;
  will-change: transform, box-shadow;
}
.links__logo {
  display: block;
  width: 100%;
  height: 79px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.links__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.links__arrow {
  background-color: rgba(6, 84, 160, 0.05);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  width: 84px;
  height: 84px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.links__arrow img {
  max-width: 30%;
  max-height: 30%;
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  display: none;
}
.popup.active {
  display: flex;
}
.popup-bg {
  background-color: #000000;
  opacity: 0.8;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.popup-wrapper {
  max-height: 100%;
  overflow-y: auto;
}
.popup-inner {
  position: relative;
  width: 560px;
  box-sizing: border-box;
  padding: 100px;
  border-radius: 15px;
  background-color: #d0c1f1;
  color: #000000;
}
.popup-close {
  position: absolute;
  right: 25px;
  top: 25px;
}
.popup-close img {
  transition: transform 0.3s;
}
.popup-links a {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 15px;
  color: #000000;
  transition: box-shadow 0.6s;
}
.popup-links a:last-child {
  margin-bottom: 0;
}
.popup-links a img {
  transition: transform 0.2s;
}

/* Hovers */
@media (min-width: 1280px) {
  .links__item:hover::before {
    -webkit-box-shadow: 0 10px 20px rgba(6, 84, 160, 0.3);
    box-shadow: 0 10px 20px rgba(6, 84, 160, 0.3);
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
  }
  .links__item:hover .links__arrow {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: rgba(6, 84, 160, 0.1);
  }
  .popup-close:hover img {
    transform: rotate(180deg);
  }
  .popup-links a:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .popup-links a:hover img {
    transform: rotate(45deg);
  }
}

@media (max-width: 1639px) {
  body {
    padding-top: 64px;
  }
  .footer {
    margin-top: 84px;
  }
}
@media (max-width: 1279px) {
  .title {
    font-size: 32px;
  }
  /* .links__item {
    width: 220px;
    height: 220px;
    padding: 25px;
  } */
  .footer__row > div {
    font-size: 32px;
  }
  .links__arrow {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 1023px) {
  .footer {
    margin-top: 64px;
  }
  .footer__row > div {
    font-size: 24px;
  }
  .links__item {
    width: 40vw;
    height: 40vw;
    margin-bottom: 5vw;
    padding: 20px 25px;
  }
  .links__arrow {
    width: 84px;
    height: 84px;
  }
}
@media (max-width: 767px) {
  body {
    padding-top: 48px;
  }
  .footer {
    margin-top: 32px;
    padding: 0 4px;
  }
  .footer__row > div {
    font-size: 16px;
  }
  .footer__row > div:nth-child(2) {
    margin-top: -36px;
  }
  .title {
    margin-bottom: 48px;
    font-size: 18px;
  }
  .title__img img {
    width: 200px;
  }
  /* .links {
    display: block;
  } */
  .links__item {
    /* width: 280px;
    height: 280px; */
    width: 40vw;
    height: 40vw;
    padding-top: 25px;
    border-radius: 14px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  .links__logo {
    height: 50px;
  }
  .links__arrow {
    width: 44px;
    height: 44px;
  }
  .popup-inner {
    max-width: 100%;
    padding: 70px 15px;
  }
  .popup-close {
    top: 15px;
    right: 15px;
  }
}
@media (max-width: 424px) {
  .links {
    display: block;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .links__item {
    width: 42vw;
    height: 42vw;
  }
  .links__item {
    width: 280px;
    height: 280px;
  }
  .footer__row > div {
    font-size: 14px;
  }
}
