body{
    margin: 20px;
    background-color: tan;
    text-align: center;
}
h1{
    text-align: center;
}
nav ul{
    list-style-type: none;
    background-color: olive;
    padding: 2px;
    margin: 8px;
    overflow: hidden;  
    flex-grow: 1;
    text-align: center;
    display: flex;
}
nav a{
   color: white;
   text-decoration: none;
   padding: 10px;
   display: block;
   text-align: center;
}
nav a:hover{
    background-color: black;
}
nav li{
  
}
.text-center {
    text-align: center;

}
.textC{
    text-align: center;
}
.bgh1{
    background-color: olive;
    color: white;
    border-radius: 80%;
    margin-top: 5px;
    margin: 6px;
}
.textcolor{
    background-color: olive;
    color: white;
    padding: 6px;
    width: 700px;
    text-align: center;
    margin: auto;
}

#me{
    height: 350px;
    display: block;
    margin: 40px auto;
    border: 10px solid olive;
}
#bg{
   background-color: blanchedalmond;
}
nav{
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
}
.logo{
    background-color: olive;
    color: white;
    border-radius: 50%;
    margin-top: 6px;
    margin: 6px;  
    position: fixed;
    bottom: 0;
    right: 0;
    height: 70px;
}
.project {
    display: flex;
    padding-top: 50px;
    
}
.project img {
    border-radius: 24px;
    margin: 14px;
}
.project:nth-child(even){
flex-direction: row-reverse;
}
.fontt {
    font-style: italic;
 font:  sans-serif;
}
nav{
   margin: auto;
   text-align: center;
}

.button{
    background-color: olive;

}
.cbutton{
    background-color: paleturquoise;
}
.formcolor{
    font-style: oblique;
}

.iconbutton{
    color: cyan;
    background-color: olive;
    margin-top: 3px;
    padding: 3px;
    border-radius: 50%;
}

.iconcol{
    color: indianred;
}

.nsu{
    height: 300px;
    width: 250px;
}

.sfont{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.photog{
    border: 5px dotted beige;   
}

.treep{
    border: 5px dotted beige;
}

.row {
    display: flex;
  }
  
  .column {
    flex: 33.33%;
    padding: 5px;
  }
 
  @media screen  and (max-width:400px) {
    nav {
        flex-direction: column;
        width: 100%;  
    }
    .textcolor {
        /* flex-direction: column; */
        width: 100%;
    }
     .row {
        flex-direction: column;
        width: 100%;
     }
     .photog{
        flex-direction: column;
        width: 70%;
     }
    .treep {
        flex-direction: column;
        width: 100%;
    }
    video{
        flex-direction: column;
        width: 100%;
    }
    .emailss {
        flex-direction: column;
        width: 100%;
    }
    .project img {
        flex-direction: column;
        width: 200px;
    }
  }

  @media screen  and (min-width:400px) {
    nav {
        flex-direction: column;
        width: 100%;
    }
    .textcolor {
        /* flex-direction: column; */
        width: 100%;
    }
     .row {
        flex-direction: column;
        width: 100%;
     }
     .photog{
        flex-direction: column;
        width: 70%;
     }
    .treep {
        flex-direction: column;
        width: 100%;
    }
    video{
        flex-direction: column;
        width: 100%;
    }
    .emailss {
        flex-direction: column;
        width: 100%;
    }
    .project img {
        flex-direction: column;
        width: 200px;
    }
    .games{
        border: 5px solid beige;
        flex-direction: column;
           width: 70%
  }
  }
  .emailss {
    text-align: center;
  }
  .games{
    border: 5px solid beige;
    flex-direction: column;
           width: 70%
}
.gymfont{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    flex-direction: column;
    width: 70%
}
.icong {
    color: royalblue;
}
.icongg{
    color: black;
}
.webs:hover{
    background-color: olive;
}
.webs:visited {
    color: red;
}