/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    background-image: url('../images/escheresque.png');
    font: 13px/1.5 'Lato';
    max-width: 100vw;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.2s ease-in-out;
}

.empty-header-space {
    width: 100%;
    background-image: url('../images/escheresque.png');

    @media screen and (min-width: 720px) {
        height: 2.5rem;
    }

    @media screen and (max-width: 720px) {
        height: 1.5rem;
    }
}

.nav-up {
    top: -200px;
}

.contact-up {
    bottom: 0 !important;
}

.contact-down {
    bottom: -200px !important;
}

#nav {
    width: 100%;
    margin-top: 0px;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    color: black;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;


    a,
    span {
        margin: 0.25rem 2rem;
    }

    a {
        color: black;

        @media screen and (max-width: 720px) {
            color: white;
        }
    }

    a:hover {
        color: #fd6029;
    }

    span {
        color: #fd6029;
    }

    @media screen and (min-width: 720px) {
        background-image: url('../images/escheresque.png');
    }

    @media screen and (max-width: 720px) {
        flex-direction: column;
        align-items: flex-end;
        max-height: 0;
        overflow: hidden;
        transition: all .25s;
        padding: 0;
        background: rgb(54, 69, 79, 0.9);
    }
}

.nav-expand {
    max-height: 300px !important;
    padding: 0.5rem 0 !important;
}

.header-text {
    @media screen and (max-width: 720px) {
        border: 0; 
        clip: rect(0 0 0 0); 
        height: 1px;  
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
}

.header-logo {
    @media screen and (max-width: 720px) {
        display: none;
    }
}

.mobile-header-logo {
    display: none;
    width: 100%;
    height: auto;
    /* margin-left: 6rem;
    margin-right: 6rem; */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    @media screen and (max-width: 720px) {
        display: block;
    }
}

#contact-box {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    @media screen and (max-width: 720px) {
        flex-direction: column;
        align-items: center;
    }
}

.contact-text {
    width: 85%;
}

.main-container {
    max-width: 960px;
    margin: auto;
    margin-top: 190px;

    @media screen and (max-width: 720px) {
        margin-top: 100px;
    }
}

.about-page {
    @media screen and (max-width: 720px) {
        margin-bottom: 150px;
    }
}

.home-item-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 100%));
    grid-gap: 1rem;

    .photo {
        margin-top: 0;
    }

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

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    color: white;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.uberlink {
    color: white;
}

