
:root {
    --dark-grey: #2b2b2b;
    --grey: #434343;
    --green: #ccf556;
    --orange: #ff9200;
    --pink: #ff2bad;
    --mustard: #f5b418;

    --real100vh: 100vh;
}

main {
    scroll-snap-type: y mandatory;
}

/* Hero */
.hero-container {
    background-image: url(/resources/images/Fondo\ onda.png);
    background-position: center;
    background-size: 100% 100%;
}

#hero {
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    scroll-snap-align: start;
}

#hero h1 {
    font-family: 'Anton';
    font-size: 6rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--dark-grey);
    padding: 0 20%;
}

#hero h1 span.h1-gradient {
    color: #ff2caf;
}

#hero .text-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
}

#hero .text-container p {
    font-size: 2rem;
    font-style: italic;
    font-weight: 700;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

#hero .text-container a {
    border-radius: 2rem;
    border: 1px solid var(--black);
    padding: 0.5rem 2rem;
    background-color: #ffffff;

    text-decoration: none;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0px 15px 10px -15px #111; 
    transition: transform 0.75s ease;   
}

#hero .text-container a:hover {
    transform: scale(1.07);
}

/* Mission */
#mission {
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    scroll-snap-align: start;
}

#mission .content {
    width: 80%;
}

#mission .title__our {
    font-size: 17rem;
    font-weight: 700;
    font-family: 'Anton';
    letter-spacing: 0.5rem;
    line-height: 18rem;
}

.mission-text {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0;
}

#mission h2 {
    font-size: 7rem;
    font-weight: 700;
    font-family: 'Anton';
    letter-spacing: 0.2rem;
    margin-bottom: 0;
}

#mission ul {
    padding-left: 40%;
}

#mission ul li {
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

#mission ul li::marker {
    color: var(--pink);
    font-size: 1.5rem;
}

h2.title__mission {
    color: var(--orange);
}

h2.title__core-values {
    color: var(--pink);
}

.mission-container {
    display: flex;
    align-items: center;
}

.book-consultation {
    text-decoration: none;
    text-transform: uppercase;
    color: #000000;
    background-color: var(--green);
    font-weight: 800;
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    margin-left: auto;
    margin-right: 7rem;
    margin: 1rem auto 0;
    box-shadow: 0px 15px 10px -15px #111;
    transition: all 0.5s ease;
}

.book-consultation:hover {
    background-color: #abe400;
}

/* Services */
#services {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18vh;
    overflow: hidden;
    
    scroll-snap-align: start;
}

#services .magenta-star__left {
    position: absolute;
    top: 7rem;
    left: 10rem;
    width: 17vw;
    opacity: 0.5;
}

#services .magenta-star__right {
    position: absolute;
    right: 7rem;
    top: 10rem;
    width: 17vw;
    opacity: 0.85;
}

#services > img {
    position: absolute;
    width: 20rem;
    top: 1.5rem;
    right: -7rem;
}

#services h2 {
    font-size: 5rem;
    text-transform: uppercase;
    font-family: 'Anton';
    color: var(--dark-grey);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    width: 80%;
    margin: 0 auto;
    margin-top: 3rem;
    position: absolute;
    bottom: 0;
}

.grid-item {
    padding-right: 1rem;
    text-align: end;
    margin-top: -0.75rem;
    padding-bottom: calc(32px - 1vw);
}

.grid-item:nth-child(2n) {
    border-left: 3px solid #000;
    padding-left: 1rem;
    text-align: start;
}

.grid-item  h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    margin-top: -0.25rem;
}

.grid-item  h3 a:hover {
    color: #ff6600;
}

.grid-item  h3 a {
    color: var(--orange);
    text-decoration: none;
}

.grid-item:nth-child(2n - 1) h3::after {
    content: '\2022';
    position: absolute;
    transform: translate(0.55rem, -1.5rem);
    font-size: 50px;
    color: #000;
}

.grid-item:nth-child(2n) h3::before {
    content: '\2022';
    position: absolute;
    transform: translate(-1.62rem, -1.5rem);
    font-size: 50px;
    color: #000;
}

.grid-item p {
    font-size: 1vw;
    font-weight: 500;
    margin-bottom: 0;
    color: #000;
}

/* Services Second Part */
#services-second-part {
    position: relative;
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    width: 100%;
    padding-top: 0rem;

    scroll-snap-align: start;
}

#services-second-part .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 0.6fr);
    grid-column-gap: 0px;
    width: 80%;
    margin: 0 auto;
    position: relative;
}

#services-second-part .grid-container .grid-item:first-of-type {
    padding-top: 6.9rem;
}

