html {
  /* The image used */
   background-image: url(https://images5.alphacoders.com/647/thumb-1920-647596.jpg);
   background-size: cover;
   background-repeat: no-repeat;
   position:relative; 
   min-height:100%;
}
body{
  margin: 0;
  font-family:'Open Sans', sans-serif;
  height: 100%;
}

/*Header*/
.topnav {
   background-color: #333;
   overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
   float: left;
   color: #f2f2f2;
   text-align: center;
   padding: 15px 0px;
   text-decoration: none;
   width:20%;
}
@media(min-width:600px){ 
.topnav a {
   font-size: 30px;
}}

@media(max-width:599px){ 
  .topnav a {
     font-size: 13px;
  }}
/* Change the color of links on hover */
.topnav a:hover {
   background-color: rgb(134, 82, 218);
   color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
   background-color: #4CAF50;
   color: white;
}
/*Home page*/
.H1Home {
   padding: 10px;
   text-align: center;
   font-size: 70px;
   font-weight: normal;
   overflow: hidden;
   color: #00f85f;
   min-height: 237px;
}

/*H1 at all pages*/
h1 {
   text-align: center;
   font-size: 50px;
   font-weight: inherit;
   color: rgb(210, 206, 252);
   transition: all 1s;
}
h1:hover {
   color: rgb(126, 218, 241);
}

.home-headline { 
  font-size:3.6vw; 
}

.home-text{
  text-align: center;
  font-size: 30px;
  color: #4CAF50;
}

/*CV page*/
.CV H2 {
   text-align: center;
   color: #afc2e6;
}
.CV H2:hover {
   color: rgba(6, 226, 255, 0.747);
}
.CVmain {
   font-size: 22px;
   text-align: center;
   color: rgba(255, 255, 255, 0.904);
   padding-left: 10px;
   padding-right: 10px; 
}

.rightimg {
  text-align: center;
  margin: 0 7px 7px 7px;
  opacity: 0.8;
 }
 .rightimg-2 {
  max-width: 20%;
  height: auto;
 }

/*Timetable page*/
.table_dark {
   font-size: 20px;
   width: 1310px;
   text-align: center;
   border-collapse: collapse;
   background: #252F48;
   margin: auto;
   position: relative;
}

.table_dark th {
   color: rgb(56, 211, 63);
   border-bottom: 1px solid #37B5A5;
   padding: 12px 17px;
}
.table_dark td {
   color: #CAD4D6;
   border-bottom: 1px solid #37B5A5;
   border-right:1px solid #37B5A5;
   padding: 7px 17px;
}
.table_dark tr:last-child td {
   border-bottom: none;
}
.table_dark td:last-child {
   border-right: none;
}
.table_dark tr:hover td {
   text-decoration: underline;
}
/*Photos page*/
#gallery {
   width: 720px;
   overflow: hidden;
   position: center;
   z-index: 1;
   margin: 80px auto;
}
#navigation {
   list-style: none;
   padding: 0;
   margin: 0;
   float: left;
}
#navigation li {
   padding: 0;
   margin: 0;
   float: left;
   clear: both;
}
#navigation li a img {
   display: block;
   border: none;
}
#navigation li a {
   display: block;
}
#full-picture {
   width: 600px;
   height: 451px;
   overflow: hidden;
   float: left;
}

.contact-text {
  font-size:1.7vw;
}

/*Footer*/
footer {
   height: 80px;
   bottom: 0;
   position: absolute;
   opacity: 0.7;
   text-align: center;
   border-top: 5px solid;
   border-image: linear-gradient(to right, #039e25 25%,#0267ff 25%, #3801ff 50%, #00f85f 50%, #00ff0d 75%, #2600ff 75%) 5;
   width: 100%;
  }
.social {
   background-color: rgba(54, 23, 105, 0.425);
   padding: 20px 0;
}
.social a{
   display: inline-block;
   background-size: contain;
   background-position: center;
   background-repeat: no-repeat;
   height: 35px;
   width: 80px;
   cursor: pointer;
}
.social-facebook {
   background-image: url('https://image.flaticon.com/icons/svg/54/54997.svg');
}
.social-vk {
   background-image: url('http://icons.iconarchive.com/icons/icons8/windows-8/512/Social-Networks-Vk.Com-icon.png');
}
.social-linkedin {
   background-image: url('https://cdn3.iconfinder.com/data/icons/free-social-icons/67/linkedin_circle_black-512.png');
}
.Site {
   display: flex;
   min-height: 97vh;
   flex-direction: column;  
}

.box{
  background-color: rgba(7, 25, 99, 0.527);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 70%;
  height: 100%;
}

.Empty-box1{
  width:50%;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
}

.Empty-box{
  width:50%;
  height: 353px;
  margin-left: auto;
  margin-right: auto;
}

.leftt {
  float:left;
  width:400px;
 }

 .rightt {
  float:right;
  width:400px;
 }

 .copyright{
   float: right;
   color: rgb(141, 148, 170);
   max-height: 53px;
 }

 .emptySocial{
   float: left;
   height: 53px;
   width: 280px;
 }

 .content {
  padding-bottom: 160px; 
  width:100%;
  height: 100%;
 }
