/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Space+Grotesk:wght@300..700&display=swap');

/* Variables */
:root {
    --celeste: #0090CC;
    --blanco: #F4F4F4;
    --negro: #181818;
    --gris: #27272A;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* Utility Classes */
.flex { display: flex;}
.flex-center { justify-content: center; }
.flex-column { flex-direction: column; }
.flex-space-between { justify-content: space-between; align-items: center; }
.text-center { text-align: center; }

/* Body */
body {
    background-color: var(--blanco);
    width: 100%;
}

/* Header & Navigation */
header {
    margin-top: 1.5rem;
    width: 100%;
}

nav {
    height: 2.5rem;
    padding: 0 1rem;
}

/* Main */
main {
    gap: 4rem;
}

/* Typography */
h1, h2, h3, h4, p, button {
    font-optical-sizing: auto;
    font-style: normal;
}

h1, h2, h3, h4 {
    font-family: "Space Grotesk", serif;
    color: var(--negro);
}

h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.75rem; margin: 12rem 0 1.25rem; }
h2 { font-size: 1.25rem; font-weight: 500; line-height: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 400; line-height: 1.5rem; }

p {
    font-family: "Manrope", serif;
    font-size: 0.625rem;
    color: var(--gris);
    font-weight: 400;
    line-height: 0.875rem;
}

/* Buttons */
button {
    gap: 0.25rem;
    padding: 0.25rem 1rem;
    font-family: "Space Grotesk", serif;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease-in-out;
}

.primary-button {
    color: var(--negro);
    background-color: var(--celeste);
    border: none;
}

.primary-button:hover {
    outline: 0.5px solid var(--blanco);
    box-shadow: 0 0 0.5rem var(--celeste);
    font-weight: 500;
}

.primary-button:active {
    box-shadow: inset 0 0 0.5rem var(--negro);
}   

.tertiary-button {
    color: var(--gris);
    background-color: transparent;
    border: 1px solid var(--gris);
}

.tertiary-button:hover {
    color: var(--celeste);
    border: 1px solid var(--celeste);
    box-shadow: 0 0 0.25rem var(--celeste), /* Drop shadow */
    inset 0 0 0.5rem var(--celeste); /* Inner shadow */
    font-weight: 500;
}

.tertiary-button:active {
    box-shadow: inset 0 0 1px var(--celeste);
}

/* Logos */
.logos {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logos:hover .logos-slide { animation-play-state: paused; }

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img, .article-inmobiliarias img { height: 2rem; }
.logos-slide img { margin: 0 .75rem; }
.logo-zona { height: 100%; }

/* Hero Section */
.section-hero { position: relative; gap: 12rem; }

#hero-social-media svg path { transition: fill 0.3s ease-in-out; }
#hero-social-media a:hover svg path { fill: var(--gris); }

#hero-button {
    margin-bottom: 0.5rem;
}

#hero-social-media {
    height: 1.25rem;
    gap: 0.5rem;
}

#hero-social-media a, #hero-social-media a img, #hero-social-media svg {
    height: 100%;
}

.hero-slide {
    gap: 0.5rem;
}

/* Revista & Redes Sections */
.section-revista, .section-redes, .section-inmobiliarias { gap: 1rem; margin: 0 1rem; }

#revista {
    border: none;
    width: 100%;
    height: 25rem;
    background-color: none;
}

.article-revista {
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--gris);
    border-radius: 0.875rem;
    align-items: center;
}

.article-inmobiliarias { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; justify-content: center; }
.article-redes a, .article-redes a div { display: flex;}
.article-redes a { gap: 0.75rem; }
.article-inmobiliarias div { align-items: center; }
.article-redes div, .article-inmobiliarias div { gap: 0.25rem; }
.article-redes svg { height: 1rem; }
.article-redes:hover svg path { fill: var(--gris); }
.article-redes:hover p { font-weight: 700; }
.article-redes p { font-size: 0.75rem; line-height: 1rem; }

/* Footer */
footer {
    padding: 1rem;
    margin-top: 3rem;
    background-color: var(--celeste);
}

footer section {
    justify-content: space-between;
    margin: 0.75rem 0 1rem;
}

