@import url("./fonts.css");

:root {
  /* theme colors ;*/
  --text-gray: #3f4954;
  --text-light: #686666da;
  --bg-color: #0f0f0f;
  --white: #ffffff;
  --midnight: #104f55;

  /* gradiact colors ;*/
  --darkSky: linear-gradient(to right, #d7d2cc 0%, #304352 100%);
  --sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);

  /* theme font-family ;*/
  --Abel: "Abel", cursive;
  --Anton: "Anton", cursive;
  --Josefin: "Josefin", cursive;
  --Lexend: "Lexend", cursive;
  --Livvic: "Livvic", cursive;
}

/* global styles */
* {
  font-size: 1em;
}

a {
  text-decoration: none;
  color: var(--text-gray);
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

ul {
  list-style-type: none;
}

h1 {
  font-family: var(--Lexend);
  font-size: 2.5rem;
}

h2 {
  font-family: var(--Lexend);
}

h3 {
  font-family: var(--Abel);
  font-size: 1.3rem;
}

button.btn {
  border: none;
  border-radius: 2rem;
  padding: 1rem 3rem;
  font-family: var(--Livvic);
  cursor: pointer;
  text-align: center;
  font-size: 1.1rem;
  width: 10rem;
  font-weight: 600;
}

span {
  font-family: var(--Abel);
}

.blogContainer {
  margin: 0 5vw;
}

.text-gray {
  color: var(--text-gray);
}

p {
  font-family: var(--Lexend);
  color: var(--white);
}

hr {
  color: var(--white);
}

/* MAIN CONTENT */

/* MAIN CAROUSEL */
main .blog {
  background: url("./img/blog/Abract01.png");
  background-repeat: no-repeat;
  background-position: right;
  height: 100vh;
  width: 100%;
  background-size: 67%;
}

main .blog .blog-post {
  padding-top: 6rem;
}

main .blog-post .blog-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 80%;
  margin: 3rem 2rem;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

/* main .blog-content img {
    height: 35vh;
}  */

main .blog-content .blog-title {
  padding: 2rem 0;
  color: var(--white);
}

main .blog-content .btn-blog {
  padding: 0.7rem 1.3rem;
  background: var(--sky);
  margin: 0.5rem;
  width: 8rem;
}

main .blog-content span {
  display: block;
}

section .blogContainer .owl-nav {
  position: absolute;
  top: 0%;
  margin: 0 auto;
  width: 100%;
}

.owl-nav .owl-prev .owl-nav-prev,
.owl-nav .owl-next .owl-nav-next {
  color: var(--white);
  opacity: 0.9;
  background: transparent;
  font-size: 2rem;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: transparent;
  color: var(--midnight);
}

.owl-theme .owl-nav [class*="owl-"] {
  outline: none;
}

/* Site Title */

main .site-content {
  display: grid;
  grid-template-columns: 70% 30%;
}

main .post-content {
  width: 100%;
}

main .site-content .post-content > .post-image,
.post-title {
  padding: 1rem 2rem;
  position: relative;
}

main .site-content .post-content > .post-image .post-info {
  background: var(--sky);
  padding: 1rem;
  position: absolute;
  bottom: 0%;
  left: 20vw;
  border-radius: 3rem;
}

main .site-content .post-content > .post-image > div {
  overflow: hidden;
}

main .site-content .post-content > .post-image .img {
  width: 100%;
  transition: all 1s ease;
}

main .site-content .post-content > .post-image .img:hover {
  transform: scale(1.3);
}

main .site-content .post-content > .post-image .post-info span {
  margin: 0 0.5rem;
}
main .post-content .post-title a {
  font-family: var(--darkSky);
  font-size: 1rem;
  color: rgb(233, 233, 233);
  text-decoration: underline;
}
main .post-content .post-title a.post-titleClass {
  font-family: var(--Anton);
  font-size: 1.5rem;
  color: rgb(233, 233, 233);
}

/* Site Title */

/* Site Title */

main .site-title {
  background: url("./img/slide/1.jpg");
  background-size: cover;
  height: 110vh;
  display: flex;
  justify-content: center;
  margin-top: -0.4%;
  background-color: rgba(0, 0, 0, 0.5);
}

main .site-title .site-background {
  padding-top: 10rem;
  text-align: center;
  color: var(--white);
}

main .site-title h1,
h3 {
  margin: 0.3rem;
}

main .site-title .btn {
  margin: 1.8rem;
  background: var(--sky);
}

main .site-title .btn:hover {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.site-content .post-content .post-title .post-btn {
  border-radius: 0;
  padding: 0.7rem 1.5rem;
  background: var(--sky);
}

.site-content .pagination {
  justify-content: center;
  color: var(--white);
  margin: 4rem 0;
}

.site-content .pagination a {
  padding: 0.6rem 0.9rem;
  border-radius: 2rem;
  margin: 0 0.3rem;
  font-family: var(--Lexend);
}

.site-content .pagination .pages {
  background: var(--white);
  color: var(--text-gray);
}

/* Sidebar */
.category h2 {
  color: var(--white);
}

.site-content > .sidebar .category-list {
  font-family: var(--Livvic);
}

.site-content > .sidebar .category-list .list-items {
  background: var(--sky);
  padding: 0.4rem 1rem;
  margin: 0.8rem 0;
  border-radius: 3rem;
  width: 70%;
  display: flex;
  justify-content: space-between;
}

.site-content > .sidebar .category-list .list-items a {
  color: black;
}

.site-content .sidebar .featured-post .post-content {
  padding: 1rem 0;
}

.site-content .sidebar .featured-post h2 {
  padding-top: 8rem;
  color: rgb(241, 241, 241);
  text-align: center;
}

.site-content .sidebar .featured-post .post-info {
  padding: 0.4rem 0.1rem !important;
  bottom: 0rem !important;
  left: 1.5rem !important;
  border-radius: 0rem !important;
  background: var(--white) !important;
}

.site-content .sidebar .featured-post .post-title a {
  font-size: 1rem;
}

.site-content .sidebar .newsletter {
  padding-top: 3rem;
}

.site-content .sidebar .newsletter .form-element {
  padding: 0.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.site-content .sidebar .newsletter .input-element {
  width: 80%;
  height: 2.8rem;
  padding: 0.3rem 0.5rem;
  font-family: var(--Lexend);
  font-size: 1rem;
}

.site-content .sidebar .newsletter .form-btn {
  border-radius: 0;
  width: 80%;
  margin: 1rem 0rem;
  background: var(--sky);
}

.site-content .sidebar .featured-post .newsletter h2 {
  padding-top: 2.5rem;
}

/* footer */

.footerContainer {
  margin: 0 5vw;
}

footer.footerCustom {
  height: 100%;
  background: var(--bg-color);
  position: relative;
}

footer.footerCustom .footerContainer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}

footer.footerCustom .footerContainer > div {
  flex-grow: 1;
  flex-basis: 0;
  padding: 3rem 0.9rem;
}

footer.footerCustom .footerContainer .about-us h2 {
  color: var(--white);
  font-weight: 800;
}
footer.footerCustom .footerContainer .about-us span {
  color: var(--white);
}

footer.footerCustom .footerContainer .facebook h2 {
  color: var(--white);
  font-weight: 800;
}

footer.footerCustom .footerContainer .facebook i {
  color: var(--white);
}

footer.footerCustom .footerContainer .instagram h2 {
  color: var(--white);
  font-weight: 800;
}

footer.footerCustom .footerContainer .follow-us h2 {
  color: var(--white);
  font-weight: 800;
}

footer.footerCustom .footerContainer .work-with-us h2 {
  color: var(--white);
  font-weight: 800;
}

footer.footerCustom .work-with-us p {
  color: var(--white);
}

footer.footerCustom .footer-cta-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

footer.footerCustom .footer-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0d7a2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

footer.footerCustom .footer-cta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 215, 162, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

footer.footerCustom .instagram div > img {
  display: inline-block;
  width: 25%;
  height: 50%;
  margin: 0.3rem 0.4rem;
}
footer.footerCustom .instagram div {
  justify-content: center;
}

footer.footerCustom .follow-us div i {
  padding: 0 0.4rem;
  font-size: 1.4rem;
}

footer.footerCustom .follow-us div {
  padding-top: 1rem;
}

footer.footerCustom .move-up {
  position: absolute;
  right: 6%;
  top: 50%;
}

footer.footerCustom .move-up span {
  color: var(--midnight);
}

footer.footerCustom .move-up span i {
  font-size: 2.4rem;
}

footer.footerCustom .move-up span:hover {
  color: var(--white);
  cursor: pointer;
}
footer.footerCustom .fa-facebook {
  color: #4267b2;
}
footer.footerCustom .fa-facebook:hover {
  color: var(--white);
}
footer.footerCustom .fa-instagram {
  color: #8a3ab9;
}
footer.footerCustom .fa-instagram:hover {
  color: var(--white);
}
footer.footerCustom .fa-whatsapp {
  color: #25d366;
}
footer.footerCustom .fa-whatsapp:hover {
  color: var(--white);
}

@media only screen and (max-width: 1350px) {
  footer.footerCustom .footerContainer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1130px) {
  .site-content .post-content > .post-image .post-info {
    left: 2rem !important;
    bottom: 1.2rem !important;
    border-radius: 0% !important;
  }

  .site-content .sidebar .featured-post .post-info {
    display: none !important;
  }

  footer.footerCustom .footerContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 750px) {
  main .site-content {
    grid-template-columns: 100%;
  }

  footer.footerCustom .footerContainer {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 520px) {
  main .blog {
    height: 125vh;
  }
  .site-content .post-content > .post-image .post-info {
    display: none;
  }
  footer.footerCustom .footerContainer > div {
    padding: 1rem 0.9rem !important;
  }
}
@media only screen and (min-width: 850px) {
  .site-background h3 {
    margin-top: 14%;
  }
}

@media only screen and (max-width: 765px) {
  main .site-title {
    margin-top: -9.5%;
    background-position: center;
  }
}
@media only screen and (max-width: 670px) {
  main .site-title {
    margin-top: -10.7%;
  }
}
@media only screen and (max-width: 617px) {
  main .site-title {
    margin-top: -11.7%;
  }
}
@media only screen and (max-width: 550px) {
  main .site-title {
    margin-top: -13.2%;
  }
}
@media only screen and (max-width: 506px) {
  main .site-title {
    margin-top: -14.2%;
  }
}
@media only screen and (max-width: 470px) {
  main .site-title {
    margin-top: -15.2%;
  }
}
@media only screen and (max-width: 470px) {
  main .site-title {
    margin-top: -17.2%;
  }
}
@media only screen and (max-width: 375px) {
  main .site-title {
    margin-top: -19.7%;
  }
}
@media only screen and (max-width: 280px) {
  main .site-title {
    margin-top: -25.7%;
  }
}
