* {
    box-sizing: border-box;
}

body {
  margin: 0;
  background: url("Background.png") no-repeat scroll;
  background-size: 100%;
  overflow-x:hidden;
  overflow-y: scroll;
}

.header {
  overflow: hidden;
  background-color: #292b2c;
  padding: 20px 10px;
}

.header a {
  
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: rgb(3, 3, 3);
  color: white;
}

.header a.active {
  background-color: green;
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

p {
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin: 0px 120px;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-top: 35px;
}

h2 {
     text-align: center; font-size: 30px;
}


pre {
    padding: 10px 460px;
}



#about {
    margin-top: inherit;

}

.effects {
  background: url(effect4.gif) no-repeat center;
  background-size: 10%;
}

.skillContainer {
  width: 80%;
  margin-left:120px;
  background-color: #ccc;
}

.skills {
  text-align: right;
  line-height: 15px;
  color: white;
}

.html {width: 90%; background-color:  rgb(70,70,70);}
.css {width: 90%; background-color:   rgb(70,70,70);}
.js {width: 95%; background-color:  rgb(70,70,70);}
.cplusplus {width: 75%; background-color:  rgb(70,70,70);}
.mysql {width: 75%; background-color: rgb(70,70,70);}
.python {width: 55%; background-color:  rgb(70,70,70);}


.col-container {
  display: table;
   width: 100%;
}

.col{ 
   display: table-cell;
   margin: 0px 70px;
   padding: 0px;
  }

.photo {
  border-radius: 25px;
  background: url("photo.png");
  background-position: left top;
  background-repeat: repeat;
  padding: 10px 15px; 
  display: block;
  width: 190px;
  height: 183px;
  /* margin: 10px 80px; */
  margin-top:  10%;
  margin-left: 50%;
} 

/* Footer */
.footer {
  color: gray;
  font-size: 12px;
  background-color: #292b2c;
  padding: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.contact {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 1;
  overflow: hidden;
  background-color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px; 
}

li  {
  float: right;
}

li.logo {
  display: block;
  float: left;
  color: white;
  text-align: center;
  margin: 0;
  text-decoration: none;
  font-size: 30px;
  font-family: "Times New Roman", Times, serif;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 5px;
  text-decoration: none;
}

li a:hover {
  background-color: #111111;
}

.cv {
  display: flex;
  flex-direction: column;    
  align-items: center;
  

}

.cv a{
  border: 1px solid black;
  border-radius: 5px;
  outline-style: solid;
  color: #ccc;
  background-color: black;
  text-decoration: none;
}