
@font-face {
    font-family: "Lovelo-Black";
    src: url("../fonts/Lovelo-Black.woff2");
}

@font-face {
    font-family: "Lovelo-Line-Light";
    src: url("../fonts/Lovelo-LineLight.woff2");
}

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

:root {
    --primaryColor: rgb(48, 113, 193);
}

* {
    /* border: thin solid red; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Bahnschrift";
}

body {
    width: 100%;
    height: 100%;
}

#navBarDiamond>div {
    height: 80%;
    width: 80%;
    border-bottom: thin solid white;
    border-right: thin solid white;
    cursor: pointer;
}

.navBar {
    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 300px;
    height: 100%;
    padding: 0 40px 0 0;

    border: 10px solid var(--primaryColor);
    border-width: 10px 0 10px 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);

    transform: translateX(-300px);

    transition: transform 0.3s;
}

.navBar-popIn {
    transform: none;
}

.navBarButton {
    position: absolute;
    right: -70px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;
    
    border-radius: 0 35px 35px 0 ;
    background-color: white;
    box-shadow: 0 0 10px black;
}

.navBarButton > img {
    height: 30%;

    object-fit: cover;
    object-position: center center;
}

.navBarButton > h3 {
    user-select: none;

    display: none;

    margin: 0 0 0 10px;
}

.navBarButton-active {
    right: -35px;

    border-radius: 35px 35px 35px 35px;
}

.navBar>a {
    padding: 30px 30px 30px 0;

    color: white;
    font-family: "Lovelo-Black";
    font-size: 20px;
    text-align: right;
    text-decoration: none;
}

.navBar>a:hover {
    color: var(--primaryColor);
}

.copyrightDetails {
    position: absolute;
    right: 0;
    bottom: 10px;
    padding: 0 70px 0 0;

    color: gray;
}

.content {
    position: absolute;
    top: 0;
    left: 0;

    display: flex;

    width: 100%;
    height: 100%;

    border: 10px solid var(--primaryColor);
    border-width: 10px 0 10px 0;
}

.titleContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    width: 30%;
    padding: 30px 0 30px 0;
}

.titleImage {
    height: 100px;
    width: 100%;

    object-fit: contain;
    object-position: right center;
}

.title {
    font-family: "Lovelo-Line-Light";
    text-align: right;
    font-size: 5vw;
}

.contentContainer {
    overflow: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;
    width: 70%;
    padding: 30px 300px 30px 100px;
}

.contentContainer>h3, .contentContainer>p {
    margin: 0 0 30px 0;
}

@media (orientation : portrait) {
    .content {
        display: block;
    }

    .titleContainer {
        align-items: flex-end;

        height: 20%;
        width: 100%;
        padding: 20px 20px 0 0;
    }

    .title {
        font-size: 6vh;
    }

    .titleImage {
        display: none;
    }

    .contentContainer {
        display: block;

        height: 80%;
        width: 100%;
        padding: 30px;

        text-align: right;
    }

    .contentContainer>h3, .contentContainer>p {
        text-align: right;
    }
}