footer p { font-weight: 300; }
footer section p { font-size: 0.75rem; line-height: 1rem; }
#footer-p-tittle { font-size: 0.875rem; line-height: 1.125rem; }
#footer-social-media p { text-align: right; }
footer img { height: 2rem; margin-bottom: 2px; }
#footer-copyright { font-size: 0.5rem; line-height: 0.125rem; }

/* Material Symbols */
.material-symbols-rounded {
    font-size: 1rem;
    color: var(--gris);
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24
}
  
button:hover .material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

/* Background Glassmorphism */
#background-glassmorphism {
    width: 200%;
    height: 144%;
    border-radius: 50%;
    background: linear-gradient(312deg, #31A4D4 -1.43%, #F4F4F4 30.93%);
    box-shadow: -6rem 10.25rem 15.625rem 0 #31A4D4;
    filter: blur(1px);
    backdrop-filter: blur(12.5px);
    position: absolute;
    top: -60%;
    right: 1rem;
    z-index: -2;
}

/* Animations */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.slide-in-blurred-top {animation:slide-in-blurred-top .6s cubic-bezier(.23,1.000,.32,1.000) both }
@keyframes slide-in-blurred-top { 0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0;filter:blur(40px);opacity:0}100%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1} }

.scale-in-center { animation:scale-in-center .5s cubic-bezier(.25,.46,.45,.94) both }
@keyframes scale-in-center { 0%{transform:scale(0);opacity:1}100%{transform:scale(1);opacity:1} }

.slide-in-bottom { animation:slide-in-bottom .5s cubic-bezier(.25,.46,.45,.94) both }
@keyframes slide-in-bottom { 0%{transform:translateY(1000px);opacity:0}100%{transform:translateY(0);opacity:1} }

@media (min-width: 743px) {
    /* Header & Navigation */
    header { margin-top: 2rem; }
    nav { height: 3rem; padding: 0 4rem; }

    /* Main */
    main { gap: 6rem; }

    /* Typography */
    h1 { font-size: 3rem; line-height: 3.75rem; margin: 14.5rem 0 1.5rem; }
    h2 { font-size: 2rem; line-height: 2.25rem; }
    h3 { font-size: 2rem; line-height: 2.25rem; }
    h4 { font-size: 1.75rem; line-height: 2rem; }
    p { font-size: 0.75rem; line-height: 1rem; }

    /* Buttons */
    button {
        padding: 0.25rem 1.25rem;
        font-size: 1rem;
        line-height: 1.25;
    }

    /* Logos */
    .logos-slide img, .article-inmobiliarias img { height: 2.25rem; }
    .logos-slide img { margin: 0 1rem; }

    /* Hero Section */
    .section-hero { gap: 14.5rem; }
    #hero-button { margin-bottom: 0.75rem; }
    #hero-social-media { height: 1.5rem; gap: 0.75rem; }

    /* Revista & Redes Sections */
    .section-revista, .section-redes, .section-inmobiliarias { gap: 1.25rem; margin: 0 4rem; }
    .article-revista { padding: 1.5rem 6rem; border-radius: 1rem; }
    .article-inmobiliarias {grid-template-columns: repeat(3, 1fr); gap: 1rem;}
    
    #revista { height: 36.25rem; }
    .article-redes svg { height: 1.25rem; }
    .article-redes p { font-size: 1rem; line-height: 1.25; }

    /* Footer */
    footer { padding: 1.25rem 4rem; margin-top: 4rem; }
    footer section { margin: 1rem 0 1.75rem; }
    footer section p { font-size: 0.875rem; line-height: 1.125rem; }
    #footer-p-tittle { font-size: 1.25rem; line-height: 1.5rem; }
    footer img { height: 2.5rem; margin-bottom: 0.25rem; }
    #footer-copyright { font-size: 0.625rem; line-height: 0.875rem; }

    /* Material Symbols */
    .material-symbols-rounded { font-size: 1.25rem; }

    /* Background Glassmorphism */
    #background-glassmorphism { height: 180%; top: -90%; }
}