#services-second-part .grid-item:last-child {
    margin: 0;
    border-left: 3px solid #ffffff;
}

#services-second-part .banner {
    height: 40vh;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-image: url(/resources/images/office.jpg);
    background-size: cover;
    background-position: center;
}

/* Focus */
#focus {
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    width: 100%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    scroll-snap-align: start;
}

#focus img.green-star {
    position: absolute;
    bottom: -17rem;
    left: 18vw;
    transform: scale(1.11);
}

#focus img.green-star__upsidedown {
    position: absolute;
    top: 1.75rem;
    right: 10.5rem;
    transform: scale(1.11);
}

#focus .text-container {
    width: auto;
}

#focus h2 {
    font-family: 'Anton';
    font-size: 5.25rem;
    line-height: 5.25rem;
    text-transform: uppercase;
    color: var(--black);
}

#focus h2 span {
    display: block;
}

#focus .text-container {
    padding-left: 5.5vw;
}

#focus .text-container p {
    color: var(--black);
    font-size: 1.85rem;
    font-weight: 700;
    padding-top: 1.5rem;
}

#focus .text-container p span {
    border: 1px solid black;
    border-radius: 3rem;
    padding: 0.125rem 1.15rem;
    padding-top: 0;
    margin-left: 0.5rem;
}

#focus .text-container a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    border: 1px solid black;
    border-radius: 3rem;
    padding: 0.5rem 4rem;
    margin-top: 0.75rem;
    color: #212529;
    color: rgb(19 19 19);
    background-color: var(--green);
    box-shadow: 0px 15px 10px -15px #111;
    transition: all 0.7s ease;
}

#focus .text-container a:hover {
    transform: scale(1.07);
}

/* Contact Us */ 
#contact-us {
    height: 100vh;
    height: 100dvh;
    height: var(--real100vh);
    width: 100%;
    display: flex;
    padding-top: 20vh;
    position: relative;

    scroll-snap-align: start;
}

#contact-us .focus {
    position: relative;
    padding: 3rem 7rem;
}

#contact-us .focus .green-star {
    position: absolute;
    bottom: -35%;
    right: 15%;
    z-index: -1;
}

#contact-us .focus .green-star__horizontal {
    position: absolute;
    right: 30%;
    top: 2.5%;
    transform: scale(0.95);
}

#contact-us .focus h2 {
    font-family: 'Anton';
    font-size: 5.25rem;
    line-height: 5.25rem;
    text-transform: uppercase;
    color: var(--black);
}

#contact-us .focus p {
    color: var(--black);
    font-size: 1.85rem;
    font-weight: 700;
    padding-top: 1.5rem;
}

#contact-us .focus p span {
    border: 1px solid black;
    border-radius: 3rem;
    padding: 0.125rem 1.15rem;
    padding-top: 0;
    margin-left: 0.5rem;
    background-color: #ffffff;
}

#contact-us .focus a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    border: 1px solid black;
    border-radius: 3rem;
    padding: 0.5rem 4rem;
    margin-top: 0.75rem;
    color: #212529;
    color: rgb(19 19 19);
    background-color: var(--green);
    box-shadow: 0px 15px 10px -15px #111;
    transition: all 0.7s ease;
}

#contact-us .focus a:hover {
    transform: scale(1.07);
}

#contact-us form {
    width: 100%;
    padding-left: 0rem;
    padding-right: 4rem;
    position: relative;
}

#contact-us input:-webkit-autofill,
#contact-us input:-webkit-autofill:hover, 
#contact-us input:-webkit-autofill:focus, 
#contact-us input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--green) inset !important;
}

#contact-us form input, 
#contact-us form textarea {
    width: 100%;
    margin-bottom: 0.5rem;
    line-height: 2.2rem;
    background-color: var(--green);
    border: 0;
    padding-left: 1rem;
    border: 1px solid var(--dark-grey);
    border-radius: 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

#contact-us form textarea {
    border-radius: 1.5rem;
}

#contact-us form input::placeholder,
#contact-us form textarea::placeholder {
    color: #000000;
    font-weight: 700;
    font-size: 0.9rem;
}

#contact-us form button {
    position: absolute;
    bottom: 0;
    right: 4rem;
    padding: 0.5rem 0.7rem;
    border: 0;
    border-radius: 0.3rem;
    background-color: var(--black);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.7s ease;
    z-index: 1;
}

#contact-us form button:hover {
    color: var(--green);
}

#successMessage {
    padding: 3rem;
}

