:root {
    --main-bg-color: #FAFAFA;
    --main-font-color: #D2001A;
    /* --main-svg-color:rgba(0,24,41,.5) */

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    min-width: 100%;
    min-height: 100%;
    background-color: var(--main-bg-color);
    transition: .5s ease-in-out;

}

body {
    position: relative;
    /* border: 4px solid green; */
    overflow-x: hidden;

}

.title {
    color: var(--main-font-color);
    display: grid;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Helvetica, sans-serif;
    letter-spacing: 1.5;
}

.title div {
    width: 100%;
    height: 100%;
    text-align: center;
    /* border: 2px solid white; */
}

.subTitle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subTitle h1 {
    font-size: 20px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100px;
    height: auto;
    /* border: 2px solid white; */

}

.colorPalettes {
    display: flex;
    justify-content: center;
    align-items: center;
}



.listOfPalettes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


}

.listOfPalettes a {
    text-decoration: none;
    color: var(--main-font-color);
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-font-color);
    margin: 2px 0;
    padding: 5px;
    border-radius: 5px;
    transition: .65s ease-in-out;
    font-size: 16px;
}

.listOfPalettes a:hover {
    color: var(--main-bg-color);
    background-color: var(--main-font-color);
}


.forGraphColors {
    width: 100%;
    height: 100px;
    /* border: 2px solid blue; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;

}


.forGraphColors a {
    text-decoration: none;
    color: var(--main-font-color);
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-font-color);
    padding: 5px;
    border-radius: 5px;
    transition: .65s ease-in-out;
    font-size: 16px;
    width: 145px;
    height: auto;
    margin: 3px 2px;
    text-align: center;
}

.cityTitle {
    padding: 5px;
    border-radius: 5px;
    transition: .65s ease-in-out;
    font-size: 16px;
    width: 145px;
    height: auto;
    margin: 3px 2px;
    text-align: center;
}

.forGraphColors a:hover {
    color: var(--main-bg-color);
    background-color: var(--main-font-color);
}


.forGraphColors a.activeButton {
    color: var(--main-bg-color);
    background-color: var(--main-font-color)
}

.firstLinks,
.secondLinks,
.city {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    color: var(--main-font-color);
    /* border: 2px solid orange; */
}





/* svg map in the container */


.container {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    position: relative;
    /* border:2px solid orange; */

}

.container svg {
    width: 100%;
    height: 100%;
}

text {
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease-in-out;
    font-weight: bold;
}

text.showText {
    opacity: 1;
    visibility: visible;
}

/* the information screen of the city */
.cityInfo {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-width: 100%;
    min-height: 100vh;
    position: absolute;
    z-index: 12;
    background-color: var(--main-bg-color);
    top: 0;
    left: 0;
    transform: translate(-100%, 0%);
    transition: 1s ease-in-out;
    border: 2px solid var(--main-font-color);
    border-radius: 5px;
    overflow-x: hidden;
    /* opacity:0; */
    /* visibility: hidden; */

}



.moveDown {
    /* opacity: 1;
    visibility: visible; */
    top: 0%;
    left: 0%;
    transform: translate(0%, 0);
}

.moveRight {
    /* opacity: 1;
    visibility: visible; */

    /* transform: translateX(100%); */
    display: none;
}

.headerofInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 100px;
    min-width: 100%;
    color: var(--main-font-color);
    /* border:2px solid green; */

}


.cityName {

    /* border: 2px solid white; */
    height: 100%;
    text-align: left;
    padding-top: 20px;
    font-size: 48px;
}

.closeSign {

    /* border: 2px solid white; */
    height: 100%;
    text-align: right;
    font-weight: bold;
    font-size: 80px;
    cursor: pointer;

}

.cityMouseOver {
    position: absolute;
    width: 300px;
    height: 200px;
    left: 0;
    top: 0;
    background-color: wheat;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: black;
    font-size: 32px;
    display: none;
    justify-content: center;
    border-radius: 10px;
    z-index: 13;
}


.infoColumns {
    width: 100%;
    height: auto;
   
    padding: 20px;
    font-size: 12px;

    flex-direction: column;
    justify-content: center;
    display: none;


}

