@import "header.css";
@import "navbar.css";
@import "footer.css";
@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --racing-red: #e62323;
    --racing-red-hover: #ff3333;
    --racing-orange: #ff6b1a;
    --bg-dark: #0a0b0d;
    --panel-bg: rgba(14, 16, 20, 0.62);
    --panel-border: rgba(255, 255, 255, 0.12);
    --panel-width: 32%;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-standard: 0.25s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.5;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: repeating-linear-gradient(135deg,#f5f5f5,#f5f5f5 5px,#f8f8f8 5px,#f8f8f8 10px);
}

.container {
    display: flex;
    flex-direction: column; 
    height: auto;
    min-height: 100vh;
    max-width: 1160px;
    align-items: center;
    margin: auto;
    padding: 20px 20px 20px 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

.titolo {
    width: 100%;
    height: 50px;
    font-size: 17px;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #d70c24;
    font-family: 'Fugaz One', cursive;
    border-left: 5px solid #2b2f33;

    background: linear-gradient(to top, 
        #d8dce2 0%, 
        #eef1f5 45%, 
        #fbfcfd 85%, 
        #ffffff 100%
    );

    /* Contorni sottili e discreti */
    border-top: 1px solid #ffffff;
    border-right: 1px solid #c2c7ce;
    border-bottom: 1px solid #b4b9c0;

    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.12);

    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 30px;
}

/* Stile del main */
.main-content {
    display: flex;
    flex-direction: column; 
    height: 100%;
    width: 100%;
    padding: 20px 0px 20px 0px;
    color: black;
}

.main-content p{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 17px;
}

.main-map {
  display: block;
  margin: 0;
}

.main-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*Contact page*/
.contact-links {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    padding-top: 20px;
    
}

.contact-links img {
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    margin-right: 7px;
}

.contact-links span {
    display: inline-block;
    vertical-align: middle;
}
.contact-links a{
    text-decoration: none;
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}
.fotoscritta{
    display: flex;
    align-items: center;
}
.fotoscritta p{
    padding:15px 15px;
    font-size:20px;
    width:50%;
}
.foto-item {
  position: relative;
  width:50%;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.85);
  box-shadow: 0 14px 40px -2px rgba(15,23,42,0.55);
  background: #e2e8f0;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.foto-item:hover {
  border-color:#424242;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.foto-item:hover img {
  transform: scale(1.05);
}

/*Responsive*/
@media screen and (max-width: 850px) {
    .fotoscritta p{
        padding:15px 15px;
        font-size:17px;
    }
}
@media screen and (max-width: 670px) {
    .fotoscritta p{
        padding:15px 15px;
        font-size:13px;
    }
}
@media screen and (max-width: 575px) {
    body {
        margin: 0px auto;
    }
    .container {
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    .main-content p{
        padding-left: 6px;
        padding-right: 5px;
    }
    .contact-links {
        padding-left: 6px;
        padding-right: 5px;
    }
    .main-map iframe {
        max-height: 440px;
    }
    .fotoscritta p{
        padding:15px 15px;
        font-size:11px;
    }
}

