

    
   html {
    box-sizing: border-box;
}
    body {
        max-width:1400px;
    }
p {
     background-color:rgb(160, 160, 160); 
     color:black;
     /*font-family: 'Aldrich', "Ink Free",sans-serif; */
     font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
     font-weight: bold;


 }
 
 .topsect {
    display:flex;
    color:white;
    background:linear-gradient( gray, rgb(67, 60, 71));

    min-height:60px;
    text-align: center;
   
}

.linkphotopage {
    color:white;
    font-size: 25px;
   margin-left: 400px;
   margin-top: 20px;
}

h1#pgtit {
    margin-left:15px;
    color:white
  }

.container  {
    font-weight:bold;
    color: #fff;
    background-color:rgb(98, 98, 117);

    
}
.subnav {
    display:block;
   
}
 
 img {
    border:2px solid black;
    padding: 1px;

   }




 img#logo {
    width:80px;
    height: 80px;
   
 }


.header {
    background:#8daee6;
    color:#fff;
    min-height:90px;
    font-size:1rem;
}

.navbar .title {    /*watch that is space before "." in 2nd reference */
    font-family: 'Cinzel', serif;
    font-size:35px;
    text-decoration: none;
    padding-left: 5px;
    padding-right: 15px;
    /* margin-bottom:5px;
    position: absolute;
    top:0px;
    left: 200px; */
   /* color:rgb(184, 160, 75);*/
    
    /*font: size 20px;
    font-weight:bold;*/   

}

a.basiahome {    /* to change link color and style for Basia home page lin */
    color:rgb(184, 160, 75);
    text-decoration: none;
}

.header a {
    color:rgb(255, 255, 255);
    text-decoration:none;
    font-size:25px;
    font-weight:bold;
}
.navbar a:hover {
    color:rgb(174, 201, 236);
    
}

.header .container {
    display:flex;
   /* justify-content: space-between;*/
    align-items: center;
    height:100%;  /* to get logo and link labels to center of navbar */


}
li#t1 {
  
  
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-left:430px;
         
}

div#p1 {   /*intro in header This site is for friends.....*/
   
    background-color: rgb(160, 160, 160);
    margin-left: 40px;
    font-size:.75rem;
}
.pagedescr{
    background:linear-gradient( gray, rgb(67, 60, 71));
    color:white;
    max-width: 900px; 
}

.navbar ul{
    display:flex;


}
.navbar ul li {
     margin-left:2px;
     border-right: 2px solid black;
     font-size: .75rem;
}
.navbar h1{
    font-size:3rem;
    font-weight:bold;
    line-height:1.2;

}
.navbar .container {
    display:block;
    align-items:center;
    justify-content:space-between;
    background-color: rgb(215, 230, 224);

}

.rowhead {
    color:white;
    margin:0;
    padding-top:20px;
    padding-bottom:5px;
    margin-bottom: 0;
    padding-left: 2rem;
   
   
}
.underline {
    margin:0;
    padding:0;
    display:flex;
    height:0;


}

.underline::before {
    content:'';
    background-color:black;
    height:3px;
    width:300px;
    margin-top: 0px;
    margin-left:0px;
   
    
}
.lrow {   /* key to placement of boxes*/
    display:block;
    align-items:center;
    justify-content:space-between; 

    justify-items: center;
    

}
ul .nav {
display:block;
}


div#p2 {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align:left;
   position:relative;
   
   min-width:250px;
    max-width: 1000px;
    
}


h2 {
    font-size:50px;
    margin-top:0;
   
}
.linktitle {
    font-size:1.25rem;
    font-weight: bolder;
}

.cap1 {
    
    color: white;
    width:250px;
    height:2rem;
    text-align: center;
    margin:auto;
    background-color: lightslategray;
    position:static;
    margin-top:1em;
    font-style: italic;
    opacity: 75%;
    
}

 

 button{
        border:none;
        padding-top:25px;
        text-align:center;
        text-decoration: none;
        font-size:12px;
        


 }
 ul{
     list-style-type:none;
     padding:5px;
     margin:0px;
     overflow:hidden;
     background-color:lightslategray;
     text-align: center;  /* aligns image too */



 }
 li a {
        float:left;
        color:white;
        padding:7px 5px;
        text-align:center;
        text-decoration:none;
        min-width:40px;
     
     

 }
li a:hover {
        background-color:rgb(58, 52, 52);

        animation:myGlowAnimation;
        animation-duration:3s;
        animation-iteration-count: infinite;
}
 ul li {

     justify-items: center;
   
 }
  
 .photobox {
    display:flex;
    flex-direction: column;
    margin: 10px;
    /*background-color: rgb(85, 85, 87);*/
    padding:5px;
    border:solid black 5px;
    border-radius: 5%;
    max-width:90%;
    height:auto;
    background-color: lightslategray;
  
        
       
} 



.photo {
    border:solid white 2px ;
   
  
}


@keyframes myGlowAnimation {
    50% {text-shadow: 0px 0px 10px red;}

}

@media (min-width:768px) {

    .header {
    
        min-height:90px;
        font-size:1.2rem;
    }
    .navbar .container {
    display:flex;
    margin:0;
    justify-content: left;
  }
  .navbar ul li {
    margin-left:4px;
    border-right: 2px solid black;
    font-size: 1rem;
    }
  .block2 {
    display:block;
    }
  div#p2 {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align:left;
   position:absolute;
    left:320px;
    top: 275px;
   min-width:368px;
    max-width: 1000px;
    
    }


    .lrow {
    display:flex;
    flex-direction: row;
    }
  

    #title {
    color:blue;


    }
    .block#b1 {
    color:black;
    background-color: lightgray;
    width:250px;

    }
    #foot {
    margin-top:-50px;
    margin-left: 25px;
    }  
}