@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

html,
body,
div,
span,
button,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: 'Nunito', sans-serif;
    vertical-align: baseline;
    background-image: none;
}

body {
    background-color: #f6f7fa;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: #000;
}


header {
    display: flex;
    margin: 3vh 18% 0 18%;
    color: #000000;
}

header img {
    max-width: 150px;
    height: auto;
}

header .bar {
    height: 75px;
    width: 30px;
    opacity: 0.7;
}

.tagline-container {
    display: flex;
    align-items: center;
}

.tagline {
    font-size: 2rem;
    font-family: 'DM Sans', sans-serif;
}

.version-selector {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.logo-title {
    display: flex;
    width: 85%;
}


.BoxesContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    max-width: 60%;
    margin: 7rem auto 40px auto;
    gap: 60px;
}

.BoxesContainer .Box {
    width: 280px;
    height: 280px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 300ms ease-in-out;
    box-sizing: border-box;
}

.BoxesContainer .Box:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.BoxesContainer .ImageContainer {
    position: relative;
    width: 100%;
}

.BoxesContainer .ImageContainer span {
    color: #0a1123;
}

.BoxesContainer .ImageBox {
    width: 90%;
    height: 60%;
    margin: 5%;
    border-radius: 15px;
}

.BoxesContainer .Box span {
    margin: 0 8%;
    display: block;
    bottom: 10px;
    left: 10px;
    color: #000;
    font-size: 1.2rem;
    text-align: left;
    font-weight: bold;
}

.BoxesContainer #user-image,
#admin-image,
#itsm-image,
#dwh-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.BoxesContainer #user-image {
    background-image: url(images/user_tessera.svg);
}

.BoxesContainer #admin-image {
    background-image: url(images/admin_tessera.svg);
}

.BoxesContainer #itsm-image {
    background-image: url(images/itsm_tessera.svg);
}

.BoxesContainer #dwh-image {
    background-image: url(images/dwh_tessera.svg);
}

.ToRexpondo {
    height: 18dvh;
    width: 50%;
    margin: 0 25%;
    background-image: url(images/banner_rexpondo.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

.ToRexpondo .TextContainer {
    width: 80%;
    height: 15dvh;
    padding: 4%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.ToRexpondo .TextContainer h1 {
    width: 95%;
    font-size: 27px;
    font-weight: bold;
    color: #fff;
}

.ToRexpondo .TextContainer p {
    width: 95%;
    color: #fff;
    width: 80%;
    font-size: 18px;
}

.ToRexpondo .ButtonScopri {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #ffffff;
    width: 8dvw;
    height: 3dvh;
    margin-right: 5%;
    margin-left: auto;
    padding: 5px;
}

.ToRexpondo .ButtonScopri button {
    width: inherit;
    height: inherit;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 2vh;
}

#Footer {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    position: relative;
    bottom: 0;
}

#Footer a {
    cursor: pointer;
}

@media only screen and (max-height: 600px) {
    .ToRexpondo {
        height: 20dvh;
    }
}

@media only screen and (max-width: 1440px) {
    .ToRexpondo .TextContainer {
        scale: 0.8;
        float: left;
    }
}

@media only screen and (max-width: 1024px) {
    .ToRexpondo .TextContainer h1 {
        font-size: 18px;
    }

    .ToRexpondo .TextContainer p {
        width: 70%;
        font-size: 16px;
    }

    .ToRexpondo .ButtonScopri button {
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    header {
        margin: 3vh 5% 0 5%;
    }

    header .tagline {
        font-size: 20px;
    }

    .BoxesContainer {
        gap: 20px;
        width: 60%;
        margin-top: 2rem;
    }

    .BoxesContainer .Box {
        height: 205px;
    }

    .ToRexpondo {
        height: 280px;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding-top: 18px;
    }

    .ToRexpondo .TextContainer h1 {
        font-size: 24px;
    }

    .ToRexpondo .TextContainer p {
        width: 70%;
        font-size: 2dvh;
    }

    .ToRexpondo .ButtonScopri {
        margin: 5px auto;
        width: 100px;
    }

    .ToRexpondo .ButtonScopri button {
        font-size: 14px;
    }
}

@media only screen and (max-width: 440px) {
    .ToRexpondo .TextContainer h1 {
        font-size: 17px;
    }

    .ToRexpondo .TextContainer p {
        width: 70%;
        font-size: 15px;
    }

    .ToRexpondo .ButtonScopri button {
        font-size: 13px;
    }
}

@media only screen and (max-width: 320px) {
    .ToRexpondo .TextContainer h1 {
        font-size: 14px;
    }

    .ToRexpondo .TextContainer p {
        width: 70%;
        font-size: 12px;
    }

    .ToRexpondo .ButtonScopri button {
        font-size: 10px;
    }
}