@font-face {
    font-family: 'HitachiSans';
    src: url('Fonts/HitachiSans-Regular.woff2') format('woff2'),
         url('Fonts/HitachiSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'HitachiSans', Arial, sans-serif;
    font-size: 16px;
    
    display: flex;
    flex-direction: column;
    background-color: #b11108;
    background-image: url('Images/Red_Crop_02.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.logo {
    width: 180px;
    height: auto;
}

#hitachi-logo-red {
    width: 195px;
}

#hitachi-logo {
    margin-left: 35px;
}

.banner {
    height: 4%;
    padding-top: 1%;
    padding-bottom: 1%;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 55, 38, 0.9);
    width:100%;
}

.banner a {
    color: #fff;
    font-size: 15px;
    display: flex;
    justify-content: center;
}

.header{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5% 0 0.5% 1.5%;
        background-color: white;
        height: 6%;
}

.header img {
    margin-left: .5rem; /* Spacing between the logo and the left side of the page */
}

.footer {
    margin-top: auto;
    background-color: #d7d7d7;
    display: flex;
    flex-direction: column;
    color: #737273;
    font-size: 9pt;
    height: 10%;
}

.footer .footer-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 1rem 0 1rem 0;

    margin-left: 80px;
    margin-right: 80px;
}

.footer .footer-copyright {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1.5px black solid;
    margin-left: 80px;
    margin-right: 80px;
}

.footer-logo {
    width: 100px;
}

.row2{
    padding: 1rem 3rem 1rem 3rem;
    background-color: #f2f2f2;
    font-size: 1.rem;
    font-style: italic;
    color: #4a4f55;
}

.main {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding: 3.5rem;
    color: white; /* White text for main content */
}

a {
    color: #9a9999; /* Link color matching the 'COMING SOON' box */
    font-weight: bolder;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.contactInfo {
    color: #9a9999;
    font-weight: bolder;
}

.contactInfo .contactHeader{
    color: #bde190;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3vw;
}

.contactInfo ul{
    list-style-type: none;
    padding: 0;
    margin-bottom: 2vw;
    font-size: 1.3vw;
}

.contactInfo ul li{
    margin-bottom: .5vw;
}


.contactInfo .openingTimes{
    font-weight: lighter;
}

.socials{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2.5vw;
}

.socials-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4vw; /* Diameter of the button */
    height: 4vw; /* Diameter of the button */
    background-color: #bde190;
    border-radius: 50%; /* Makes it round */
    text-decoration: none; /* Removes underline from the link */
    color: white; /* Color of the Twitter icon */
    margin-right: 10px; /* Spacing between the buttons */
    transition: background-color 0.3s;
}

.socials-button i {
    font-size: 2.25vw; /* Size of the Twitter icon */
}

.socials-button:hover {
    background-color: #a3d17d; /* Darker shade for hover effect */
    text-decoration: none; /* Removes underline from the link */
}

.contact-button {
    background-color: #5e3a9d; /* Adjust the color to match the image */
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1vw;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    border-radius: 15px; /* This gives the rounded corners */
    transition: background-color 0.3s;
    text-decoration: none; /* Removes underline from the link */
    width: 11vw;
}

.contact-button:hover {
    background-color: #472d77; /* Darker shade for hover effect */
    text-decoration: none; /* Removes underline from the link */
}

