/* importazione dei font */

@font-face {
    font-family: 'Montserrat';
    src: url(/sources/fonts/Montserrat-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Noto Serif';
    src: url(/sources/fonts/NotoSerif-Regular.ttf) format('truetype');
}

/* definizione dei colori */
:root {
    --orange: #f17b00;
    --black: #191919;

    --selectedOrange: #e9953b;
    --selectedGrey: #c2c2c2;
}

input, label {
    font-size: 80%;
    line-height: 150%;
}

/* regole generali di stile */

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 125%;
    line-height: 200% !important;
}

header {
    background-color: var(--black);
    color: var(--orange);
    columns: 2;
}

header img {
    padding: 2.5%;
    height: 7.5vw;
    margin-left: 4vw;
}

nav {
    columns: 3;
    padding-top: 2.5vw;
    text-align: right;
    padding-right: 2.5vw;
}

nav a {
    font-weight: bold;
    font-size: 150%;
    color: var(--orange);
    text-decoration: none;
}

nav a:hover {
    color: white;
    transition: 0.5s;
}

h1 {
    font-family: 'Noto Serif', serif;
    font-size: 300%;
    margin-bottom: 6%;
}

#homePage_mainContent {
    margin: -2% 0 1.5% 0;
    padding: 5%;
    padding-bottom: 2%;
    background-image: url(/sources/images/sfondo_spazi.png);
    background-position-x: -50%;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position-y: 50%;
}

.mainContent aside img {
    padding: 5%;
    width: 28vw;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

.mainContent aside ul {
    list-style-type: none;
    margin-left: 0;
}

.mainContent aside img:hover {
    cursor: zoom-in;
}


.mainContent article {
    float: left;
    width: 65%;
    margin-left: 0;
    margin-top: 6%;
}

.mainContent aside {
    float: right;
    width: 25%;
}

footer {
    clear: both;
    background-color: var(--black);
    background-image: url(/sources/images/sfondo_footer.png);
    background-position-x: 105%;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: 21.5%;
    padding: 5%;
    line-height: 120%;
}

footer h2 {
    font-family: 'Montserrat';
    font-size: 200%;
    font-weight: bold;
}

footer img {
    width: 25vW;
    padding: 0 5% 5% 0;
}

button > img {
    width: 2vW;
}

#footer_sinistra {
    float: left;
    width: 35%;
    margin-left: 0;
}

#footer_centro {
    float: center;
    width: 35%;
    margin-left: 40%;
}

.footerLink {
    color: white;
    text-decoration: none;
}

.footerLink:hover {
    color: var(--orange);
    transition: 0.5s;
}

.btn-outline-light:hover {
    color: var(--orange);
    border-color: var(--orange);
    background-color: var(--black);
    transition: 0.5s;
}

.btn-outline-light:active {
    background-color: var(--black) !important;
}

.btn-primary {
    background-color: var(--orange);
    color: white;
    border-color: var(--orange);
    --bs-btn-active-bg: var(--selectedOrange);
    --bs-btn-hover-border-color: var(--orange);
}

.btn-primary:hover {
    background-color: var(--selectedOrange);
    color: var(--selectedGrey);
    transition: 0.5s;
    border-color: var(--selectedOrange);
}

.link-primary {
    color: var(--orange) !important;
    text-decoration: none;
    font-weight: bold;
}

.link-primary:hover {
    color: var(--selectedOrange) !important;
    transition: 0.5s;
}

.centeredContent {
    width: 100%;
}

.centeredContent article {
    width: 100%;
    padding: 0;
    margin: 0;
}

.centeredContent article #titolo {
    margin-bottom: 2%;
}

#tabellaSwal {
    text-align: left;
    margin: auto;
    width: 100%;
}

#tabellaSwal th {
    padding: 1vw 0 1vw 0;
}

#tabellaSwal td {
    padding: 1vw 0 1vw 0;
}

.contacts {
	width: 100%;
	height: 50%;
	padding: 2.5% 0 2.5% 0;
	align-items: center;
	display: flex;
	justify-content: center;
}

.contacts:hover {
	background-color: lightgrey;
	cursor: pointer;
	transition: 0.25s;
}

.contacts img {
	height: 50px;
	margin-right: 20px;
}

.logoSocial {
    margin-left: 2vw;
    margin-top: 1vw;
    width: 4vw;
    filter: grayscale(100%);
}

.logoSocial:hover, .logoSocial:focus, .logoSocial:active {
    filter: unset;
    transition: 0.75s;
    cursor: pointer;
}

button p {
    display: inline;
}

#cookies {
    position: fixed;
    bottom: 0;
    height: fit-content;
    background-color: #6e6e6e;
    width: 100%;
    padding: 2%;
    color: white;
    z-index: 1000;
}