#successMessage h2 {
    font-family: 'Anton';
    font-size: 4rem;
    line-height: 4.5rem;
    text-transform: uppercase;
    color: var(--black);
    padding: 0 2rem;
}

#successMessage h3 {
    padding-top: 2rem;
}

#successMessage i {
    padding-top: 2rem;
    font-size: 3.5rem;
    color: var(--green);
}

/* Footer */
footer {
    scroll-snap-align: end;
    margin-top: 2rem;
}


/* Mobile and smaller screen devices */
@media screen and (max-width:1700px) {
    #contact-us .focus {
        padding: 3rem 2rem 3rem 6rem;
    }
}

@media screen and (max-width: 1700px) {
    #contact-us .focus {
        padding: 3rem 4rem;
    }

    #mission .content {
        width: 90%;
    }

    .mission-text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 1500px) {
    #contact-us .focus {
        padding: 2rem 1rem 3rem 4rem;
    }

    #contact-us .focus p {
        font-size: 1.65rem;
    }

    #contact-us .focus .green-star__horizontal {
        right: 20%;
        top: 0%;
    }

    #contact-us form input, 
    #contact-us form textarea {
        line-height: 2rem;
    }

    #mission .content {
        transform: scale(0.95);
    }
}

@media screen and (max-width: 1399px){
    #hero .text-container {
        transform: scale(0.75);
    }

    .grid-item {
        padding-bottom: calc(25px - 1vw);
    }

    .grid-item h3 {
        font-size: 1rem;
    }

    /* Our Mission */
    #mission {
        background-size: 40%;
    }

    #mission .title__our {
        font-size: 16rem;
        line-height: 17rem;
    }

    #mission .content {
        transform: scale(0.85);
        width: 95%;
    }

    #mission h2 {
        font-size: 6.5rem;
    }

    .mission-text {
        font-size: 1.5rem;
    }

    #services-second-part .grid-item:nth-child(2n) h3::after {
        transform: translate(-9.22rem, 7rem);
    }

    #description .title-container {
        transform: scale(0.75);
    }

    #advantages .title-container {
        transform: scale(0.85);
        margin-left: -2.5vw;
    }

    #advantages .items-container {
        transform: scale(0.85);
        margin-left: -3vw;
    }

    #focus img.green-star__upsidedown {
        top: 0;
        transform: scale(0.95);
        right: 13rem;    
    }

    #focus img.green-star {
        transform: scale(0.95);
        left: 19vw
    }

    #focus .text-container {
        padding-top: 10vh;
        transform: scale(0.85);
    }

    /* Form */
    #contact-us {
        padding-top: 17vh;
    }

    #contact-us .focus {
        transform: scale(0.9);
        padding: 3rem 1rem 3rem 6rem;
    }

    #contact-us .focus p {
        font-size: 1.25rem;
    }

    #contact-us .focus .green-star {
        right: 20%;
        transform: scale(0.85);
        bottom: -15.5rem;
    }

    #contact-us .focus .green-star__horizontal {
        right: 15%;
        transform: scale(0.85);
        top: 3%;
    }
}

@media screen and (max-width: 1200px) {
    .grid-item {
        padding-bottom: calc(23px - 1vw);
    }

    .hero-container {
        background-image: none;
    }

    #hero {
        background-image: url(/resources/images/Fondo-A-teamwork-.gif);
        background-position: center;
        background-size: cover;
    }

    /* Our Mission */
    #mission {
        background-image: url(/resources/images/our-mission-bg.png);
        background-position: bottom right;
        background-size: 45%;
        background-repeat: no-repeat;
    }

    #mission .content {
        transform: scale(1);
        width: 95%;
    }

    #mission h2 {
        font-size: 5rem;
    }

    #mission .title__our {
        font-size: 12rem;
        line-height: 15rem;
        margin-bottom: 0;
    }

    .mission-text {
        font-size: 1.25rem;
    }

    /* Focus */
    #contact-us .focus {
        padding: 3rem 1rem 3rem 3rem;
    }

    #focus img.green-star__upsidedown {
        right: 5rem;
    }

    #focus img.green-star {
        left: 10vw;
    }

    #contact-us .focus .green-star {
        right: 5%;
    }

    #contact-us .focus .green-star__horizontal {
        right: -5%;
    }

    #contact-us form button {
        bottom: -3rem;
    }

    #successMessage h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

