/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/***********************************************************************************************************************************************/
/********************A wizard is never late, Frodo Baggins. Nor is he early. He arrives precisely when he means*********************************/
/***********************************************************************************************************************************************/


/*******************************************************************************************************************/
/*				  													                                       GENERIC*/
/******************************************************************************************************************/

body {
    background-image: url('../images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow-x: hidden;
}

body::before {
    background-image: url('../images/START-PAGE-FOTOS.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.inside-article {
    background-color: transparent !important;
}

/************************************************************/
/*RESPONSIVE*/
/************************************************************/
@media(max-width: 1680px) {}

@media(max-width: 1440px) {}

@media(max-width: 1366px) {}

@media(max-width: 1280px) {
    body::before {
        background-size: contain;
        background-position: center top;
    }
}

@media(max-width: 1040px) {
    body {
        overflow-y: auto;
    }
}

@media(max-width: 912px) {}

@media(max-width: 820px) {}

@media(max-width: 768px) {}

@media(max-width: 480px) {
    body::before {
        background-image: url('../images/START-PAGE-MOBILE-PICTURES.png');
        background-size: 100% 100%;
        background-position: center top;
        position: absolute;
    }
}

@media(max-width: 394px) {}

@media(orientation: landscape) and (max-height: 500px) {
    body {
        overflow-y: auto;
    }

    body::before {
        background-size: cover;
        background-position: center center;
    }
}

/****************************************************************************/
/*				  								                      COLORS*/
/****************************************************************************/

:root {
    --white: #ffffff;
    --black: #000000;
    --color1: #6597E9;
}


/*******************************************************************************************************************/
/*				  													                                        HEADER*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                     GENERIC*/
/****************************************************************************/

.site-header {
    display: none;
}

/*******************************************************************************************************************/
/*				  													                                          HOME*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                   SECTION 1*/
/****************************************************************************/

/* Scale of the body::before background (1920x1080): cover = max(), contain = min().
   Its transparent centre gap is 837px wide in the source image; the grid uses 740px of it.
   The inner photos (rows 318-628) are centred 67px above the image centre; the desktop
   inner-container is shifted up by the same amount so the grid lines up with them. */
.home-section1 {
    --bg-scale: max(100vw / 1920, 100vh / 1080);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
}

.home-section1 .inner-container {
    position: relative;
    top: calc(-67 * var(--bg-scale));
}

.home-section1 .inner-container>img {
    background-color: var(--white);
    display: block;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
}

.home-section1 .inner-container h2 {
    color: var(--black);
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    position: absolute;
    top: 280px;
    left: 50%;
    width: 100%;
    transform: translate(-50%, calc(-100% - 35px));
}

.home-section1 .inner-container .grid-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 280px;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(740 * var(--bg-scale));
}

.home-section1 .inner-container .grid-wrapper>a {
    position: relative;
    overflow: hidden;
    width: calc(50% - 5px);
}

.home-section1 .inner-container .grid-wrapper>a img {
    border-radius: 24px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
    display: block;
    margin-bottom: 0px;
    width: 100%;
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.home-section1 .inner-container .grid-wrapper>a:hover img {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
}

.home-section1 .inner-container .contact-details {
    text-align: center;
    margin-top: 50px;
}

.home-section1 .inner-container .contact-details>p:after {
    border-bottom: 1px solid var(--black);
    content: '';
    display: block;
    margin-top: 20px;
    width: 100%;
}

.home-section1 .inner-container .contact-details p,
.home-section1 .inner-container .contact-details p a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}

.home-section1 .inner-container .contact-details p a:hover {
    color: var(--color1);
}


.home-section1 .inner-container .contact-details p {
    color: var(--black);
    font-size: 21px;
    margin-right: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.home-section1 .inner-container .contact-details .inner-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.home-section1 .inner-container .contact-details .inner-wrapper p {
    font-size: 20px;
}


/************************************************************/
/*RESPONSIVE*/
/************************************************************/
@media(max-width: 1680px) {}

@media(max-width: 1440px) {}

@media(max-width: 1366px) {}

@media(max-width: 1280px) {
    .home-section1 {
        --bg-scale: min(100vw / 1920, 100vh / 1080);
    }

    .home-section1 .inner-container {
        top: 0;
    }

    .home-section1 .inner-container h2 {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }

    .home-section1 .inner-container .grid-wrapper {
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-section1 .inner-container .contact-details {
        margin-top: 80px;
    }

    .home-section1 .inner-container .contact-details p {
        font-size: 22px;
        margin-right: auto;
        margin-left: auto;
        max-width: 700px;
    }
}

@media(max-width: 1040px) {
    .home-section1 {
        justify-content: flex-start;
        padding-top: 50px;
        min-height: 100dvh;
    }
}

@media(max-width: 1024px) {

    .home-section1 .inner-container {
        max-width: 900px;
    }
}

@media(max-width: 960px) {
    .home-section1 .inner-container h2 {
        font-size: 40px;
    }
}

@media(max-width: 912px) {
    .home-section1 .inner-container {
        max-width: 800px;
    }
}

@media(max-width: 820px) {
    .home-section1 .inner-container {
        max-width: 700px;
    }
}

@media(max-width: 768px) {
    .home-section1 .inner-container h2 {
        font-size: 30px;
    }

    .home-section1 .inner-container .contact-details p {
        font-size: 17px;
        max-width: 500px;
    }
}

@media(max-width: 480px) {
    .home-section1 {
        padding-top: 20px;
        padding-bottom: 50px;
        min-height: 0;
    }

    .home-section1 .inner-container {
        max-width: 350px;
    }

    .home-section1 .inner-container h2 {
        font-size: 24px;
        margin-bottom: 0px;
    }

    /* Mobile image (480x560) is shown at 100% width; its centre gap is 343px, the grid uses 303px of it. */
    .home-section1 .inner-container .grid-wrapper {
        flex-direction: column;
        gap: 20px;
        max-width: calc(100vw * 303 / 480);
    }

    .home-section1 .inner-container .grid-wrapper>a {
        width: calc(100% - 0px);
    }

    .home-section1 .inner-container .grid-wrapper>a img {
        margin-left: auto;
        margin-right: auto;
        width: 87%;
    }

    .home-section1 .inner-container .contact-details p {
        font-size: 20px;
    }

    .home-section1 .inner-container .contact-details .inner-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .home-section1 .inner-container .contact-details .inner-wrapper p {
        margin-bottom: 0px;
    }

    .home-section1 .inner-container .contact-details {
        margin-top: 40px;
    }
}

@media(max-width: 412px) {
    .home-section1 .inner-container h2 {
        font-size: 24px;
    }
}

@media(max-width: 394px) and (min-width: 360px) {
    .home-section1 .inner-container {
        max-width: 300px;
    }
}

@media(max-width: 393px) {
    .home-section1 .inner-container h2 {
        font-size: 24px;
    }

    .home-section1 .inner-container .contact-details p {
        font-size: 16px;
    }
}

@media(max-width: 360px) {
    .home-section1 .inner-container h2 {
        font-size: 24px;
    }
}

@media(orientation: landscape) and (max-height: 500px) {
    .home-section1 {
        --bg-scale: max(100vw / 1920, 100vh / 1080);
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 0;
    }

    .home-section1 .inner-container {
        max-width: 600px;
    }

    .home-section1 .inner-container>img {
        max-height: 80px;
        width: auto;
    }

    .home-section1 .inner-container h2 {
        font-size: 28px;
    }

    .home-section1 .inner-container .grid-wrapper {
        flex-direction: row;
        gap: 10px;
        margin-top: 25px;
        max-width: calc(740 * var(--bg-scale));
    }

    .home-section1 .inner-container .grid-wrapper>a {
        width: calc(50% - 5px);
    }

    .home-section1 .inner-container .grid-wrapper>a img {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .home-section1 .inner-container .contact-details {
        margin-top: 60px;
    }

    .home-section1 .inner-container .contact-details p {
        font-size: 18px;
    }

    .home-section1 .inner-container .contact-details .inner-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .home-section1 .inner-container .contact-details .inner-wrapper p {
        font-size: 16px;
    }
}

/*******************************************************************************************************************/
/*				  													                                        FOOTER*/
/******************************************************************************************************************/

/****************************************************************************/
/*				  								                     GENERIC*/
/****************************************************************************/

/****************************************************************************/
/*				  								                   COPYRIGHT*/
/****************************************************************************/

.site-info {
    background-color: transparent
}

.copyright-bar {
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.copyright-bar a {
    display: flex;
    align-items: center;
}

@media(max-width: 912px) {
    .copyright-bar {
        flex-direction: column;
    }
}