@import url('https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&family=Candal&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&display=swap');


:root {
    /* colors */
    --bg: #fffffe;
    --primary: #89cfe8;
    --primary-light: #c7eaf4;
    --primary-saturated: #019ad9;
    --accent: #ff490a;
    --accent-light: #ff703e;
    --text-dark: #111212;
    --text-light: #fffffe;
    --grey-blue: #649ab1;
    /* fonts */
    --font-titles: 'Candal', sans-serif;
    --font-text: 'Josefin Slab', Solway;
    --font-text-secondary: 'Arapey', serif;
}


/* general */
* {
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg);
}
a {
    text-decoration: none;
    color: inherit;
}
a:visited {
    color: inherit;
}
h1 {
    font-size: 45px;
    font-weight: 700;
    font-family: var(--font-titles);
    text-align: center;
}


/* nav */
body {
    overflow-x: hidden;
}
nav {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 -15px;
    margin-bottom: -30px;
    padding: 0 120px;
    padding-top: 20px;
    background-image: url('../images/nav-bg.svg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 100px;
    color: var(--text-dark);
}
#logo {
    vertical-align: top;
    cursor: pointer;
    max-width: 200px;
    filter: brightness(0);
    transition: 0.8s;
}
#logo:hover {
    filter: brightness(1);
}
nav ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    gap: 60px;
}

nav ul a {
    font-family: var(--font-text);
    font-size: 20px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul a:hover {
    color: var(--grey-blue);
}
nav ul a.active {
    color: var(--grey-blue);
}


/* breadcrumb navigation styles */
.breadcrumb {
    padding: 50px 120px 50px;
    font-family: var(--font-text-secondary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--grey-blue);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--accent-light);
}


/* Hide mobile block by default (desktop) */
#mobile-block {
    display: none;
}

/* Show mobile block and hide main content on phones */
@media (max-width: 768px) {
    #mobile-block {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: #c7eaf4;
        padding: 20px;
    }

    #main-content {
        display: none;
    }

    .mobile-content {
        text-align: center;
        max-width: 400px;
    }

    .mobile-logo {
        width: 250px;
    }

    .mobile-slogan {
        font-family: 'Candal', sans-serif;
        font-size: 19px;
        color: #111212;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .mobile-icon-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mobile-title {
        font-family: 'Candal', sans-serif;
        font-size: 24px;
        color: #111212;
        margin-bottom: 20px;
        line-height: 1.3;
        text-align: center;
    }

    .mobile-text {
        font-family: 'Josefin Slab', serif;
        font-size: 18px;
        color: #649ab1;
        line-height: 1.6;
    }

    .rocket {
        color: #ff490a;
    }
}