/* GLOBAL */

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

a, a:visited, a:hover, a:active {
    color: inherit;
    font-weight: bold;
}

p, pre {
    line-height: 26px;
    color: rgba(31, 37, 38, 0.75);
    margin-bottom: 1em;
    letter-spacing: 0.4px;
}

pre {
    font-family: inherit;
}

p.aside {
    font-size: 0.8em;
    color: #666;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Avenir', 'sans-serif';
    font-weight: 400;
    color: rgb(31, 37, 38);
}

h1 {
    font-size: 32px;
    margin-bottom: 0.75em;
}

h3 {
    font-size: 16px;
    margin-bottom: 1em;
    letter-spacing: 2px;
}

ul {
    list-style: none;
}


.centered {
    text-align: center;
}

.narrow {
    max-width: 700px;
    margin: 0 auto;
}


body {
    font-family: 'Lora', 'Times New Roman', serif;
    font-weight: 300;
    background-color: #fff;
    text-align: left;
    font-size: 16px;
    color: rgb(31, 37, 38);
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "Avenir";
    font-weight: 400;
    src: url("fonts/Avenir-Book.otf");
}

@font-face {
    font-family: "Lora";
    src: url("fonts/Lora-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay-VariableFont_wght.ttf");
}


/* NAV */

nav {
    width: 100%;
    background-color: #222e2e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    width: 100%;
    text-decoration: none;
    position: relative;
}

nav ul {
    display: flex;
}

nav a, nav a:visited, nav a:hover, nav a:active {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

nav a:hover:not(.dropdown-toggle){
    text-decoration: underline;
    text-underline-offset: 5px;
}

nav a.brand:hover {
    text-decoration: none;
}

nav ul li {
    margin: 0 12px;
    font-size: 12px;
    font-weight: 400;
    text-wrap: nowrap;
    letter-spacing: 3px;

}

.brand {
    font-family: 'Playfair Display', 'serif';
    font-size: 1.25em;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 18px;
}

nav ul.dropdown {
    display: none;
    position: absolute;
    z-index: 2;
    top: 100%;
    padding: 5px 5px 5px 0;
    background-color: #222e2e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
}

nav ul.dropdown li {
    list-style-type: none;
    margin-bottom: 1em;
}

nav ul.dropdown li a {
    text-decoration: none;
    padding: 0em 1em;
    display: block;
}

#main-menu-container {
    position: relative;
}

#main-menu-container .dropdown {
    left: -200px;
}

#menu {
    font-size: 40px;
    line-height: 22px;
}

@media screen and (max-width: 1000px) {}

@media screen and (max-width: 500px) {}

/* FOOTER */

footer {
    padding: 4rem;
    width: 100%;
    background-color: #222e2e;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* COMMON ELEMENTS */

.hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1) contrast(0.5);
}

.hero-image .hero-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-family: 'Avenir', 'sans-serif';
    font-size: 66px;
    line-height: 1em;
    font-weight: 300;
    width: calc(100% - 600px);
    letter-spacing: -1px;
}

.content-block {
    margin: 6em auto;
    max-width: 1000px;
}

.two-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.two-columns>* {
    width: 48%;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 6em;
    padding: 0 1em;
    text-align: left;
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 48px;
}




.senior-team {
    display: grid;
    grid-template-columns: 300px 1fr;
    padding: 4em 6em 10em 6em;
}

.senior-team .left {
    color: rgba(31, 37, 38, 0.4);
    font-size: 12px;
    letter-spacing: 3px;
    
}
.senior-team .left li{
    margin-bottom: 6px;
}
.senior-team .left li a {
    text-decoration: none;
    font-weight: 300;
}

.senior-team .left li a.active {
    color:rgb(31, 37, 38);
}

.senior-team .right {
    
}

.senior-team .team-title {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.senior-team .team-title img {
    width: 300px;
}

.senior-team .team-title h1 {
    padding-left: 24px;
    font-weight: 600;
}
.senior-team .team-title h4 {
    padding-left: 24px;
}

.news {
    padding: 4em 6em;

}

.news-item {
    border-bottom: 1px solid rgba(31, 37, 38, 0.8);
    margin-bottom: 6em;
    padding-bottom: 3em;
}

.news-item h4 {
    font-family: 'Lora', 'Times New Roman', serif;
    font-weight: 300;
    color:rgba(31, 37, 38, 0.75);
    margin-bottom: 1em;
    font-size: 12px;
}


#PMlogin {
    padding: 4em 6em;
    background-color: #222e2e;
    margin: 4em;
    text-align: center;
}

#PMlogin h2 {
    font-weight: 600;
}

#PMlogin h2, #PMlogin p, #PMlogin span {
    color: white;
}

#PMlogin form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#PMlogin form > * {
    width: 400px;
    margin: 6px auto;
}


#PMlogin input, #PMlogin button {
    padding: 12px;
    font-size: 18px;
    text-align: center;
}

#PMlogin button {
    color: white;
    border: 2px solid white;
    background: none;
    padding: 12px 24px;
    width: 200px;
    border-radius: 2px;
}
#PMlogin button:hover {
    background: white;
    color:rgb(31, 37, 38);
    cursor: pointer;
    border: 2px solid rgb(31, 37, 38);
}

#PMlogin #message {
    margin-top: 12px;
    color: red;
}

#international-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    overflow: hidden;
}

.international-grid-item {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.international-grid-item img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    transition: all 0.5s;
}

.international-grid-item img:hover {
    transform: scale(1.1);
    transition: all 0.5s;
    cursor: pointer;
}

.international-modal-container {
    display: none;
    position: fixed;
    top: 0; left: 0;
    min-height: 100vh;
    width: 100vw;
    background-color: rgba(31, 37, 38, 0.66);
    border: 
}

.international-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    max-width: 90%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2em 2em 1em 2em;
    border: 8px solid #222e2e;
    box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.33);
}

.international-modal p {
    line-height: 1.5em;
    text-align: left;
}

.international-modal .close{
    position: absolute;
    font-size: 24px;
    right: 20px;
    top: 17px;
    color: #222e2e;
    cursor: pointer;
}


@media screen and (max-width: 1200px) {
    .hero-image .hero-text {
        width: calc(100% - 100px);
    }
}

@media screen and (max-width: 700px) {
    .two-columns>* {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    #international-grid {
        grid-template-columns: 1fr 1fr;
    }
}