@media (prefers-color-scheme: light){
    :root {
        --defaultRead: #000000;
        --defaultBack: #ffffff;
        --defaultAlt: #eeeeee;

        --blurBack: rgba(255, 255, 255, 0.6);
    }
}

@media (prefers-color-scheme: dark){
    :root {
        --defaultRead: #ffffff;
        --defaultBack: #000000;
        --defaultAlt: #111111;

        --blurBack: rgba(0, 0, 0, 0.6);
    }
}

body{
    background-color: var(--defaultAlt);
    color: var(--defaultRead);
    overflow-x: hidden;
    font-family: Helvetica, sans-serif;
}

.desktop-logo{
    width: 50px;
}

.desktop{ /*Used for making sure the desktop has the right header*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height:10%;
    overflow: hidden;
    transition: 0.5s;
}

.desktop-heading-text{
    font-size: 1.2em;
    font-family: Arial, Helvetica, sans-serif;
    padding: 5px;
}

.flex-flow{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-flow li{
    margin: 0 20px;
    padding: 5px;
    cursor: pointer;
    position: relative;
    font-size: 1.5em;
    font-family: Arial, Helvetica, sans-serif;
}

.flex-flow li a::after{
	content:'';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--defaultRead);
	height: 2px;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
    box-shadow: 0 0 5px var(--defaultRead);
}

.flex-flow li a:hover::after{
	transform: scaleX(1);
}

.mobile{ 
    display: none;
}

.mobile-flex{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    font-size: 2em;
}

.mobile-logo{
	width:50px;
}

.mobile-menu {
    width: 100%;
    position: fixed;
    height: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: 0.5s;
    font-family: sans-serif;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.mobile-menu ul li {
    padding: 12px 33px;
    text-decoration: none;
    font-size: 2em;
    color: var(--defaultRead);
    text-wrap: nowrap;
    text-align: center;
}

.mobile-menu ul li .close-button{
    font-size: 3em;
}


footer{
    color: var(--defaultRead);
    font-size: 1.5em;
    line-height: 1.3em;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    padding:5px;
}

.desktop,
.mobile-flex, .mobile-menu,
footer {
    background-color: var(--blurBack);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-image{
    height: 90vh;
    width:100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 75%,  var(--defaultAlt) 100%), url('../images/hero1.jpg');
}

.hero-heading-text{
    position: absolute;
    top: 50%;
    transform: translate(-50%);
    left:50%;
	font-size: 3em;
    text-align: left;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    color: white;
}

.center-heading-text{
	text-align: center;
	font-size: 3em;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    padding: 2%;
}

.sub-center-heading-text{
	text-align: center;
	font-size: 1.5em;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    padding: 5px;
}


.section {
    min-height: 90%;
    width:100%;
}

.side-margins{
    padding: 10% 15%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.section-heading{
    color: var(--defaultRead);
    font-size: 3em;
    font-family: Helvetica, sans-serif;
    padding: 5px;
}

.section-text{
    color: var(--defaultRead);
    font-size: 1.5em;
    line-height: 1.3em;
    font-family: 'Times New Roman', Times, serif;
}

.circle-image {
    width: 25%;
    border-radius: 100%;
    margin:1em;
}

/*form things */

.center-form{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.flex-form{
    font-family: Arial, Helvetica, sans-serif;
    color: var(--defaultRead);
    font-size: 1.2em;
    background-color: var(--defaultBack);
    width: 50%;
    height: min-content;
    border-radius: 15px;
    text-align: center;
}

.flex-form * {
    padding: 10px;
    margin: 10px;
}

.flex-form .field{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flex-form .form-input{
    color: var(--defaultRead);
    background-color: var(--defaultAlt);
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.field .form-input{
    width: 50%;
}


.clickable-link{
    text-decoration: underline;
}


.form-header{
    font-size: 1.2em;
}

.flex-split{
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: var(--defaultRead);
    font-size: 1.5em;
    line-height: 1.3em;
    font-family: Helvetica, sans-serif;
}

.profile-side-margins-fix{
    width: 100%;
}

.create-form{
    font-family: Helvetica, sans-serif;
    background-color: var(--defaultBack);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    color:var(--defaultRead);
    margin: 10px auto;
    width: 75%;
}
.create-form h1{
    font-size: 2em;
}

.create-form textarea{
    resize: vertical;
    width: 100%;
    background-color: var(--defaultAlt);
    color:var(--defaultRead);
    font-size: 1em;
    border: none;
    border-radius: 5px;
    margin: 5px;
}

.create-form input {
    background-color: var(--defaultAlt);
    color:var(--defaultRead);
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin: 5px;
    text-align: center;
    padding: 5px;
}

.create-form-action {
    font-family: Helvetica, sans-serif;
    background-color: var(--defaultBack);
    color:var(--defaultRead);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 7px;
    margin: 5px;
    font-size: 1.5em;
    min-width: 1.5em;
    min-height: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.centered-buttons{
    display: flex;
    justify-content: center;
}

.adventure-buttons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px;
    column-gap: 10px;
    row-gap: 10px;
}

.adventure-buttons *{
    flex: 1 fit-content;
    background-color: var(--defaultAlt);
    padding: 10px;
    border-radius: 100px;
    cursor: pointer;
}

.container{
    padding: 0 30px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 30px;
}

.edit-container{
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.card{
    flex: 1 250px;
    background-color: var(--defaultBack);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h2{
    font-family: 1.5em;
    font-weight: bold;
    margin: 10px;
}

.card p{
    font-family: 1.2em;
    margin: 10px;
    line-height: 1.3em;
}

.card a{
    background-color: var(--defaultAlt);
    padding: 10px;
    border-radius: 100px;
    width: fit-content;
    margin: 10px;
    margin-top: auto;
}

@media (width >= 2000px) {
    html{
        font-size: 28px;
    }
}

@media (width <= 1600px) {
    html{
        font-size: 18px;
    }
}
@media (width <= 1200px) {
    html{
        font-size: 16px;
    }
}
@media (width <= 1000px){
    html{
        font-size: 14px;
    }
    .flex-flow li{
        margin: 0 10px;
        font-size: 1.1em;
    }

    .flex-form{
        width: 70%;
    }
}
@media (width <= 700px){
    .flex-flow li{
        margin: 0 5px;
    }
    .flex-form{
        width: 100%;
        border-radius: none;
    }
    .flex-form * {
        padding: 5px;
        margin: 5px;
    }

    .create-form{
        width: 100%;
        border-radius: 0;
    }
}
@media (width <= 600px){
    html{
        font-size: 12px;
    }
    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }
}
@media (width <= 500px){
    html{
        font-size: 10px;
    }
    .form-width{
        width: 100%;
    }
}