@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&display=swap');

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}


/* change colours to suit your needs */

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}


/* change colours to suit your needs */

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* change border colour to suit your needs */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}


/* ------------------------------------------------------------------- */

html,
body {
    width: 100%;
    height: 100%;
}

#container {
    display: flex;
    flex-direction: row;
    background-color: #FFF;
    border: 20px solid #F42431;
}

#content {
    width: 50%;
    min-height: calc(100vh - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
}

#image {
    width: 50%;
    background-image: url('../img/image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60% 50%;
}

#content .wrapper {
    padding: 4vw;
}

#content .logo {
    display: flex;
    align-items: flex-end;
}

#content .logo .logo-1 {
    max-width: 260px;
}

#content .logo img {
    width: 100%;
    height: auto;
    display: block;
}

#content hgroup {
    margin: 5vh 0 3vh 0;
    padding: 0;
}

#content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2vw;
    color: #171D32;
    line-height: 1.2;
    margin: 40px 0 0 0;
}

#content hgroup h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3.8vw;
    line-height: 1.2;
    color: #F42431;
    margin: 0 0 0 0;
}

#content hgroup h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2.5vw;
    line-height: 1.2;
    color: #171D32;
}

#content hgroup h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: #171D32;
    line-height: 1.5;
    margin: 3vh 0 0 0;
}

#content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #171D32;
    line-height: 1.6;
    margin: 7px 0 7px 0;
    strong {
        font-weight: 600;
         font-size: 16px;
    }
}

#content p span {
    font-weight: 600;
}

.p-iva {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #171D32;
    line-height: 1.5;
    margin-top: 40px;
}

.link {
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    color: #171D32;
    font-weight: 600;
    text-decoration: none;
}

.link::before {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #F42431;
    top: 100%;
    left: 0;
    pointer-events: none;
    content: '';
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.link:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

@media screen and (min-width: 0px) and (max-width: 1050px) {
    #container {
        flex-direction: column;
    }
    #content {
        width: 100%;
        min-height: calc(100vh - 40px);
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #FFF;
    }
    #image {
        width: 100%;
        padding-bottom: 100%;
    }
    #content h3 {
        font-size: 4vw;
    }
    #content hgroup h1 {
        font-size: 7vh;
        line-height: 0.9;
        margin: 15px 0;
    }
    #content hgroup h2 {
        font-size: 4vw;
    }
}

@media screen and (min-width: 0px) and (max-width: 480px) {
    #container {
        border: 10px solid #fff;
    }
    #content {
        text-align: center;
    }
    #content .logo {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    #content .logo .logo-1 {
        max-width: 200px;
    }
    
    #content .logo .logo-2 {
        margin: 30px 0 20px 0;
        max-width: 160px;
    }
    #content hgroup {
        margin: 25px 0;
        padding: 0;
    }
    #content h3 {
        font-size: 5vw;
        margin: 20px 0 10px 0;
    }
    #content hgroup h1 {
        font-size: 5vh;
        line-height: 0.9;
        margin: 10px 0;
    }
    #content hgroup h2 {
        font-size: 7vw;
    }
    #content hgroup h4 {
        font-size: 18px;
        margin: 20px 0;
    }
    #content p {
        font-size: 16px;
        margin: 5px 0;
    }
}