@media screen and (max-width: 991px) {
    /* Hero */
    #hero h1 {
        font-size: 4.9rem;
        padding: 0;
    }

    #hero .text-container p {
        font-size: 1.65rem;
    }

    /* Our Services */
    #services .magenta-star__right {
        right: 2rem;
    }
    #services .magenta-star__left {
        left: 2rem;
    }

    #services-second-part .grid-item:nth-child(2n) h3::after {
        transform: translate(-9.22rem, 7.2rem);
    }

    /* Our Mission */
    #mission .content {
        width: 110%;
        transform: scale(0.85);
    }

    #mission .title__our {
        font-size: 9rem;
        line-height: 11rem;
    }

    #mission h2 {
        font-size: 4rem;
    }

    .mission-text {
        font-size: 1.25rem;
    }

    .book-consultation {
        font-size: 0.9rem;
    }

    /* Focus */
    #focus .text-container  {
        transform: scale(0.75);
        padding-left: 0;
    }

    #focus img.green-star__upsidedown {
        right: 2rem;
        transform: scale(0.8);
    }

    #focus img.green-star {
        transform: scale(0.8);
        left: 7vw;
        bottom: -14rem;
    }

    /* Form */
    #contact-us {
        flex-direction: column;
        padding-top: 12vh;
    }

    #contact-us h2 {
        text-transform: uppercase;
        text-align: center;
        font-size: 3rem;
        font-weight: 700;
        font-family: 'Anton';
        letter-spacing: 0.2rem;
        padding-bottom: 1rem;
    }

    #contact-us form {
        padding-left: 4rem;
    }

    #contact-us form button {
        bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    /* Our Mission */
    #mission {
        background-size: 55%;
    }

    #mission .content {
        width: 95%;
        transform: scale(1);
    }

    #mission .title__our {
        font-size: 7rem;
        line-height: 7rem;
    }

    #mission h2 {
        font-size: 3.5rem;
    }

    #mission ul {
        padding-left: 25%;
    }
    
    #mission ul li {
        font-size: 1rem;
    }

    .mission-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    #mission h2::before {
        content: "OUR \A";
        white-space: pre;
        color: var(--dark-grey);
        width: 100%;
    }

    .book-consultation {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 576px) {
    /* Hero */
    #hero .text-container {
        transform: scale(0.9);
        width: 100%;
        padding: 0;
    }

    #hero h1 {
        font-size: 3.7rem;
        padding: 0;
    }

    #hero .text-container p {
        font-size: 1.15rem;
    }

    #hero .text-container a {
        font-size: 0.9rem;
    }

    /* Our Services */
    #services {
        padding-top: 13vh;
    }

    #services h2 {
        font-size: 4rem;
    }

    #services .service-button {
        font-size: 0.98rem;
    }

    #services .grid-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }

    #services-second-part .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }

    #services .grid-item,
    #services-second-part .grid-item {
        border-left: 3px solid #000;
        padding-left: 1rem;
        text-align: start;
    }

    #services .grid-item h3::before,
    #services-second-part .grid-item h3::before {
        content: '\2022';
        position: absolute;
        transform: translate(-1.62rem, -1.5rem);
        font-size: 50px;
        color: #000;
    }

    #services .grid-item h3::after,
    #services-second-part .grid-item h3::after {
        content: none;
    } 
    
    #services-second-part .grid-item:nth-child(2n) h3::after {
        transform: translate(-9.22rem, 8rem);
        content: none;
    }

    #services-second-part .grid-container .grid-item:last-child h3.service-button::after {
        transform: translate(-1.62rem, calc(-1.5rem + 1px));
    }

    .grid-item p {
        font-size: 0.65rem;
    }

    /* Our Mission */
    #mission {
        background-size: 90%;
    }

    #mission .title__our {
        display: inline-block;
        width: 100%;
        font-size: 5.5rem;
        line-height: 5.5rem;
    }

    #mission .content {
        padding-top: 2rem;
    }

    #mission .content > div:first-of-type {
        flex-direction: column;
    }

    #mission ul {
        padding-left: 25%;
    }

    .mission-text {
        font-size: 1.15rem;
    }

    .book-consultation {
        margin: 1rem auto 0;
    }

    /* Focus */
    #focus .text-container  {
        transform: scale(0.85);
        padding-left: 0;
    }

    #focus .text-container p {
        font-size: 1rem;
    }

    #focus img.green-star__upsidedown {
        top: 0;
        right: 0;
        height: 65vh;
        transform: scale(1);
    }

    /* Form */
    #contact-us form {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #contact-us form button {
        right: 20%;
        bottom: -3rem;
    }

    #successMessage {
        padding: 3rem 1rem 0 1rem;
    }

    #successMessage h2 {
        font-size: 2.5rem;
        line-height: 3rem;
        padding: 0 1rem
    }
}
