*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    outline-style: none;
}

html {
    font-size: 12px;
    color: #000;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root{
    --txtaccent: #f4efef;
    --txtaccent1: #9D9D9F;
    --textaccent2: #73757E;
    --textaccent3: #484848;
    --txtaccent4: #e8e8e8;
    --txtaccent5: #E5E5E5;
    --haccent: #225fae;
    --haccent_withOpacity: #225fae;;
    --haccent2: #225fae;;
    --bgaccent: #f8f8f9;
    --bgaccent_withOpacity: rgba(255, 255, 255);
}
.container{
    width: 60%;
    margin: 0px auto;
    padding: 0px;
}
/* SECTION ZERO = LANDING VIEW */
#logos{
    width: 280px;
    margin-left: 0px;
}

#sec-0 header.top {
    background-color: rgb(47, 47, 156);
    font-size: 0.85rem;
    color: rgb(3, 3, 3);
    padding-top: 0px;
}
#sec-0 header.top .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
#sec-0 header.top p {
    display: flex;
    width: 45%;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0px;
}
#sec-0 header.top p:nth-of-type(2) {
    justify-content: flex-end;
}
#sec-0 .top p::before{
    font-family: fontAwesome;
    display: inline-flex;
    width: 2em;
    justify-content: center;
    font-size: 1.2em;
}
#sec-0 .top p:first-of-type::before{
    content: "\f3cd";
}
#sec-0 .top p:nth-of-type(2)::before{
    content: "\f0e0";
}
#sec-0 .top p:last-of-type::before{
    content: "\f017";
}
#sec-0 .top .social {
    display: flex;
    width: 45%;
    justify-content: flex-end;
    gap: 5px;
}
#sec-0 .top .social a{
    font-size: 1.2rem;
    display: inline-block;
    padding: 5px 0px 5px 5px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}
#sec-0 .top .social a:hover{
    transform: scale(1.15);
}
#sec-0 .top .social a img{
    height: 1.2em;
    margin-top: -5px;
}
#sec-0 header:last-of-type{
    background-color: white;
    position: relative;
}
#sec-0 header:last-of-type .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0px;
    position: relative;
}
#sec-0 header:last-of-type h1{
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
    color: var(--haccent);
    padding: 0px;
    margin: 0px;
}
#sec-0 header:last-of-type h1>span{
    color:black;
}
#sec-0 header:last-of-type h1 p{
    font-size: 0.85rem;
    font-style: normal;
    color: rgb(17, 16, 16);
    margin: 0px;
}
#sec-0 header label{
    color: var(--haccent);
    font-size: 2rem;
}
#sec-0 header nav a {
    display: block;
    text-decoration: none;
    color: black;
    text-align: center;
    padding: 10px;
    transition: background-color 0.6s ease;
    border-bottom: solid 1px var(--txtaccent1);
}
#sec-0 header nav a:hover{
    background-color: var(--haccent_withOpacity);
    color: var(--txtaccent);
    background: #106C9DB2;
    border-radius: 15px;
}
#sec-0 header nav i {
    display: flex;
    text-decoration: none;
    color: var(--haccent);
    text-align: center;
    align-items: center;
    padding: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease-in-out;
    width: fit-content;
    margin: 0px auto;
}
#sec-0 header nav i:hover {
    transform: scale(1.3);
    cursor:pointer;
}
#sec-0 #searchBar {
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(rgba(0,0,0,0.9),rgba(0,0,0,0.9));
    /* backdrop-filter: blur(4px); */
    position: absolute;
    width: 100%;
    height: 110vh;
    top: 100%;
}
#sec-0 #searchBox {
    display: block;
    min-width: 45%;
    padding: 10px 15px;
    text-align: center;
    border-radius: 30px;
    border-style: none;
    transform: translateY(25px);
}
#sec-0 #searchBox:focus {
    box-shadow: inset 0px 0px 25px var(--haccent2);
}
.show{
    display: flex;
}
.hide{
    display: none;
}