.restaurantColumns {
    width: 100%;
    height: auto;
    /* border: 4px solid green; */

    padding: 20px;
    font-size: 16px;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;


}

.restaurant {
    width: 100%;
    min-width: 100%;
    height: 280px;
    display: grid;
    place-items: center;
    grid-template-columns: 40% 60%;
    gap: 5px;
    margin: 30px auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.image-part {
    display: grid;
    place-items: center;
    padding: 10px;

    overflow: hidden;
    width: 100%;
    height: 100%;
    border-right: 4px solid var(--main-font-color);
}

.imageRest {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    object-fit: cover;

}

.info-part {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;

}

.info-part a {
    font-size: 18px;
    text-decoration: underline;
    color: var(--main-font-color)
}

.activeDivInfo {
    display: flex;
}

.blurred {
    filter: blur(3px);
    overflow: hidden;
}

/* loading section css */
.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-top: 150px;
}

.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--main-font-color);
    animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}

@keyframes lds-grid {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}









/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */

}



/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    position: absolute;
    /* 15% from the top and centered */
    width: 70%;
    /* Could be more or less, depending on screen size */
    height: 60%;
    font-size: 24px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation: 1s ease-in-out opac;
    /* transform: translateY(100%); */
}


@keyframes opac {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.modal-content p {

    width: 100%;
    height: 100px;
    display: block;
    margin-top: 20px;
    text-align: center;
}

/* The Close Button */
.closediv {
    color: var(--main-bg-color);
    font-weight: bold;
    text-align: right;
    background-color: var(--main-font-color);
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;

}

.close {
    font-size: 54px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}











.weather-header {
    width: 100%;
    height: 200px;
    /* border:2px solid white; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

/* .weather-header{
    min-width: 50%;
    min-height: 100%;
     border:2px solid white; 
} */
.weather-current {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-font-color);
    border-right: 4px solid var(--main-font-color);
    min-width: 50%;
    min-height: 50%;

}

.weather-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.weather-icon.large {
    width: 80px;
    height: 80px;
}


.weather-current-temperature {
    font-size: 24px;
    margin-right: 10px;

}

.weather-right {
    display: grid;
    width: 50%;
    justify-content: space-around;
    gap: 10px;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    /* border:2px solid white; */
    color: var(--main-font-color);
}

.info-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}

.label {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 6.5px;
}

.value-sub-info {
    font-weight: lighter;
    font-size: 7px;
}


.weather-day-section {
    display: grid;
    grid-template-columns: repeat(4, 85px);
    grid-template-rows: repeat(2, auto);
    /* grid-template-columns: repeat(auto-fit,75px); */
    width: 100%;
    height: auto;
    gap: 5px;
    justify-content: center;
    margin: 50px 0;
}

.day-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    border: 2px solid var(--main-font-color);
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
    border-radius: 10px;
}

.day-card-date {
    font-size: 18px;
    margin-top: 10px;
}

.hour-section {
    width: 100%;
    height: 300px;
    text-align: center;
    border-spacing: 0;
    table-layout: fixed;

}

/* --main-bg-color: #001829;
--main-font-color:#F5730A; */

.hour-row {
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
    font-size: 10px;
}

.hour-row:nth-child(2n) {
    color: var(--main-bg-color);
    background-color: var(--main-font-color);


}

/* each td in row */

.hour-row>td {
    padding: 10px;
}


.rating {
    width: 100%;
    height: auto;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background-color: var(--main-bg-color);

}


.contact {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--main-font-color)
}

.iconContact {
    font-size: 36px;
    padding-right: 5px;
}
#footerDiv{
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--main-bg-color);
    border-top: 2px solid var(--main-font-color);
    color:var(--main-font-color);
   
}
#footerDiv div{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 20px;
}
@media (orientation: landscape) {
    .modal-content {

        width: 70%;
        /* Could be more or less, depending on screen size */
        height: 60%;

        /* transform: translateY(100%); */
    }
}