@media (min-width: 1439px) {
    /* Header & Navigation */
    header { margin-top: 2.5rem; }
    nav { height: 4rem; padding: 0 10rem; }

    /* Typography */
    h1 { font-size: 3.5rem; line-height: 4.5rem; margin: 15rem 0 2rem; }
    h2 { font-size: 2.5rem; line-height: 2.75rem; }
    h3 { font-size: 2.5rem; line-height: 2.75rem; margin-bottom: 1rem; }
    h4 { font-size: 2.25rem; line-height: 2.5rem; }
    p { font-size: 0.875rem; line-height: 1.125rem; }

    /* Buttons */
    button {
        padding: 0.25rem 1.5rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
        border-radius: 0.25rem;
    }

    /* Logos */
    .logos-slide img, .article-inmobiliarias img { height: 2.75rem; }
    .logos-slide img { margin: 0 1.25rem; }

    /* Hero Section */
    .section-hero { gap: 15rem; }
    #hero-button { margin-bottom: 1rem; }
    #hero-social-media { height: 1.75rem; }
    .hero-slide { gap: 0.75rem; }

    /* Revista & Redes Sections */
    .section-revista, .section-redes, .section-inmobiliarias { gap: 1.75rem; margin: 0 10rem; }
    .article-revista {
        gap: 1.75rem;
        padding: 2rem 22rem;
        border-radius: 1.125rem;
    }
    
    .article-inmobiliarias {grid-template-columns: repeat(4, 1fr); gap: 2rem;}
    .article-redes a { gap: 1rem; }
    .article-redes div, .article-inmobiliarias div { gap: 0.5rem; }

    /* Footer */
    footer { padding: 1.5rem 10rem; margin-top: 5rem; }
    footer section { margin: 1.25rem 0 1.75rem; }
    footer section p { font-size: 1.125rem; line-height: 1.375rem; }
    #footer-p-tittle { font-size: 1.5rem; line-height: 1.75rem; }
    footer img { height: 3.5rem; margin-bottom: 0.5rem; }
    #footer-copyright { font-size: 0.75rem; line-height: 1rem; }

    /* Material Symbols */
    .material-symbols-rounded { font-size: 1.5rem; }

    /* Background Glassmorphism */
    #background-glassmorphism { height: 260%; top: -172%; }
}

@media (min-width: 1919px) {
    /* Header & Navigation */
    header { margin-top: 3rem; }
    nav { height: 5rem; padding: 0 12rem; }

    /* Main */
    main { gap: 8rem; }

    /* Typography */
    h1 { font-size: 5rem; line-height: 6.375rem; margin: 15.5rem 0 2rem; }
    h2 { font-size: 3.75rem; line-height: 4rem; }
    h3 { font-size: 3.75rem; line-height: 4rem; }
    h4 { font-size: 3.5rem; line-height: 3.75rem; }
    p { font-size: 1rem; line-height: 1.25rem; }

    /* Buttons */
    button {
        gap: 0.5rem;
        padding: 0.5rem 2rem;
        font-size: 1.75rem;
        line-height: 2rem;
        border-radius: 0.5rem;
    }

    /* Logos */
    .logos-slide img, .article-inmobiliarias img { height: 3rem; }
    .logos-slide img { margin: 0 1.5rem; }

    /* Hero Section */
    .section-hero { gap: 15.5rem; }
    #hero-button { margin-bottom: 1.25rem; }
    #hero-social-media { height: 2rem; gap: 1rem; }

    /* Revista & Redes Sections */
    .section-revista, .section-redes, .section-inmobiliarias { gap: 2rem; margin: 0 12rem; }
    .article-revista { padding: 2rem 28rem; border-radius: 1.25rem; }
    #revista { height: 55rem; }
    .article-inmobiliarias {grid-template-columns: repeat(4, 1fr); gap: 4rem;}
    .article-redes svg { height: 1.5rem; }
    .article-redes p { font-size: 1.25rem; line-height: 1.5rem; }
    
    /* Footer */
    footer { padding: 2rem 12rem; margin-top: 6rem; }
    footer section { margin: 1.5rem 0 2rem; }
    footer section p { font-size: 1.25rem; line-height: 2rem; }
    #footer-p-tittle { font-size: 1.625rem; line-height: 1.875; }
    footer img { height: 4rem; }

    /* Material Symbols */
    .material-symbols-rounded { font-size: 2rem; }

    /* Background Glassmorphism */
    #background-glassmorphism { height: 280%; top: -190%; }
}