* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;

}

@font-face {
    font-family: 'titleFont';
    src: url(fonts/Oxanium-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'bodyFont';
    src: url(fonts/Montserrat-VariableFont_wght.ttf);
}

html {
    font-size: 10px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.clrAccent {
    color: #D80032;
}

::-webkit-scrollbar {
    width: 0.7rem;
}


::-webkit-scrollbar-track {
    background: #e9e9e9;
    border-radius: 1rem;
}


::-webkit-scrollbar-thumb {
    background: #D80032;
    border-radius: 5rem;
}


::-webkit-scrollbar-thumb:hover {
    background: #D80032;
}

.header {
    width: 100vw;
    height: 10rem;
    display: flex;
    justify-content: space-between;
}

.logoContainer {
    width: 50%;
    /* background-color: antiquewhite; */
    display: flex;
    align-items: center;
}

.logoContainer p {
    margin-left: 5rem;
    font-family: titleFont;
    font-size: 4rem;
    font-weight: semi-bold;
}

.logoAccent {
    color: #D80032;
    font-size: 5rem;
    font-weight: semi-bold;
}

.navContainer {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navContainer ul {
    display: flex;
    align-items: center;
    margin-right: 5rem;
}

.navContainer li {
    margin-left: 5rem;
}

.navContainer a {
    color: black;
    font-family: titleFont;
    font-size: 2.1rem;
}

.navLink1 {
    border-bottom: #D80032 solid 2px;
}

.navContainer a:hover {
    color: #D80032;
}

.navContainer button {
    font-family: titleFont;
    font-size: 2.1rem;
    color: white;
    width: 13.5rem;
    height: 5.5rem;
    border: #D80032 2px solid;
    border-radius: 1rem;
    background-color: #D80032;
    cursor: pointer;
}

.navLink2 button {
    font-family: titleFont;
    font-size: 2.1rem;
    color: rgb(0, 0, 0);
    width: 13.5rem;
    height: 5.5rem;
    border: #D80032 2px solid;
    border-radius: 1rem;
    background-color: #ffffff;
    cursor: pointer;
}

.navLink button:hover {
    background-color: #A30026;
    border: #A30026 2px solid;
}

.navLink2 button:hover {
    background-color: #D80032;
    border: #D80032 2px solid;
    color: #ffffff;
}

.homeContainer {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.homeContext {
    width: 100%;
    height: calc(100vh - 10rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.homeButton {
    font-family: titleFont;
    font-size: 2.1rem;
    color: white;
    width: 25rem;
    height: 5.5rem;
    border: #D80032 2px solid;
    border-radius: 1rem;
    background-color: #D80032;
    cursor: pointer;
}

.homeButton:hover {
    background-color: #A30026;
    border: #A30026 2px solid;
}

.homeTitle {
    font-family: titleFont;
    font-size: 8rem;
    font-weight: semi-bold;
    margin-bottom: 1rem;
}

.homeAccent {
    color: #D80032;
    font-size: 12rem;
    font-weight: semi-bold;
}

.homeSlogan h3 {
    font-family: bodyFont;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.homeIntro {
    width: 70%;
    margin-bottom: 2rem;
}

.homeIntro p {
    font-family: bodyFont;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.introAccent {
    color: #D80032;
    font-weight: bold;
}


.messagesContainer {
    width: 100vw;
    height: 100vh;
    /* display: flex; */
    flex-direction: column;
}

.messagesContext {
    width: 100%;
    height: calc(100vh - 12.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.messagesBox {
    /* width: calc(100vw - 25rem); */
    width: 85vw;
    height: calc(100vh - 10rem);
    background-color: #ffffff;
    overflow-y: scroll;
    margin-top: 2rem;
    border-radius: 1rem;
}

.nameInput {
    background-color: #FFF4F6;
    border: #D80032 solid 2px;
    height: 3.5rem;
    border-radius: 1rem;
}

.messageInput {
    background-color: #FFF4F6;
    border: #D80032 solid 2px;
    height: 3.5rem;
    flex: 1;
    border-radius: 1rem;
    margin: 0 1.5rem 0 1.5rem;
}

/* .fileInput {
    background-color: #D80032; 
    border: #D80032 2px solid;
    border-radius: 1rem;
    font-family: titleFont;
    font-size: 2.1rem;
    color: white;
    height: 3.5rem;
} */

.sendInput {
    background-color: #D80032;
    border: #D80032 2px solid;
    border-radius: 1rem;
    font-family: titleFont;
    font-size: 2.1rem;
    color: white;
    height: 5rem;
    width: 10rem;
}

.sendInput:hover {
    background-color: #A30026;
    border: #A30026 2px solid;
    cursor: pointer;
}

.messageForm {
    /* width: calc(100vw - 25rem); */
    width: 85vw;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.inputBox {
    margin-top: 1rem;
    margin-bottom: 2rem;
    /* width: calc(100vw - 10rem); */
}

input[type="file"] {
    display: none;
}

.fileButton {
    background-color: #D80032;
    border: #D80032 2px solid;
    border-radius: 1rem;
    font-family: titleFont;
    font-size: 2.1rem;
    color: white;
    height: 5rem;
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
}

.fileButton:hover {
    background-color: #A30026;
    border: #A30026 2px solid;
    cursor: pointer;
}

input {
    padding: 1rem;
    font-family: bodyFont;
    color: #000000;
}

input::placeholder {
    font-family: bodyFont;
    color: #909090;
}

input:focus {
    color: #000000;
    font-family: bodyFont;
}

.messagesBox h1 {
    font-family: titleFont;
    font-size: 4rem;
    color: #D80032;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* .messagesBox::-webkit-scrollbar {
        display: none;
    } */

.message {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 2rem;
    background-color: #feebee;
    border-radius: 1rem;
    min-height: 10rem;
}

.messageTitle {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.messageTitle h3 {
    font-family: titleFont;
    font-size: 2rem;
    color: #D80032;
    margin-left: 2rem;
    margin-top: 1rem;
}

.timestampText {
    width: 30%;
    height: 100%;
}

.timestampText h3 {
    font-family: titleFont;
    font-size: 2rem;
    color: #D80032;
    margin-right: 2rem;
    margin-top: 1rem;
    text-align: right;
}

#messageImages {
    max-width: 40rem;
    max-height: 40rem;
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    border-radius: 1rem;
}

.messageText {
    width: 100%;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
}

.message p {
    font-family: bodyFont;
    font-size: 1.5rem;
    padding-left: 2rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

.hamburger-menu {
    display: none;
}

.formButtons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}


@media (max-width: 769px) {

    .navLink1 {
        display: none;
    }

    .navLink2 {
        display: none;
    }

    .navLink {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    #menu__toggle {
        opacity: 0;
    }

    #menu__toggle:checked+.menu__btn>span {
        transform: rotate(45deg);
    }

    #menu__toggle:checked+.menu__btn>span::before {
        top: 0;
        transform: rotate(0deg);
    }

    #menu__toggle:checked+.menu__btn>span::after {
        top: 0;
        transform: rotate(90deg);
    }

    #menu__toggle:checked~.menu__box {
        left: 0 !important;
    }

    .menu__btn {
        position: fixed;
        margin-right: 2.5rem;
        /* top: 20px; */
        right: 0px;
        width: 4rem;
        /* height: 4rem; */
        cursor: pointer;
        z-index: 1;
        margin-top: 0.5rem;
    }

    .logoContainer p {
        margin-left: 2.5rem;
        font-size: 3rem;
    }

    .logoAccent {
        font-size: 4rem;
    }

    .menu__btn>span,
    .menu__btn>span::before,
    .menu__btn>span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 0.3rem;
        background-color: #000000;
        transition-duration: .25s;
    }

    .menu__btn>span::before {
        content: '';
        top: -8px;
    }

    .menu__btn>span::after {
        content: '';
        top: 8px;
    }

    .menu__box {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 20rem;
        margin: 0;
        list-style: none;
        background-color: #feebee;
        transition-duration: .25s;
        border-bottom: #D80032 solid 2px;
    }

    .menu__item {
        display: block;
        /* padding: 3rem; */
        color: #000000;
        font-family: titleFont;
        /* font-size: 20px; */
        /* font-weight: 600; */
        text-decoration: none;
        transition-duration: .25s;
    }

    .menu__item:hover {
        background-color: #CFD8DC;
    }

    .menu__box li {
        margin: 0;

    }

    .menu__box li a {
        font-size: 2.5rem;
        color: #D80032;
    }

    .homeTitle {
        font-size: 5rem;
    }

    .homeAccent {
        font-size: 6rem;
    }

    .homeSlogan h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .homeIntro p {
        font-size: 1.75rem;
        margin-bottom: 3rem;
    }

    .homeIntro {
        margin: 0;
        width: 90%;
    }

    .navContainer {
        display: flex;
        /* justify-content: center; */
        /* align-items: center; */
    }

    #messageImages {
        max-width: 35rem;
        max-height: 35rem;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
        border-radius: 1rem;
    }

    .messageForm {
        display: flex;
        flex-direction: column;
    }

    .messageForm input {
        margin-bottom: 1rem;
    }

    .messageForm label {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .messageInput {
        margin: 0;
    }

    .messagesBox {
        width: 95vw;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .messageTitle h3 {
        font-size: 1.6rem;
        margin-left: 1rem;
        margin-top: 1rem;
        /* margin-bottom: 1rem; */
    }

    .messageText p {
        font-size: 1.4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .messageTitle {
        width: 100%;
    }

    .timestampText { 
        width: 100%;
        height: 100%;
    }

    .timestampText h3 {
        font-size: 1.4rem;
        text-align: left;
        margin-left: 1rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
    }
    .message {
     flex-direction: column;
    }

    .messageText {
        width: 100%;
    }

    .formButtons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .nameInput {
        width: 100%;
    }

    .messageInput {
        width: 100%;
    }

    .message {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .header {
        height: 8rem;
    }
}

@media (max-width: 426px) {
    #messageImages {
        max-width: 25rem;
        max-height: 25rem;
    }
}