@media (orientation: portrait) {
    .modal-content {

        width: 70%;
        /* Could be more or less, depending on screen size */
        height: 40%;

        /* transform: translateY(100%); */
    }

    .forGraphColors a {

        font-size: 12px;
        width: 100px;
        height: auto;
        padding: 2px 1px;

    }
}

/* Media queries to adjust the layout on different screen sizes */

@media (min-width: 768px) {
    .subTitle h1 {
        font-size: 24px;
    }
    
    .logo img {
        width: 140px;
        height: auto;
    }

    .listOfPalettes a {
        font-size: 16px;
    }

    .forGraphColors a {
        font-size: 16px;
        width: 155px;
    }

    .firstLinks,
    .secondLinks,
    .city {
        font-size: 18px;
    }
    .restaurantColumns {
        font-size: 18px; 
    }
    .info-part a {
        font-size: 18px;
    }
    .restaurant{
        width: 90%;
        min-width: 90%;
    }
    .modal-content {
        font-size: 26px;      
    }
    .imageRest {
        width: 120px;
        height: 120px;
        border-radius: 5px;
        object-fit: cover;
    
    }
    .modal-content {  
        width: 65%;
        height: 50%;
        
    }
    .label {
        font-size: 10px;
    }
    .value-sub-info {
        font-size: 11px;
    }
    .hour-row {
        font-size: 11px;
    }
}
@media (min-width: 992px) {
    .subTitle h1 {
        font-size: 26px;
    }
    
    .logo img {
        width: 160px;
        height: auto;
    }

    .listOfPalettes a {
        font-size: 18px;
    }

    .forGraphColors a {
        font-size: 18px;
        width: 155px;
    }

    .firstLinks,
    .secondLinks,
    .city {
        font-size: 20px;
    }
    .restaurantColumns {
        font-size: 18px; 
    }
    .info-part a {
        font-size: 20px;
    }
    .restaurant{
        width: 90%;
        min-width: 90%;
    }
    .imageRest {
        width: 160px;
        height: 160px;
        border-radius: 5px;
        object-fit: cover;
    
    }
    .modal-content {
        font-size: 26px;      
    }
    .modal-content {  
        width: 65%;
        height: 50%;
        
    }
    .label {
        font-size: 10px;
    }
    .value-sub-info {
        font-size: 11px;
    }
    .hour-row {
        font-size: 11px;
    }
    
}

@media (min-width: 1025px) {
    .subTitle h1 {
        font-size: 32px;
    }
    
    .logo img {
        width: 180px;
        height: auto;
    }

    .listOfPalettes a {
        font-size: 20px;
    }

    .forGraphColors a {
        font-size: 22x;
        width: 190px;
    }

    .firstLinks,
    .secondLinks,
    .city {
        font-size: 22px;
    }
    .restaurantColumns {
        font-size: 20px; 
    }
    .info-part a {
        font-size: 22px;
    }
    .restaurant{
        width: 80%;
        min-width: 80%;
    }
    .imageRest {
        width: 180px;
        height: 180px;
        border-radius: 5px;
        object-fit: cover;
    
    }
    .modal-content {
        font-size: 28px;      
    }
    .modal-content {  
        width: 55%;
        height: 45%;
        
    }
    .label {
        font-size: 13px;
    }
    .value-sub-info {
        font-size: 14px;
    }
    .hour-row {
        font-size: 14px;
    }

  
}

@media (min-width: 1200px) {
    .subTitle h1 {
        font-size: 36px;
    }
    
    .logo img {
        width: 200px;
        height: auto;
    }

    .listOfPalettes a {
        font-size: 22px;
    }

    .forGraphColors a {
        font-size: 23x;
        width: 190px;
    }

    .firstLinks,
    .secondLinks,
    .city {
        font-size: 23px;
    }
    .restaurantColumns {
        font-size: 22px; 
    }
    .info-part a {
        font-size: 23px;
    }
    .restaurant{
        width: 60%;
        min-width: 60%;
    }
    .modal-content {
        font-size: 28px;      
    }
    .modal-content {  
        width: 45%;
        height: 40%;
        
    }
    .label {
        font-size: 14px;
    }
    .value-sub-info {
        font-size: 15px;
    }
    .hour-row {
        font-size: 15px;
    }

   
}