﻿/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration-line: none;
}

/* Gradient Background Limited to Height */
.gradient-background {
    background: linear-gradient(to bottom, #8FA7FF, #FFFFFF);
    height: 600px;
    width: 100%;
    position: relative;
}

/* Content Styling */
.content-wrapper {
    width: 80%;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 0px 0px 0px;
    background-color: transparent;
}

    header img.logo {
        max-width: 50px;
        height: auto;
    }

    header h1 {
        font-size: 30px;
        font-weight: 600;
        color: #000;
        text-align: center;
        flex-grow: 1;
    }

#add-story-img {
    max-width: 50px;
    height: auto;
}

.add-story {
    border: none;
    background-color: transparent;
    opacity: 100%;
    cursor: pointer;
    max-width: 50px;
    max-height: 50px;
}

    .add-story:hover {
        opacity: 50%;
    }

/* Main Content */
main {
    font-size: 60px;
    line-height: 80px;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: transparent;
}

#Body-small {
    font-weight: 400;
    font-size: 35px;
    color: #FFB59F;
    line-height: 45px;
    margin-top: 25px;
    margin-bottom: 70px;
    background-color: transparent;
}

/* Footer */
footer {
    font-size: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 300px 10px;
    background-color: transparent;
    color: #000;
    margin-bottom: 300px;
    left: 10%;
    width: 80%;
}

/* Fixed Bottom Navigation */
.nav-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
}

/* Buttons Style */
.button {
    padding: 10px 20px;
    border: none;
    color: white;
    font-size: 60px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    width: 50%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Button that links out */
#link-out-button {
    background-color: #8FA7FF;
    margin-left: 10%;
    margin-bottom: 30px;
    border-radius: 16px 0px 0px 16px;
}

    #link-out-button:hover {
        background-color: #BECFFF;
    }

/* Button that opens the form */
#form-button {
    background-color: #FF8764;
    margin-right: 10%;
    margin-bottom: 30px;
    border-radius: 0px 16px 16px 0px;
}

    #form-button:hover {
        background-color: #FFB59F;
    }

/* Cookies */
.cookieWrapper {
    z-index: 10 !important;
    position: fixed !important;
    bottom: 40px;
    left: 40px;
    right: 40px;
    max-width: 40%;
    max-height: 200px;
    background: lightgrey;
    padding: 20px 25px 25px 25px;
    border-radius: 8px;
    text-align: left;
}

    .cookieWrapper.hide {
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

::selection {
    color: #fff;
    background: #ff330f;
}

.cookieContent header {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    color: black;
    list-style: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: auto;
    font-smooth: auto;
    border-bottom: none;
    padding: 0px 0px 0px 0px;
}

.cookieContent p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 28px;
    color: black;
    list-style: none;
    margin-left: 0px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: auto;
    font-smooth: auto;
    border-bottom: none;
    margin: 5px 0 12px 0;
}

.cookieContent .cookieBtn {
    display: flex;
    align-items: left;
    justify-content: left;
}

.cookieBtn {
    padding: 6px 12px;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 23.5px;
    border-radius: 4px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-backface-visibility: hidden;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    vertical-align: middle;
}

    .cookieBtn:hover {
        background-color: rgba(0, 0, 0, 1);
    }

/* Responsive adjustments for mobile portrait */
@media (max-width: 580px) {
    .content-wrapper {
        width: 90%;
    }

    /*header img.logo {
        max-width: 30px;*/ /* Smaller logo on mobile */
    /*}

    header h1 {
        font-size: 24px;*/ /* Smaller title on mobile */
    /*}

    #add-story-img {
        max-width: 30px;*/ /* Smaller add button on mobile */
    /*}*/

    main {
        font-size: 50px; /* Smaller text on mobile */
        line-height: 65px; /* Adjust line height for smaller text */
    }

    #Body-small {
        font-size: 30px; /* Smaller subtext on mobile */
        line-height: 40px; /* Adjust line height for smaller subtext */
    }

    footer {
        font-size: 30px; /* Smaller footer text on mobile */
    }

    .button {
        padding: 10px 20px;
        border: none;
        color: white;
        font-size: 0px;
        font-family: 'Inter', sans-serif;
        cursor: pointer;
        width: 50%;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0px;
    }

    .icon {
        width: 50%;
        height: auto;
        fill: currentColor;
    }

        .button span {
            display: none; /* Hide text next to icons on mobile */
        }

    .cookieWrapper {
        bottom: 20px;
        left: 10px;
        right: 10px;
        max-width: 90%;
    }
}
