/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html {
  scroll-behavior: smooth;
}
/* 1) Page-level flex layout */
html, body { height: 100%; }                /* legacy safety */
body {
  min-height: 100dvh;                       /* handles mobile browser UI better than 100vh */
  display: flex;
  flex-direction: column;
}

/* 2) Let your main wrapper fill the space */
#page {                                     /* the wrapper after the header in your markup */
  flex: 1 0 auto;
}

/* 3) Footer sits at the bottom when content is short */
.site-footer {
  margin-top: auto;
}

.error404 .site-content {
    padding:40px;
    text-align: center;
}
.search-form input{
    border:1px solid #243746;
}
.sponsor-button {
    color: #243746!important;
}

.wp-block-navigation .wp-block-navigation-item {
    padding: 0 15px;
}
.main-navigation .menu-toggle {
    font-size: 36px;
    padding-right:0;
}
@media screen and (max-width: 550px) {
    .site-logo {
        max-width: 300px;
    }

    .wp-block-navigation__container {
        flex-direction: column;
    }

    .wp-block-social-links {
        font-size: 20px;
    }
    .main-navigation .menu-toggle {
        font-size: 30px;
    }
}

@media screen and (max-width: 450px) {
.site-logo {
    max-width: 220px;
}
}

@media screen and (max-width: 350px) {
.site-logo {
    max-width: 200px;
}
.inside-header{
    padding:20px;
}
.main-navigation .menu-toggle {
    font-size: 26px;
}
}