#sec-0 header input {
    display: none;
}
#sec-0 input + nav {
    display: none;
    width: 100%;
}
#sec-0 input:checked + nav {
    display: block;
}
#sec-0 article{
    display: grid;
    align-items: center;
    text-align: center;
    /* padding: 10rem 0px; */
}

#sec-0 article h2{
    text-transform:capitalize;
    font-size: 1.85rem;
    color: white;
    line-height: 2em;
    margin-bottom: 7rem;
    font-weight: 700;
    margin-top: 15rem;
}
#blur {
    backdrop-filter: blur(3px); /* Blurs background */
    color: white; /* Set text color */
    font-size: 1.85rem; /* Set font size */
    line-height: 1em; /* Line height */
    margin: 0; /* Reset margin */
    text-transform: uppercase; /* Uppercase text */
}


#sec-0 article h2 span{
    color: var(--haccent);
}
#sec-0 article p{
    color: var(--txtaccent);
    margin-bottom: 3rem;
    padding-left: 4rem;
    padding-right: 4rem;
}
#sec-0 article a{
    color: rgb(226, 222, 222);
    background-color: #106C9DB2;
    display: inline-block;
    padding: 1px 5px 1px 5px;
    border: solid 1px black;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    padding: 10px 20px;
} 

#sec-0 article a:hover{
    background-color: var(--haccent2);
    color: var(--txtaccent);
}
/* SECTION ONE */
#sec-1 {
    background-color: white;
}
#sec-1 article{
    padding-top: 20px;
    text-align: center;
}
#sec-1 article h1{
    font-size: 1.85rem;
    color: var(--haccent);
    font-weight: 700;
    text-transform: uppercase;
}
#sec-1 article h2{
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--textaccent3);
}
#sec-1 article p{
    font-size: 0.85rem;
    text-align: justify;
    margin: 1.3rem 0px 1.1rem;
}
#sec-1 article a{
    color: var(--txtaccent);
    background-color: var(--haccent);
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
}
#sec-1 aside {
    width: 95%;
    margin: 25px auto 0px;
}
#sec-1 aside img{
    max-width: 100%;
}


.divider {
    border: 0;
    height: 10px;
    background: #000; /* Line color */
    margin: 20px 0; /* Adds space around the line */
    width: 100%; /* Ensures it spans the entire width */
}

/* SECTION SIX */
#sec-6{
    /* background: linear-gradient(rgba(0, 0, 0,0.9),rgba(0, 0, 0,0.9)), url(../Images/rascacielos-nueva-york.jpg) no-repeat center center/cover; */
    padding-top: 2rem;
    padding-bottom: 4rem;
    font-size: 0.8rem;
}
#sec-6 .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    row-gap: 15px;
    color: black;
}
#sec-6 h1{
    font-weight: 400;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}
#sec-6 .about h2{
    font-size: 1.3rem;
    font-weight: 800;
    font-style: italic;
    color: var(--haccent);
    padding-bottom: 5px;
    margin-bottom: 1rem;
}
#sec-6 .about h2 p{
    color: var(--txtaccent1);
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0px;
}
#sec-6 .about>p{
    margin-bottom: 1.5rem;
}
#sec-6 .about a{
    display: inline-flex;
    padding: 5px;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--bgaccent);
    justify-content: center;
    align-items: center;
    transition: background-color ease-in;
    margin-top: 5px;
    text-decoration: none;
}
#sec-6 .about i{
    vertical-align: baseline;
}
#sec-6 .contact p a {
    color: #000;
}
#sec-6 .about a:hover{
    background-color: var(--txtaccent5);
}
#sec-6 .links a{
    color: inherit;
    text-decoration: none;
    display: block;
}
#sec-6 .links a{
    position: relative;
    padding: 0.2em;
    padding-left: 25px;
}
#sec-6 .links a::before{
    content: '';
    position: absolute;
    border: 0.35em solid transparent;
    border-left-color: var(--txtaccent5);
    left: 0px;
    top: 0.8em;
}
#sec-6 .links a:hover{
    text-decoration: underline;
}
#sec-6 .posts a{
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 1.1em;
    transition: background-color 0.7s ease-out;
    margin-left: -5px;
}
#sec-6 .posts a:hover{
    background-color: var(--haccent_withOpacity);
    color: var(--txtaccent);
}
#sec-6 .posts a span{
    display: inline-flex;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    border: solid 2px var(--txtaccent5);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    margin-right: 10px;
}
#sec-6 .contact p{
    margin-bottom: 15px;
    display: flex;
    margin-left: -1em;
}
#sec-6 .contact p::before{
    font-family: fontAwesome;
    display: inline-flex;
    min-width: 2em;
    justify-content: center;
    font-size: 1.2em;
}
#sec-6 .contact p:first-of-type::before{
    content: "\f3c5";
}
#sec-6 .contact p:nth-of-type(2)::before{
    content: "\f0e0";
}
#sec-6 .contact p:last-of-type::before{
    content: "\f3cd";
}
/* SECTION SEVEN */
#sec-7 {
    background-color: var(--bgaccent);
    padding: 20px 0px 10px;
    text-align: center;
    font-size: 0.7rem;
}
#sec-7 p{
    color: var(--txtaccent5);
}
#sec-7 p span{
    color: var(--haccent);
}

