/* Colors */
html {
  /* Set base font size to 10px for easier rem calculations */
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
  font-size: 1.6rem;
  font-family: Rubik, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li {
  margin: 0;
  padding: 0;
}

ol {
  margin: 0;
  padding: 0;
}

p {
  padding: 0;
  margin: 0px 0px 5px 0px;
  margin: 0rem 0rem 0.5rem 0rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0px 0px 10px 0px;
  margin: 0rem 0rem 1rem 0rem;
  font-weight: normal;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

button {
  cursor: pointer;
  text-decoration: none;
}

/* cyrillic-ext */
@font-face {
  font-family: "Moderustic";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/moderustic/v1/2-c39J9s3o6eLFNHFdXYaOX1UUnf3GLnYjALsQNU7Zehaw.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Moderustic";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/moderustic/v1/2-c39J9s3o6eLFNHFdXYaOX1UUnf3GLnYjALsQNd7Zehaw.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: "Moderustic";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/moderustic/v1/2-c39J9s3o6eLFNHFdXYaOX1UUnf3GLnYjALsQNa7Zehaw.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: "Moderustic";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/moderustic/v1/2-c39J9s3o6eLFNHFdXYaOX1UUnf3GLnYjALsQNX7Zehaw.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Moderustic";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/moderustic/v1/2-c39J9s3o6eLFNHFdXYaOX1UUnf3GLnYjALsQNZ7Zc.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #EFEEEE;
  width: 100vw;
  height: 10rem;
  text-align: center;
  z-index: 1000;
}

.logo-center {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 0;
  margin-top: 10px;
  z-index: 1001;
}

.nav-logo {
  position: relative;
  display: block;
  width: 10rem;
  height: 10rem;
  border-radius: 60%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  z-index: 1002;
  transition: box-shadow 0.3s ease-in-out;
}
.nav-logo:hover {
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.header-nav {
  position: fixed;
  display: block;
  justify-content: center;
  width: 100vw;
  height: 10rem;
  align-items: center;
  font-size: medium;
  top: 0 !important;
  z-index: 1000;
}
.header-nav ul {
  display: flex;
  justify-content: space-around;
}
.header-nav ul li {
  list-style: none;
  margin: 1% 0;
}
.header-nav a {
  text-decoration: none;
  color: black;
  transition: 0.2s ease-in-out;
  vertical-align: middle;
  font-size: 2rem;
  text-wrap: nowrap;
}
.header-nav a:hover {
  color: #F26627;
}
.header-nav ion-icon {
  font-size: 2rem;
  vertical-align: middle;
}

.right-nav {
  border-radius: 800px;
  padding: 0.5rem 0;
  width: 30vw;
  margin-left: 5%;
  z-index: inherit;
  border: 1px solid black;
  backdrop-filter: blur(5px);
  background-color: rgba(239, 238, 238, 0.8);
}

.left-nav {
  border-radius: 800px;
  padding: 0.5rem 0;
  width: 30vw;
  margin-right: 5%;
  z-index: inherit;
  border: 1px solid black;
  backdrop-filter: blur(5px);
  background-color: rgba(239, 238, 238, 0.8);
}

.logos {
  display: flex;
  position: absolute;
  top: 0;
  justify-content: space-between;
  height: 10rem;
}
.logos a {
  color: #EFEEEE;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  padding-left: 1rem;
  height: 2.5rem;
  margin-top: auto;
  margin-bottom: auto;
}
.logos a:hover {
  color: #F26627;
}
.logos ion-icon {
  color: black;
  font-size: 2.5rem;
}

.logo-nav-small {
  display: flex;
  position: absolute;
  top: 0;
  justify-content: space-between;
  height: 10rem;
  left: 5%;
  z-index: 1011;
}
.logo-nav-small a {
  color: #EFEEEE;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  padding-left: 1rem;
  height: 2.5rem;
  margin-top: auto;
  margin-bottom: auto;
}
.logo-nav-small a:hover {
  color: #F26627;
}
.logo-nav-small ion-icon {
  color: black;
  font-size: 2.5rem;
}

.logos-socials {
  display: flex;
  position: absolute;
  top: 0;
  justify-content: space-between;
  height: 10rem;
  right: 5%;
  z-index: 1001;
}
.logos-socials a {
  color: #EFEEEE;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  padding-left: 1rem;
  height: 2.5rem;
  margin-top: auto;
  margin-bottom: auto;
}
.logos-socials a:hover {
  color: #F26627;
}
.logos-socials ion-icon {
  color: black;
  font-size: 2.5rem;
}

.menu-small {
  visibility: hidden;
  width: 100vw;
  height: 100vh;
  background-color: #EFEEEE;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1010;
}
.menu-small ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  vertical-align: middle;
}
.menu-small ul li {
  list-style: none;
  margin: 1rem;
}
.menu-small a {
  text-decoration: none;
  color: black;
  transition: 0.2s ease-in-out;
  font-size: 2rem;
  margin: 1rem;
}
.menu-small a:hover {
  color: #F26627;
}

@media (min-width: 320px) {
  .header-nav {
    display: none;
  }
}
@media (min-width: 1025px) {
  .header-nav {
    display: flex;
  }
  .logo-nav-small {
    visibility: hidden;
  }
}
.footer {
  position: relative;
  color: #fff;
}
.footer .top-footer {
  display: flex;
  justify-content: space-around;
  background-color: #325d79;
  padding: 2em 0;
}
.footer h2 {
  margin-top: 1em;
  font-size: 3rem;
}
.footer ul {
  list-style-type: none;
  padding-left: 5px;
}
.footer ul li {
  padding: 5px 5px;
  font-size: 1.8rem;
}
.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover {
  color: #F26627;
}
.footer .about {
  flex-grow: 1;
}
.footer .about p {
  margin-top: 1.2em;
  font-size: 1.5rem;
}
.footer .useful-links {
  flex-grow: 2;
}
.footer .contact {
  flex-grow: 2;
}
.footer ion-icon {
  padding-right: 10px;
  width: 20px;
  height: 20px;
  color: white;
  vertical-align: middle;
}
.footer .copyright {
  display: flex;
  justify-content: space-around;
  background-color: #26516e;
}
.footer .copyright p {
  font-size: 1rem;
  margin: 10px 0;
}

@media (min-width: 320px) {
  .top-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .about, .useful-links, .contact {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .about ul, .about p, .useful-links ul, .useful-links p, .contact ul, .contact p {
    margin-left: 10%;
  }
}
@media (min-width: 1024px) {
  .top-footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-right: auto;
  }
  .about, .useful-links, .contact {
    width: 100%;
    padding: 0 5%;
  }
  .about ul, .about p, .useful-links ul, .useful-links p, .contact ul, .contact p {
    margin-left: 10%;
  }
}
.card {
  background-color: #325d79;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.card .card-img {
  width: 85%;
  height: auto;
  margin-top: 2%;
}
.card .round {
  position: absolute;
  top: -30px;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #F26627;
  display: flex;
}
.card .round ion-icon {
  width: 50px;
  height: 50px;
  color: white;
  vertical-align: middle;
  margin-right: auto;
  margin-left: auto;
}
.card h2 {
  margin-top: 50px;
  color: #EFEEEE;
  font-style: bold;
  text-align: center;
  font-size: 2.5rem;
}
.card p {
  color: #fff;
  width: 100%;
  margin-top: 10px;
  font-size: 1.8rem;
  text-align: justify;
}

.clickable {
  cursor: pointer;
  transition: 0.3s;
}
.clickable:hover {
  box-shadow: 3px 3px 15px 3px rgba(0, 0, 0, 0.2);
}

.btn-orange {
  text-decoration: none;
  color: #EFEEEE;
  padding: 12px 30px;
  position: relative;
  margin-top: 2%;
  background-color: #F26627;
  border-color: #F26627;
  border-radius: 5px;
  transition: all 0.3s ease 0s;
  font-size: 2rem;
}
.btn-orange:hover {
  color: #000;
  transform: translateY(-3px);
  background-color: #F9A26C;
  box-shadow: 0px 5px 10px #F26627;
}

.btn-orange-rounded {
  text-decoration: none;
  box-sizing: border-box;
  margin-top: 2em;
  font-size: 1.5rem;
  padding: 10px 20px;
  color: #EFEEEE;
  background-color: #F26627;
  border-radius: 20px;
  transition: 0.4s;
}
.btn-orange-rounded:hover {
  background-color: #F9A26C;
}

.btn-orange-small {
  padding: 2%;
  margin: 1%;
  background-color: #F26627;
  border: none;
  border-radius: 10px;
  transition: 0.4s;
}
.btn-orange-small:hover {
  background-color: #F9A26C;
}

.btn-blue {
  text-decoration: none;
  font-size: 1.8rem;
  padding: 0.3% 1%;
  margin: 1%;
  background-color: #325d79;
  color: #EFEEEE;
  border-radius: 5px;
  width: auto;
  transition: 0.4s;
}
.btn-blue:hover {
  background-color: #F9A26C;
}

.page-header-content .search-box {
  padding: 0px 2%;
  width: 50%;
}
.page-header-content form {
  margin-top: 3%;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0% 5%;
  box-sizing: border-box;
}
.page-header-content input {
  padding: 10px;
  font-size: 24px;
  font-size: 2.4rem;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: 1px solid black;
  width: 100%;
}
.page-header-content button {
  font-size: 16px;
  font-size: 1.6rem;
  border: none;
  text-decoration: none;
  color: #EFEEEE;
  padding: 10px 16px;
  background-color: #F26627;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 0.4s;
}
.page-header-content button:hover {
  background-color: #F9A26C;
}

.button-box {
  text-align: center;
}

.card-latest {
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 3px 3px 15px 3px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.card-latest:hover {
  box-shadow: 3px 3px 15px 3px rgba(0, 0, 0, 0.5);
}
.card-latest img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
.card-latest h3 {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 30px;
  line-height: 3rem;
  text-align: center;
  padding-top: 30px;
  width: 100%;
  font-weight: bold;
}
.card-latest p {
  height: 100%;
}

.article-author, .article-tags {
  font-size: 12px;
  font-size: 1.2rem;
  width: auto;
}

.article-caption {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
}

.article-desc {
  font-size: 16px;
  font-size: 1.6rem;
  padding: 2% 5%;
  text-align: justify;
}

.featured {
  display: flex;
  width: 100vw;
  padding: 3% 5%;
  box-sizing: border-box;
}
.featured .card-important {
  display: flex;
  padding: 2%;
  box-sizing: border-box;
  flex-direction: column;
  background-color: #325d79;
  border-radius: 10px;
  box-shadow: 3px 3px 15px 3px rgba(0, 0, 0, 0.2);
  color: #EFEEEE;
  transition: 0.3s;
}
.featured .card-important:hover {
  box-shadow: 3px 3px 15px 3px rgba(0, 0, 0, 0.5);
}
.featured .card-important img {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
.featured .card-important h3 {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 30px;
  line-height: 3rem;
  width: 100%;
  padding-top: 30px;
  text-align: center;
  box-sizing: border-box;
  font-weight: bold;
}
.featured .card-important p {
  height: auto;
  margin-top: auto;
  margin-bottom: auto;
}
.featured .article-head {
  display: flex;
}
.featured .famous-content {
  width: 80%;
  align-items: center;
}

.categories {
  background-color: #EFEEEE;
  height: 100%;
  padding: 2% 5%;
}
.categories h2 {
  font-size: 30px;
  font-size: 3rem;
  text-align: center;
}
.categories .tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.categories p {
  margin: 0;
}

.star-icon {
  position: relative;
}
.star-icon ion-icon {
  position: absolute;
  align-items: center;
  border-radius: 50%;
  background-color: #F26627;
  width: 50px;
  height: 50px;
  padding: 10px;
  color: white;
  top: -15px;
  left: -15px;
}

.category {
  padding: 2% 5%;
}
.category h2 {
  font-weight: bolder;
}
.category .category-cards {
  display: flex;
  overflow-x: scroll;
  scrollbar-width: none;
}
.category .card-latest {
  margin-right: 50px;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (min-width: 320px) {
  .featured {
    flex-direction: column;
  }
  .card-important {
    width: 100%;
  }
  .card-latest {
    min-width: 100%;
    margin-top: 5%;
    box-sizing: border-box;
  }
}
@media (min-width: 1025px) {
  .featured {
    justify-content: space-between;
    flex-direction: row;
  }
  .card-important {
    width: 60%;
  }
  .card-latest {
    min-width: 450px;
    width: 35%;
    margin-top: 0;
  }
}
