/** Fonts **/

@font-face {
    font-family: "title";
    src: url("assets/Neon Club Music.woff");
}

/* @font-face {
   font-family: "general";
   src: url("assets/Clubbed to Life.woff");
} */

@font-face {
    font-family: "LemonMilk";
    src: url("assets/LEMONMILK-Medium.woff");
}

* {
    font-family: LemonMilk;
}


/** General styles **/

body{
    background: rgb(224,37,194);
    background: linear-gradient(0deg, rgba(224,37,194,1) 0%, rgba(34,193,195,1) 29%, rgba(90,147,195,1) 62%, rgba(224,37,194,1) 100%);

}

a {
    color: black;
    text-decoration: none;
}

.linkMenu {
    background: rgb(188,204,62);
    background: linear-gradient(90deg, rgba(188,204,62,1) 0%, rgba(69,232,252,1) 100%);
    margin:auto;
    width: 100%;
    height: 50px;
    margin-top: 0.1em;
    margin-bottom: 30px;
    table-layout: fixed ;
}

td {
    margin: auto;
    text-align: center;
    border-right:1px black;
}

.mainPanel {
    width: 80%;
    margin: auto;
    background-color: white;
    padding-left: 50px;
    padding-right: 50px;
}

.mainPanel::after {
    content: "";
    clear: both;
    display: table;
}


h1 {
    padding-left: 6px;
    font-size: 4vw;
    margin: 0 auto 0.2em auto;
    font-family: title;
    padding-top: 50px;
}

hr {
    background: rgb(58,180,74);
    background: linear-gradient(90deg, rgba(58,180,74,1) 0%, rgba(69,183,252,1) 39%, rgba(106,69,252,1) 85%);
    display: block;
    background-color:rgb(255, 99, 71);
    margin-top: 0.1em;
    margin-bottom: 30px;
    width: auto;
    border-style: none;
    height: 50px;
}

body {
    margin: 0px;
}

/** Image upload **/

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

#uploadPlusSign {
    display:block;
    width: 15%;
    margin-left:auto;
    margin-right:auto;

}

#photoUploadText {
    text-align: center;
    font-size: 20pt;
}

/** Buttons **/

button, #linkButton, input[type=submit] {
    display: block;
    width: 200px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    background: rgb(204,150,62);
    background: linear-gradient(90deg, rgba(204,150,62,1) 0%, rgba(252,69,167,1) 100%);
    color: white;
    font-size: 15pt;
    border: none;
    border-radius: 30px;
    transition: box-shadow 0.25s;
    outline: none;
    text-align: center;
}

button:hover, input[type=submit]:hover {
    box-shadow: 0 0 8px 0 #b8b8b8;
}

button:active, input[type=submit]:active {
    box-shadow: 0 0 12px 0px #7b7b7b;
}

/** Photo feed **/

.photoUpload {
    border: 10px solid #000000;
    border-radius: 25px;
    margin: auto;
    display: block;
    
    padding: 6px 0px;
    cursor: pointer;
    height: 200px;
}

.date {
    padding-left: 20px;
    font-size: 30pt;
    font-weight: bold;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}

/** User account stuff **/

#logout-area {
    display: none;
}

body.user-logged-in #login-area {
    display: none;
}

body.user-logged-in #logout-area {
    display: block;
}

#login-area, #logout-area {
    margin-left: auto;
    margin-right: auto;
}

#logout-area h4 {
    text-align: center;
}

#userProfilePicture {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    display: block;
}

/** Foodimals/Food photos **/

.foodimal, .foodPhoto {
    border: 7px solid #000000;
    border-radius: 25px;
    display: inline;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 300px;
    height: 300px;
}

.foodPhoto {
    object-fit: cover;
}

.foodimal {
    object-fit: contain;
}

/** Modals **/

.modalBackground {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.692);
    left: 0;
    top: 0;
    z-index: 1;
    overflow:hidden;
}

.modalContent {
    display: none;
    background-color: white;
    border: none;
    padding: 30px;
    width: 70%;
    margin: 10% auto;
}

.modalButton {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.modalClose {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    float: right;
}

#modalCloseImg {
    width: 30px;
}

/** Upload preview **/

.previewing #uploadPreview {
    display: block;
    margin: 0 auto;
    height: 200px;
}

.previewing #photoUploadText, .previewing #uploadPlusSign {
    display: none;
}

/** Navbar **/

.navbar {
    height: 3em;
    display: block;
    border-bottom: 1px outset aquamarine;
}

nav#navbar {
    height: inherit;
    width: 80%;
    float: left;
    display: flex;
}

img#navbar-logo {
    height: inherit;
    padding-left: 1.5em;
    float: left;
    display: flex;
}

ul#navbar-links {
    height: inherit;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    list-style-type: none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0em;
    margin-inline-end: 0em;
    padding-inline-start: inherit;
    padding-inline-end: inherit;
}

ul#navbar-links li {
    display: inline-block;
    vertical-align: inherit;
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1em;
    padding-bottom: 1em;
}

li.navbar-link a {
    color: inherit;
    font-size: 1.5em;
    text-decoration: none;
}

/* Added to make the header sticky
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
} */