@import url('https://fonts.googleapis.com/css2?family=Plaster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #fff;
    width: auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.plaintext{
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.05vw;
}

.plaster-regular {
    font-family: "Plaster", 'sans-serif', system-ui;
    font-weight: 400;
    font-style: normal;
}

#navbar{
    margin: 0;
    width: 100%;
    position: fixed;
    z-index: 2;
    background-color: #fff;
    box-shadow: none;
    padding: 2.4vw 3vw;
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    flex-grow: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease-in-out,
                box-shadow 0.3s ease-in-out,
                padding 0.3s ease-in-out;
}

#navbar.partscrolled{
    padding: 2vw 3vw;
    background-color: rgba(255,255,255,0.7);
    box-shadow: none;
}

#navbar.scrolled {
    padding: 2vw 3vw;
    background-color: #A0723F;
    box-shadow: 0px 0.5vw 1vw rgba(0, 0, 0, 0.2);
}

#hero{
    display: flex;
    flex-direction: row-reverse;
    min-height: calc(100vh - (29px + (3vw * 2)));
    flex-wrap: none;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 8vw;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-bottom: 5vw;
    box-sizing: border-box;
    box-shadow: 0px 0.5vw 1vw rgba(0, 0, 0, 0.2);
    height: 100%;
    overflow: hidden;
}

#hero.scrolled{
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

#heroimages{
    position: relative;
    width: 60vw;
    margin: 0;
    height: 35vw;
}

#herotxtgroup{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2vw;
    height: 100%;
    width: 40vw;
    padding: 5vw;
    align-items: center;
}

#content{
    display: flex;
    flex-direction: row;
    flex-wrap: none;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6vw 7.5vw;
    column-gap: 8vw;
    flex-shrink: 1;
}

#authordetails{
    display: flex;
    flex-direction: column;
    width: 100%;
}

#articletext{
    width: 40vw;
}

#byline{
    display: flex;
    height: 3vw;
    width: 100%;
    flex-direction: row;
    align-items: center;
}

footer{
    background-color: black;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: none;
    padding: 0.5vw 4vw;
    color: #fff;
    font-size: 1.2vw;
}

/* TABLET INTERFACE */

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

body{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #fff;
    width: auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

#hero{
    display: flex;
    flex-direction: row-reverse;
    min-height: calc(60vw - (29px + (3vw * 2)));
    flex-wrap: none;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 8vw;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-bottom: 5vw;
    box-sizing: border-box;
    box-shadow: 0px 0.5vw 1vw rgba(0, 0, 0, 0.2);
}

#herotxtgroup{
    height: 100%;
}

#heroimages{
    height: 100%;
}

#content {
    gap: 6vw;
}

}

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

body{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #fff;
    width: auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

#hero{
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    flex-wrap: none;
    align-items: center;
    padding-top: 8vw;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-bottom: 5vw;
    box-sizing: border-box;
    box-shadow: 0px 0.5vw 1vw rgba(0, 0, 0, 0.2);
}

#herotxtgroup{
    height: 40vw;
    margin-top: 20vw;
}

#heroimages{
    height: 100vw;
}

#content {
    gap: 0;
    flex-direction: column-reverse;
    align-items: center;
}    

#articletext{
    width: 80vw;
    margin-top: 5vw;
}

#byline{
    padding: 2vw 0vw;
}

#authordetails{
    margin-bottom: 5vw;
}

footer{
    padding: 3vw 5vw;
    font-size: 3vw;
    gap: 4vw;
}

}