@font-face {
    font-family: "sweet_purple";
    src: url("../fonts/sweet_purple.otf") format("opentype");
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    padding: 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: #000;
}

.content {
    flex: 1 0 auto;
}

.center-container {
    display: flex;
    justify-content: center;
}

.landing-page-image {
    max-width: 100%;
}

.primary-button {
    text-align: center;
    border: 4px solid #735064;
    background-color: #735064;
    color: #fff;
    border-radius: 10px;
    padding: 1em;
    width: 300px;
    text-transform: uppercase;
    margin: 0 auto 2rem auto;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.primary-button * {
    color: #ffffff;
}

.primary-button:hover {
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    color: #735064;
}

ul {
    list-style: none;
    padding: 0;
}

.social-links ul li {
    display: inline;
    padding: 1em;
}

.social-links {
    display: flex;
    justify-content: center;
    bottom: 0;
}

.social-links-text {
    display: inline-block;
    text-transform: uppercase;
    transform: translateX(200px);
    transition: 1s ease-in-out;
}

.social-links-image {
    display: inline-block;
    border-radius: 10%;
}

header {
    text-align: center;
    display: inline;
}

header>a>img {
    width: 150px;
    display: inline;
}

footer {
    text-align: center;
    flex-shrink: 0;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    footer:hover .social-links-text {
        animation: slide-left .2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        -webkit-animation-fill-mode: forwards;
    }
    
    footer:hover .slide-right {
        width: fit-content;
        transition: all 5s;
    }
}

@keyframes slide-left {
    from {
        transform: translateX(200px);
    }
    to {
        transform: translateX(0);
    }
}

footer svg {
    display: block;
}

.slide-right {
    display: inline-block;
    width: 0;
    overflow: hidden;
    transition: all 2s;
}

.story-list-wrapper {
    width: 100%;
    flex: 1 0 auto;
}

.story-list-container {
    display: block;
    width: 60%;
    margin: 1em auto;
    border: 1px solid #fff;
    border-radius: 10px;
    background-color: #fff;
    padding: 1em;
    clear: both;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    transition: 0.2s ease-in-out;
}

.story-list-container:hover {
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.4);
    transition: 0.2s ease-in-out;
}

.story-list-title-container {
    display: flex;
    justify-content: space-between;
}

h4 {
    font-size: 2rem;
    margin: 1rem 0;
    display: inline;
}

.story-collection {
    background-color: #7a606f;
    padding: .5rem;
    margin: 1rem 0;
    color: #fff;
    font-weight: 500;
    border-radius: 1rem;
    height: fit-content;
}

.story-date-container {
    text-align: right;
}

.story-date {
    display: block;
    font-style: italic;
    color: #606060;
    font-size: .9em;
}

.story-content-wrapper {
    background-image: url('../images/background-waves.svg');
    background-repeat: no-repeat;
    background-size: cover;
    /* Resize the background image to cover the entire container */
    text-align: center;
}

.story-image-wrapper {
    text-align: center;
}

.story-header-img {
    text-align: center;
    width: 250px;
    margin: auto 0;
    padding: 0;
}

.story-content-container {
    width: 80%;
    margin: 2em auto;
    padding: 2em;
    text-align: left;
    background-color: #fff;
    border-radius: 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.story-content-container a img {
    justify-self: center;
}

/* SEARCH FORM */

form {
    margin: 2rem 0;
}

.search-form {
    text-align: center;
}

.search-input-field, .search-select-input, input[type=submit] {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #eeeeee;
    margin: 0 .3rem;
    font-size: 1.2rem;
    outline: none;
}

input[type=submit] {
    background-color: #735064;
    border: 1px solid #735064;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
}

input[type=submit]:hover {
    background-color: #fff;
    color: #735064;
    transition: all .2s;
}

.search-input-field:active {
    border: 1px solid #c5c5c5;
    outline-style: none;
}