.map-container {
  position: relative;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-background {
  position: relative;
  width: 95%;
  max-width: 1600px;
}

.map-background img {
  width: 100%;
  height: auto;
  display: block;
}

.content {
    display: flex;
    flex-direction: column;
    padding: 1% 5%;
    margin: 7% auto 2% auto;
    max-width: 1200px;
    width: 90%;
    z-index: 10;
    height: 10%;
    background-color: rgba(177, 17, 8,.6);
    border-radius: 8px;
}

.content p {
  color: white;
  font-weight: 400;
  font-size: 12pt;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.content .main-content {
    font-size: 18pt;;
    font-weight: 500;
    height: 3%;
}

.content .email {
    text-decoration: none;
    color: #fff;
}

.michelinmanContainer{
   /*  overflow: hidden; /* This will hide anything that goes outside the container */
    height: 15rem; /* Adjust this value as needed */
    margin-left: auto;
    padding-right: 10vw;
/*    padding-top: 8vw; */
}

.michelinman{
    display: block;
    width: 100%;
    height: auto;
    align-self: flex-start;
}
/* Regional links */

.links{
    position: absolute;
    width: 10%;
    color: #ffffff;
    font-size: 1.2vw;
    font-weight: bold;
    font-family: 'HitachiSans', Arial, sans-serif;
    transition: color 0.3s ease;
}

.links:hover {
    color: #f2f2f2;
}

.USLink {
    top: 34%;
    left: 24.5%;
}

.EULink {
    top: 14%;
    left: 56.5%;
}

.CanadaLink {
    top: 22.7%;
    left: 29%;
}

.MexicoLink {
    top: 44%;
    left: 26%;
}

.TurkeyLink{
    top: 24.5%;
    left: 60.5%;
    width: 10%;
}

.IndiaLink {
    top: 43.1%;
    left: 72.8%;
}

.MiddleEastLink {
    top: 32.2%;
    left: 65.4%;
}

.ChinaLink {
    top: 27.2%;
    left: 82%;
}

.WorldLink {
    top: 91.5%;
    left: 83.5%;
}

.AfricaLink {
    top: 44.3%;
    left: 57.5%;
}

.ApacLink {
    top: 51.3%;
    left: 81%;
}

.SouthAmericaLink {
    top: 57%;
    left: 37%;
}

@media (max-width: 576px) {
    body, html {font-size: 8px;}
    
    .row2{
        display: flex;
        justify-content: center;
        padding: 1rem;
        align-items: center;   
        font-size: 2.5rem;
    }
    
    .header{ 
        justify-content: center;
        height: 8%;
    }
    
    .header img {
        margin-left: 0;
    }
    
    .main{
        flex-direction: column-reverse;
        padding: 1rem;
    }
    
    .main .store-details{
        text-align: center;
        padding: 0.1rem;
        margin: 0;
        max-width: 100%;
    }
    
    .main .coming-soon {
        display: none;
    }
    
    .map-container {
        height: 60%;
    }
    
    .links {
        font-size: 3vw;
    }
    
    .content {
        height: 12%;
    }
    
    .content .main-content {
        font-size: 14pt;
        height: 4%;
    }
    
    .content p {
        font-size: 10pt;
    }
    
    .footer {
        height: 14%;
    }
}

@media (min-width: 768px) {
    body, html {font-size: 16px;}
    .header img {margin-left: .5rem;}
    .row2{
        padding-left: 3rem;
    }
    .banner {
        height: 4%;
    }
    .header {
        height: 6%;
    }
    .map-container {
        height: 65%;
    }
    .content {
        height: 10%;
    }
    .footer {
        height: 10%;
    }
    .links {
        font-size: 1.1vw;
    }
}

@media (min-width: 992px) { 
    body, html {font-size: 24px;}        
    .header img {margin-left: .5rem;}
    .row2{
        padding-left: 3rem;        
    }
    .banner {
        height: 4%;
    }
    .header {
        height: 7%;
    }
    .map-container {
        height: 68%;
    }
    .content {
        height: 9%;
    }
    .footer {
        height: 10%;
    }
    .links {
        font-size: 1.2vw;
    }
}

@media (min-width: 1200px) { 
    body, html {font-size: 24px;}        
    .header img {margin-left: .5rem;}
    .row2{
        padding-left: 3rem;
    }
    .banner {
        height: 4%;
    }
    .header {
        height: 6%;
    }
    .map-container {
        height: 70%;
    }
    .content {
        height: 10%;
    }
    .footer {
        height: 10%;
    }
    .links {
        font-size: 1.1vw;
    }
}

@media (min-width: 1400px) {
    body, html {
        font-size: 26px;
    }
    .banner {
        height: 4%;
    }
    .header {
        height: 6%;
    }
    .map-container {
        height: 70%;
    }
    .content {
        height: 10%;
    }
    .footer {
        height: 5%;
    }
    .links {
        font-size: 1.1vw;
    }
    .content .main-content {
        height: 3%;
    }
}

@media (min-width: 1600px) {
    body, html {font-size: 28px;}
    .banner {
        height: 4%;
    }
    .header {
        height: 6%;
    }
    .map-container {
        height: 70%;
    }
    .content {
        height: 10%;
    }
    .footer {
        height: 10%;
    }
    .links {
        font-size: 1.1vw;
    }
}

@media (min-width: 1920px) {
    body, html {font-size: 30px;}
    .banner {
        height: 4%;
    }
    .header {
        height: 5%;
    }
    .map-container {
        height: 72%;
    }
    .content {
        height: 9%;
    }
    .footer {
        height: 10%;
    }
    .links {
        font-size: 0.8vw;
    }
}