.grow {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.grow:hover {
    -webkit-transform: scale(1.025);
    -moz-transform: scale(1.025);
    -ms-transform: scale(1.025);
    -o-transform: scale(1.025);
    transform: scale(1.025);
}

.logo {
    background-color: #fd6029;
    max-width: 960px;
    min-height: 52px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

    a {
        display: flex;
        justify-content: center;
        align-items: center;

        @media screen and (max-width: 720px) {
            padding-left: 5rem;
            padding-right: 5rem;
        }
    }

    .header-logo {
        max-width: 32px;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin-left: 1.5rem;

        @media screen and (min-width: 720px) {
            max-width: 60px;
            padding-bottom: 6px;
        }
    }

    button {
        position: absolute;
        right: 0;

        @media screen and (min-width: 720px) {
            display: none;
        }
    }
}

.hamburger {
    @media screen and (max-width: 720px) {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
}

.hamburger-box {
    width: 30px !important;
}

.hamburger-inner {
    background-color: white;
    width: 30px !important;
}

.hamburger-inner::before {
    background-color: white;
    width: 30px !important;
}

.hamburger-inner::after {
    background-color: white;
    width: 30px !important;
}

a:link img {
    opacity: 1;
    position: relative;

}

a:hover img:not('.widget-link-half') {
    -webkit-filter: brightness(70%);
    -moz-filter: brightness(70%);
    filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    -webkit-backface-visibility: hidden;
    position: relative;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    transform: rotate(0);
    cursor: pointer;
}

a.phone_holder:link {
    color: black;
}

.social {
    -webkit-opacity: 1.0;
}

.social:hover {
    -webkit-opacity: 0.6;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

p {
    font-family: 'Lato', sans-serif;
    color: black;
    font-weight: 400;
    margin-bottom: 0px;
    letter-spacing: 1px;
    font-size: 15px;
}

h1 {
    font-family: 'Comfortaa', Tahoma;
    color: white;
    text-align: center;
    font-weight: 700;
    letter-spacing: 7px;
    /* font-size: calc(32px + (70 - 36) * ((100vw - 320px) / (1600 - 320))); */
    font-size: 32px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 5px;

    @media screen and (min-width: 720px) {
        font-size: 62px;
    }
}

h2 {
    font-family: 'Comfortaa', Tahoma;
    color: black;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0px;
    font-size: calc(14px + (17 - 14) * ((100vw - 320px) / (1600 - 320)));
    margin-top: -10px;
    padding-top: 10px;
    margin-bottom: 15px;
    margin-left: 4px;
}

h3 {
    font-family: 'Lato', sans-serif;
    color: #fd6029;

    font-weight: 700;
    letter-spacing: 0px;
    font-size: 18px;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 10px;
}

h4 {
    font-size: 18px;
    background-color: #fd6029;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: black;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 2px;
}

.email {
    font-family: 'Lato', sans-serif;
    color: #fd6029;

    font-weight: 400;
    letter-spacing: 0px;
    font-size: 20px;
    text-decoration: underline;
}

.lines {
    margin-top: 12px;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(100px, 1fr));
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;

    @media screen and (max-width: 720px) {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

.thumbnails {
    float: unset;

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

.photo {
    margin-top: 28px;
}

.photo2 {
    margin-top: 15px;
}

#footer {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-text {
    display: flex;
    align-items: center;

    img {
        width: 24px;
        height: 24px;
        margin-left: 4px;
        margin-right: 4px;
        object-fit: contain;
    }
  
  	> span {
    	display: flex;
      	align-items: center;
  	}
  
  	@media screen and (max-width: 420px) {
    	flex-direction: column;
  	}
}

.footer_border {
    border-bottom: black 1px solid;
    width: 347px;
    margin-bottom: 10px;
}

.about {
    margin-top: 20px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    color: black;
}

/*About Widget*/

.visual_contact {
    min-width: 230px;
    margin-right: 2rem;

    @media screen and (max-width: 720px) {
        margin-top: 20px;
        margin-right: 0;
    }
}

.widget-link-grid {
    display: grid;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 0.5rem;

    :nth-child(1) {
        grid-column: span 12;
    }

    :nth-child(2),
    :nth-child(3) {
        grid-column: span 6;
    }
}

.widget-link {
    text-decoration: none;
    background-color: #fd6029;
    padding: 0.5rem 0.25rem;
    text-align: center;
    color: white;
    font-size: 18px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    :visited {
        color: white !important;
    }
}

.widget-link:hover {
    -webkit-filter: brightness(70%);
    -moz-filter: brightness(70%);
    filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    -webkit-backface-visibility: hidden;
    position: relative;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    transform: rotate(0);
    cursor: pointer;
}

.widget-link-half {
    font-size: 14px;
}

.widget-link-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget {
    position: fixed;
    transition: bottom 0.2s ease-in-out;

    @media screen and (max-width: 720px) {
        width: 100vw;
        z-index: 1000;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        background-image: url('../images/escheresque.png');
      	padding-bottom: env(safe-area-inset-bottom);

        img:not(.social) {
            width: 96px;
            height: 96px;
            margin: 1rem;
            margin-left: 0;
        }
    }
}

.widget_content_box {
    margin-top: 24px;

    @media screen and (max-width: 720px) {
        margin-top: 0;
        padding: 1rem;
        padding-left: 0;
        padding-bottom: 0;
        width: 100%;
    }
}

.social_media_holder {
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: space-around;

}

.social-item {
  	margin-bottom: 4px;
  
    img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
}

.about-container {
    display: flex;

    @media screen and (max-width: 720px) {
        flex-direction: column;
    }
}

.fixedbox {
    min-width: 230px;
}

.left-text-container {
    padding-right: 5rem;
}