/*MEDIA QUERRIES*/
/*Smart phones */
@media (min-width: 576px) {
    html{
        font-size: 13px;
    }
    .container {
        width: 520px;
    }
    #sec-0 header nav a {
        background-color: transparent;
    }
    #sec-0 input + nav {
        background-color: var(--bgaccent_withOpacity);
        position: absolute;
        top: 100%;
        right: 0%;
        width: 35%;
        border-bottom-left-radius: 10px;
    }
    #sec-0 #searchBox {
        transform: translateY(25px);
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html{
        font-size: 14px;
    }
    .container {
        width: 720px;
    }
    #sec-0 header.top {
        padding-top: 0px;
    }
    #sec-0{
        background-position: center center;
    }
    #sec-0 header.top .container {
        justify-content: flex-start;
    }
    #sec-0 header.top p {
        width: fit-content;
        margin-right: 10px;
    }
    #sec-0 .top .social {
        width: fit-content;
        flex-grow: 1;
    }
    #sec-0 header label{
        display: none;
    }
    #sec-0 header nav a {
        border-style: none;
    }
    #sec-0 input + nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: fit-content;
        position: static;
        border-radius: none;
        font-size: 0.8rem;
    }
    #sec-0 input:checked + nav {
        display: flex;
    }
    #sec-0 article{
        padding: 5rem 0px;
    }
    #sec-0 article h1{
        font-size: 2rem;
    }
    #sec-0 article h2{
        font-size: 3.5rem;
    }
    #sec-0 #searchBox {
        min-width: 35%;
    }
    #sec-1 .container{ 
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #sec-1 article{
        padding: 0px;
        text-align: left;
        width:51%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
    }
    #sec-1 article p{
        padding-right: 1rem;
    }
    #sec-1 aside {
        width: 48%;
        margin: 0px;
        text-align: right;
    }
    #sec-2{
        padding: 4rem 0px 2.5rem;
    }
    #sec-2 article{
        justify-content: space-between;
    }
    #sec-2 article figure{
        max-width: 40%;
    }
    #sec-2 article figure img{
        max-width: 55%;
    }
    #sec-3 {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    #sec-3 .cont{
        flex-direction: row;
    }
    #sec-3 .card{
        width: 48%;
    }
    #sec-3 .card:last-child{
        margin-left: auto;
        margin-right: auto;
    }
    #sec-4 .cont{
        width: 100%;
        margin: 0px;
    }
    #sec-4 aside img{
        margin-bottom: 15px;
        width: 48%;
    }
    #sec-5 h1+p{
        padding: 0px 6rem;
    }
    #sec-5 .cont{
        gap: 5vw;
    }
    #sec-5 article{
        width: 43%;
    }
    #sec-5 .contactUs form input+p{
        bottom: 4px;
    }
    #sec-6 .container{
        justify-content: space-between;
        row-gap: 25px;
    }
    #sec-6 .about{
        width: 65%;
    }
    #sec-6 .links{
        width: 20%;
    }
    #sec-6 .posts {
        width: 65%;
    }
    #sec-6 .contact {
        width: 20%;
    }
}
/* Standard PC screens */
@media (min-width: 1200px) {
    html{
        font-size: 15px;
    }
    .container {
        width: 1140px;
    }
    #sec-0 .top .social {
        gap: 10px ;
    }
    #sec-0 header:last-of-type .container{
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.65rem 0px;
        position: relative;    }
    #sec-0 header nav a {
        margin-right: 10px;
        font-size: 0.92rem;
    }
    #sec-0 article p{
        padding-left: 14rem;
        padding-right: 14rem;
    }
    #sec-1 article h1{
        font-size: 2.7rem;
    }
    #sec-1 article h2{
        font-size: 1.8rem;
    }
    #sec-2{
        background-position: center top;
    }
    #sec-2 article{
        justify-content: space-evenly;
    }
    #sec-2 article figure{
        max-width: 21%;
    }
    #sec-3 {
        padding-top: 70px;
        padding-bottom: 60px;
    }
    #sec-3 .card{
        width: 31%;
    }
    #sec-3 .card:last-child{
        margin-left: 0px;
        margin-right: 0px;
    }
    #sec-4 .cont{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }
    #sec-4 .cont>img{
        width: 50%;
        margin: 0px;
    }
    #sec-4 aside{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        width: 49%;
        gap: 10px;
    }
    #sec-4 aside img{
        width: 49%;
        margin: 0px;
    }
    #sec-5{
        background-position: right center;
    }
    #sec-5 .cont{
        justify-content: space-between;
        gap: 0px;
        padding-bottom: 25px;
    }
    #sec-5 article{
        width: 30%;
    }
    #sec-5 .contactUs>.container {
        display: flex;
        justify-content: space-between;
    }
    #sec-5 .contactUs aside{
        width: 45%;
        text-align: left;
    }
    #sec-5 .contactUs form {
        width: 45%;
        padding-top: 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #sec-5 .contactUs form input {
        margin-right: 15px;
    }
    #sec-5 .contactUs form input:not(input[type=submit]) {
        flex-grow: 1;
    }
    #sec-5 .contactUs form input+p{
        text-align: left;
    }
    #sec-6 .container{
        justify-content: space-between;
        row-gap: 25px;
    }
    #sec-6 .about{
        width: 30%;
    }
    #sec-6 .links{
        width: 15%;
    }
    #sec-6 .posts {
        width: 20%;
    }
    #sec-6 .contact {
        width: 18%;
    }
}
@media (min-width: 1400px) {
    html{
        font-size: 17px;
    }
    .container {
        width: 1340px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.wrapper {
    margin: 5em auto 0 auto;
    max-width: 800px;
}

h1 {
    font-size: 1.6em;
    text-align: center;
    padding: -1em;
    color: #3c605d;
}

img {
    max-width: 100%;
    display: block;
}

figure {
    margin-bottom: 1.8em;
    display: flex;
    justify-content: space-between;
}

/* Single image styling */
.post-image {
    flex: 1;
}

/* Double image row styling */
.post-image:nth-last-child(n+2):nth-last-child(-n+2):first-child,
.post-image:nth-last-child(n+2):nth-last-child(-n+2):first-child ~ .post-image {
    flex: 0 1 48%;
}

/* Triple image row styling */
.post-image:nth-last-child(n+3):nth-last-child(-n+3):first-child,
.post-image:nth-last-child(n+3):nth-last-child(-n+3):first-child ~ .post-image {
    flex: 0 1 31%;
}/* General Styling */
.post-image {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.post-image img {
    display: block;
    width: 100%;
}

/* Overlay */
.post-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Centered Caption Styling */
.post-image .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    color: #fff;
    font-size: 1.2em;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover Effects */
.post-image:hover::before {
    opacity: 1;
}

.post-image:hover .caption {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
