/*
 Theme Name:   TopTraveller WP Theme
 Theme URI:    https://toptraveller.gr/
 Description:  TopTraveller
 Author:       Babalon, Mother of Abominations
 Author URI:   https://altarofgaming.com/author/babalon-aog/
 Version:      0.0.1
 Text Domain:  tt
*/

h1, h2, h3, h4, h5, h6 {
    margin: 5px 0;
}

h1 {
    font-size: 4em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.2em;
}

.admin-bar {
    margin-top: 32px;
}

html {
    background-color: #111;
    color: #fafafa;
}

body {
    font-family: 'Roboto', sans-serif;
}

a {
    color: #FFCF44;
}

#tt-page {
    background-color: rgba(255,255,255,0.05);
    width: 100%;
}

#tt-page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

    #tt-page-header h1 {
        text-shadow: 2px 3px 6px rgba(0,0,0,0.8);
    }

    #tt-page-header a {
        color: #fafafa;
        text-decoration: none;
        text-transform: uppercase;
    }

    #tt-page-header .tt-overlay {
        padding-top: 35px;
        padding-bottom: 35px;
    }

#tt-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

    #tt-content img, #tt-content .wp-caption {
        max-width: 100%;
    }

    #tt-content-main {
        width: 100%;
        padding: 0 10px;
    }

        #tt-content-main p {
            font-size: 20px;
            line-height: 22px;
        }

    #tt-content-sidebar {
        width: 100%;
    }

#tt-menu-main {
    display: flex;
}

    #tt-menu-main li {
        list-style: none;
    }

    .tt-menu-container {
        position: relative;
    }

    .tt-menu-container > li {
        display: inline-block;
    }

    .tt-menu-container > li a {
        text-decoration: none;
        color: #fafafa;
    }

        .tt-menu-dropdown {
            display: none;
            position: absolute;
            top: 15px;
            background-color: #111;
            padding: 5px 10px;
        }

            .tt-menu-dropdown ul {
                padding: 5px 10px;
            }

            .tt-menu-container > li:hover .tt-menu-dropdown {
                display: block;
            }

.tt-section {
    text-align: center;
    margin: 20px 0;
}

    .tt-section h2 {
        margin: 10px 0;
    }

.tt-overlay {
    background: linear-gradient(360deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.1) 100%);
}

    .tt-overlay-hover:hover {
        background: linear-gradient(rgba(251,190,21, 0.8) 0%, rgba(18,18,18,0.5) 50%, rgba(18,18,18,0.5) 100%);
    }

.tt-items {
    align-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 10px;
}

    .tt-item {
        aspect-ratio: 1 / 1.41;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border: 2px solid #434343;
        border-radius: 5px;
        width: calc(25% - 14px);
    }

    .tt-item-featured {
        aspect-ratio: 1 / 1;
        border: 3px solid #FFCF44;
        width: calc(25% - 16px);
    }

        a.tt-item {
            color: #fafafa;
            text-decoration: none;
        }

        .tt-item span {
            margin-bottom: 10px;
        }

        .tt-item .tt-overlay, .tt-item .tt-overlay .tt-overlay-hover {
            border-radius: 4px;
            height: 100%;
            width: 100%;
        }

        .tt-item .tt-overlay .tt-overlay-hover {
            align-items: center;
            display: flex;
            flex-flow: column wrap;
            justify-content: flex-end;
        }

    .tt-breadcrumbs {
        padding: 15px 0;
        text-align: center;
        color: #acacac;
    }

    .tt-breadcrumbs a {
        color: #fafafa;
        text-decoration: none;
    }

    .tt-breadcrumbs a:hover {
        color: #FFCF44;
        text-decoration: underline;
    }

    a.tt-button {
        color: #fafafa;
        display: inline-block;
        text-decoration: none;
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 5px;
        padding: 15px 25px;
        margin-top: 15px;
        background-color: #19335B;
        font-size: 18px;
        font-weight: 800;
    }

    a.tt-button:hover {
        background-color: rgba(255, 207, 68, 0.25);
    }

@media only screen and (min-width: 1418px)  {

    #tt-page {
        border-left: 2px solid rgba(255,255,255,0.1);
        border-right: 2px solid rgba(255,255,255,0.1);
        min-width: 1200px;
        max-width: 1200px;
        margin: auto;
    }

    #tt-content {
        flex-wrap: nowrap;
    }

    #tt-content-main {
        width: calc(100% - 320px);
    }

    #tt-content-sidebar {
        padding-top: 10px;
        min-width: 300px;
        max-width: 300px;
    }

}