:root {

    --grey-colour: #181C25;
    --light-grey-colour: #D3D0CB;
    --yellow-colour: #E2C044;
    --red-colour: #D95D39;

}

body {
    margin: 0 auto;
    background-color: var(--grey-colour);
}

.bg-image {
    background-image:url("resources/bg-vector.svg");
    background-repeat: no-repeat;
    background-position: center top;

    position: absolute;
    right: 10rem;

    width: 100%;
    height: 100%;
    background-size: 100% 95%;
    z-index: -1;
 
    mix-blend-mode: lighten;
    opacity: 0.18;
    filter: blur(4.5px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4%;
}

#main {
    display: flex;
    flex-direction: column;
    max-width: fit-content;
    margin: 0 auto;
}

nav ul {
    display: flex;
    flex-direction: column;

    max-width: fit-content;
    max-height: fit-content;
    
    padding: 0;
    margin: 0 0 50% 0;
}

.li-wrapper {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: flex;
    width: fit-content;
    font-family: "Contrail One";
    font-size: 1.9rem;
    line-height: 0.5;
    letter-spacing: -0.05em;
    color: var(--light-grey-colour);
    transition: 0.3s ease;
    transform: matrix(1, 0, -0.09, 1, 0, 0);
    list-style: none;
}

nav ul img {
    display: block;
    width: 100%;
    height: fit-content;
    margin-bottom: 10%;
}

nav ul li:hover {
    color: #FFFFFF;
    cursor: default;
}

.wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: -12%;
}

#map-section {
    display: flex;
    justify-content: center;
}

#map-section svg path[fill="#3C3F47"] {
    transition: 0.3s ease-in-out;
}

#map-section svg path[fill="#3C3F47"]:hover {
    fill: var(--red-colour);
}

#map-section svg path[opacity="0.70"] {
    pointer-events: none;
}

.pinpoint {
    pointer-events: bounding-box;
    cursor: pointer;
}

#container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: opacity 0.3s;
}

/* #modal_wrapper {
    display: flex;
} */

#content {
    width: 95%;
}

#vector {
    display: flex;
    align-self: center;
    overflow: hidden;
    padding: 2vw;
}

#modal {
    width: 1200px;
    height: fit-content;
    background-color: #1B202A;
    padding: 3.5rem 3rem 3.5rem 3rem;
    position: absolute;
    box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.80);
}

#header {
    margin-left: -0.5rem; 
    z-index: 1;
    width: fit-content;
}

#jp_label {
    margin-top: -1rem;
    margin-left: 0.5rem;
    z-index: -1;
}

#modal h1 {
    font-family: "Old Standard TT";
    font-weight: 500;
    font-size: 5rem;
    color: white;
    white-space: nowrap;
    margin: 0;
}

#modal h2 {
    font-family: "Gothic A1";
    font-weight: 600;
    font-size: 2rem;
    color: white;
    letter-spacing: -0.8px;

    margin: 0;
}

#modal h3 {
    font-family: "Gothic A1";
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    letter-spacing: -0.32px;
}

#modal p {
    font-family: "Old Standard TT";
    font-size: 1rem;
    color: white;
    letter-spacing: -0.32px;
}

#modal a {
    font-family: "Gothic A1";
    font-weight: 400;
    font-size: 16px;
    color: white;
    letter-spacing: -0.32px;
    text-decoration-line: underline;
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

#vector svg {
    width: fit-content;
    height: fit-content;
}

@media screen and (max-width: 1150px) {

    .bg-image {
        right: 0;
        margin: 0 auto;
    }

    .logo svg {
        width: 85%;
        height: 85%;
    }

    #main {
        margin-bottom: 5%;
    }

    nav ul li {
        font-size: 1.6rem;
    }

    nav ul img {
        width: 80%;
        padding: 0;
        margin: 0 0 10% 0;
    }

    .wrapper {
        max-width: 85%;
        align-self: center;
        margin-top: -5%;
    }

    #map-section svg {
        width: 98%;
        height: 98%;
    }

}

@media screen and (max-width: 745px) {

    .bg-image {
        filter: blur(3.5px);
    }

    .logo svg {
        width: 80%;
        height: 80%;
    }

    nav {
        max-width: 80%;
    }
    
    nav ul {
        flex-direction: row;
        margin: 10% 0 0 0;
    }

    nav ul li {
        font-size: 1rem;
    }

    nav ul img {
        width: 70%;
        padding: 0;
        margin: 0;
    }

    .wrapper {
        flex-direction: column;
        max-width: 80%;
        align-self: center;
        margin-top: 0;
    }

}

@media screen and (max-width: 450px) {

    .bg-image {
        filter: blur(2.5px);
    }

    nav ul img {
        width: 85%;
        padding: 0;
        margin: 0;
    }

}

@media only screen and (max-width: 1550px) {
    #modal {
        width: 900px;
    }
    #modal h1 {
        font-size: 4rem;
    }
    #modal h2 {
        font-size: 1.5rem;
    }
    #modal p {
        font-size: 0.95rem;
    }
}
@media only screen and (max-width: 1280px) {
    #modal {
        width: 600px;
        padding: 2rem 2rem 2rem 2rem;
    }
    #modal h1 {
        font-size: 3.5rem;
    }
    #modal h2 {
        font-size: 1.25rem;
    }
    #modal p {
        font-size: 0.85rem;
    }
    #header {
        margin-left: -0.35rem;
    }
    #jp_label {
        margin-left: 0.25rem;
    }
}
@media only screen and (max-width: 1024px) {
    #modal {
        width: 600px;
    }
    #modal h1 {
        font-size: 2.75rem;
    }
    #modal h2 {
        margin-top: 0.25rem;
    }
    #modal h3 {
        font-size: 0.7rem;
    }
    #modal p {
        font-size: 0.7rem;
    }
    #modal a {
        font-size: 0.75rem;
    }
}
@media only screen and (max-width: 745px) {
    #modal {
        width: 300px;
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    }
    #modal h1 {
        font-size: 2rem;
    }
    #modal h2 {
        font-size: 1.05rem;
        margin-top: 0.45rem;
        margin-left: -0.10rem;
    }
    #modal h3 {
        font-size: 0.5rem;
    }
    #modal p {
        font-size: 0.5rem;
    }
    #modal a {
        font-size: 0.5rem;
    }
    #header {
        margin-left: -0.2rem;
    }
}