/* style sheet for hobby home */

*{
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: rgb(6, 49, 6);
    background-image: linear-gradient(45deg, hsl(210, 86%, 3%), hsl(13, 58%, 15%), hsl(183, 92%, 14%));
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

#container {
   /* border: 4px solid red;*/
    width: clamp(390px, 100%, 1440px);
    min-height: 700px;
    margin: 4px auto;
    padding-bottom: 80px;
}

#navbar {
        /*border: 4px solid yellow;*/
        min-height: 100px; 
        color: #EEE;
        text-align: center;
        position: relative;
        padding-top: 18px;
        margin-top:12px;
        
    }

    #logo {
       
        display: inline-block;  
        height: 100px;
        width: 90px;
        background-image: url(../images/bearinspire.png); 
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute; top: 0px; left: 15px;
        border-radius: 12px;
}

#navbar nav > ul {
        /* border: 2px solid red; */

        min-height: 100px;
        display: flex;
        flex-direction: row; 
        list-style-type: none;
        padding-top: 15px;
        margin-left: 280px;
        margin-right: 150px;
    }

    nav > ul > li {
    
        height: 42px;
        flex: 1 0 auto;
        position: relative;
        list-style-type: none;
        margin-right: 8px;
        margin-left: 8px;
    }

    nav > ul > li > a {
        border: 2px solid rgb(137, 85, 12);
        border: 3px solid #EEE;
        background-color: hsl(107, 87%, 12%);
        display: block;
        width: 90%; height: 100%;
        text-align: center;
        padding: 5px;
        margin-left: 15px; margin-right: 15px;
        text-decoration: none;
        list-style-type: none;
        color: #e7e7e7;
        text-shadow: 4px 4px 5px #222;
        box-shadow: 8px 10px 14px #222;
        border-radius: 6px;
        transition: all .3s ease-in-out;
     }

     nav > ul > li > a:hover {
         height: 120%; width: 106%;
        background-color:rgb(22, 62, 88);
        color: black;
        font-size: larger;
     }

     #banner {
        border: 6px solid black;
        background-color: #222;
        background-image: url(../images/mountain_ride.jpg);
        background-repeat: no-repeat;
        height: 385px;
        width: 100%;
        position: relative;
        aspect-ratio: 1000/400;
        margin-top: 10px;
        border-radius: 4px;
    }

    .gradient-overlay {
        position: absolute; top: 0; left: 0; width: 100%;
        aspect-ratio: 1000/400;
        background-image: linear-gradient(90deg, hsla(0,100%,0%,.7), hsla(0,100%,0%,.2));
    }

    p.overlay-text {
        position: absolute; top: 110px; left: 40px;
        font-size: 3em;
        font-weight: bold;
        color: #FFF;
        width: 75%;
        margin-left: 75px;

       /* text-transform: lowercase;*/
    }

    p.overlay-text span {
        font-size: 1em;
        padding-top: 100px;
       
        margin-left: 370px;
    }

    #intro {
        
        background-color: rgb(36, 87, 105);
        background-image: linear-gradient(45deg, rgb(15, 44, 15), rgb(22, 62, 88));
        color: #EEE;
        text-align: left;
        font-size: 1.2em;
        padding: 12px;
        margin-top: 10px;
        position: relative;
    }

    #intro img {
    
        /*position: absolute;*/
        top: 25px; left: 10px;
        width: 35%;
        padding: 10px;
        float: left;
    }

    #intro img ~ p {
        color: #EEE;
       
    }

    #intro p {
        color: #EEE;
        padding-bottom: 10px;
    }

    #pics {
        
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 20px;
        margin-top: 30px;
    }

    #pics div {
        
        flex: 1 0 22%; /* flex grow, shrink and basis */
        background-color: rgb(94, 47, 6);
        margin-right: 12px;
        margin-left: 12px;
        border-radius: 10px;
        
    }

    #pics div figcaption {
        min-height: 32px;
        background-color: black;
        color: white;
        line-height: 20px;
        text-align: center;
        padding-top: 6px;
        margin-top: 255px;
        

    }

    #pics div:nth-child(1) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/into_sun.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
        
    }

    #pics div:nth-child(2) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/couple_on_beach.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics div:nth-child(3) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/roadside.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics div:nth-child(4) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/virginiacity.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics2 {
                
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 35px;
        margin-top: 30px;
    }

    #pics2 div {
        /* border: 4px solid red; */
        flex: 1 0 22%; /* flex grow, shrink and basis */
        background-color: rgb(94, 47, 6);
        margin-right: 12px;
        margin-left: 12px;
        border-radius: 10px;
    }

    #pics2 div figcaption {
        min-height: 32px;
        background-color: black;
        color: white;
        line-height: 20px;
        text-align: center;
        padding-top: 6px;
        margin-top: 255px;
    }

    #pics2 div:nth-child(1) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/motorcross.jpg);
        background-size: cover;
        
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics2 div:nth-child(2) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/1970s_beach.jpg);
        background-size: cover;
        
       
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics2 div:nth-child(3) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/daytona.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
    }

    #pics2 div:nth-child(4) {
        background-color: rgb(139, 93, 64);
        background-image: url(../images/girl_bike.jpg);
        background-size: cover;
        width: 100%;
        background-repeat: no-repeat;
        border: 6px solid black;
    }


    #foot {
        
        min-height: 215px;
        background-color: black;
        position: relative;
        /*margin-left: 400px;
        margin-right: 400px;*/
        margin-top: 0px;
        border-radius: 10px;
    }

    #foot img {
        border: 3px solid black;
        margin-left: 100px;
        margin-top: 20px;
        text-align: center;
    }

    #foot ul {
        
        display: inline-block;
        position: absolute;
        right: 340px;
        top: 55px;
        text-align: left;
        color: white;
    }

    #foot ul li {
        padding: 3px;
    }

    #foot ul a {
        color: white;
        text-decoration: none;
        list-style: circle;
        margin-top: 25px;
        padding-top: 20px;
        
    }

    #foot p {
        color: white;
        position: absolute;
        top: 15px;
        right: 460px;
        padding-bottom: 5px;
        margin-bottom: 20px;
        border-bottom: 3px solid white;
        
    }

    #logo2 {

        display: inline-block;  
        height: 100px;
        width: 90px;
        background-image: url(../images/bearinspire.png); 
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute; top: 45px; right: 100px;
        
    }


    #foot #copy {
        height: 20px;
        color: white;
        font-size: small;
        position: absolute;
        bottom: 5px;
        right: 50px;
     
    }
    /*==================================================================================================*/

    @media screen and (max-width: 750px)  {

        
    #navbar li {
        margin-bottom: 20px;
    }
        
    
    #navbar nav > ul {
            /* border: 2px solid red; */
    
            
            
            flex-wrap: wrap;
            
            margin-left: 90px;
            margin-right: 15px;
        }
    
        
    
        
         
    
         #banner {
            border: 6px solid black;
            background-color: black;
            background-image: url(../images/mountain_ride.jpg);
            background-size: 200%;
            background-repeat: no-repeat;
            background-position: 100% 50%;
            height: 295px;
            width: 100%;
            position: relative;
            aspect-ratio: 1000/400;
            margin-top: 5px;
        }
    
        .gradient-overlay {
            display: none;
            position: absolute; top: 0; left: 0; width: 100%;
            aspect-ratio: 1000/400;
            background-image: linear-gradient(90deg, hsla(0,100%,0%,.7), hsla(0,100%,0%,.2));
        }
    
        p.overlay-text {
            display: none;
            position: absolute; top: 110px; left: 40px;
            font-size: 3em;
            font-weight: bold;
            color: #FFF;
            width: 75%;
            margin-left: 75px;
    
           /* text-transform: lowercase;*/
        }
    
        p.overlay-text span {
            font-size: 1em;
            padding-top: 100px;
           
            margin-left: 370px;
        }
    
        #intro {
            
            min-height: 765px; background-color: rgb(36, 87, 105);
            background-image: linear-gradient(45deg, rgb(15, 44, 15), rgb(22, 62, 88));
            color: #EEE;
            text-align: left;
            line-height: 1.5;
            font-size: 1.1em;
            padding: 12px;
            margin-top: 5px;
            position: relative;
        }
    
        #intro img {
            display: none;
            /*position: absolute;*/
            top: 25px; left: 10px;
            width: 35%;
            padding: 10px;
            float: left;
        }
    
        #intro img ~ p {
            color: #EEE;
           
        }
    
        #intro p {
            color: #EEE;
            padding-bottom: 8px;
        }
    
        #pics {
            
            display: flex;
            flex-flow: row wrap;
            margin-bottom: 20px;
            margin-top: 30px;
        }
    
        #pics div {
            border: 6px solid red;
            flex: 1 0 40%; /* flex grow, shrink and basis */
            background-color: red;
            margin-right: 12px;
            margin-left: 12px;
            border-radius: 10px;
            flex-wrap: wrap;
            justify-content: space-evenly;
            margin-bottom: 30px;
        }
    
        #pics div figcaption {
            color: white;
            text-align: center;
            margin-top: 245px;
        }
    
        #pics div:nth-child(1) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/into_sun.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics div:nth-child(2) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/couple_on_beach.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics div:nth-child(3) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/roadside.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics div:nth-child(4) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/virginiacity.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics2 {
            
            display: flex;
            flex-flow: row wrap;
            margin-bottom: 35px;
            margin-top: 30px;

        }
    
        #pics2 div {
            /* border: 4px solid red; */
            flex: 0 0 45%; /* flex grow, shrink and basis */
            background-color: rgb(94, 47, 6);
            margin-right: 12px;
            margin-left: 12px;
            margin-bottom: 30px;
            border-radius: 10px;
        }
    
        #pics2 div figcaption {
            color: white;
            text-align: center;
            margin-top: 245px;
        }
    
        #pics2 div:nth-child(1) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/motorcross.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics2 div:nth-child(2) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/1970s_beach.jpg);
            background-size: cover;
            
            
            background-repeat: no-repeat;
            
        }
    
        #pics2 div:nth-child(3) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/daytona.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
        #pics2 div:nth-child(4) {
            background-color: rgb(139, 93, 64);
            background-image: url(../images/girl_bike.jpg);
            background-size: cover;
            
            background-repeat: no-repeat;
            
        }
    
    
        #foot {
            
            height: 415px;
            background-color: black;
            /* position: relative; */
            /*margin-left: 400px;
            margin-right: 400px;*/
            display: flex;
            flex-direction: column;
            margin-top: 0px;
            border-radius: 10px;
        }
    
        #foot img {
            display: none;
            border: 3px solid black;
            margin-left: 100px;
            margin-top: 20px;
            text-align: center;
        }
    
        #foot ul {
            
            display: block;
            /* position: absolute; */
            right: 60px;
            top: 95px;
            text-align: left;
            color: white;
        }
    
        #foot ul li {
            padding: 3px;
        }
    
        #foot ul a {
            color: white;
            text-decoration: none;
            list-style-type: none;
            margin-top: 25px;
            padding-top: 20px;
            
        }
    
        #foot p {
            color: white;
            /* position: absolute; */
            top: 55px;
            right: 200px;
            padding-bottom: 5px;
            margin-bottom: 20px;
            border-bottom: 3px solid white;
            
        }
    
        #logo2 {
            /* border: 2px solid red; */
            display: block;  
            height: 100px;
            width: 90px;
            background-image: url(../images/bearinspire.png); 
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            position: absolute; top: 265px; right: 250px;
            
        }
    
    
        #foot #copy {
            /* border: 2px solid blue; */
            height: 20px;
            color: white;
            font-size: small;
            /* position: absolute; */
            bottom: 5px;
            right: 200px;
         
        }
    


    }


    

