* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;  
}

body {
  min-height: 100%;  
  background: #eee;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #222;
  font-size: 14px  ;
  line-height: 26px;
  padding-bottom: 50px;
}

.topmenu {
  max-width: 1200px;   
  background: #555;
  margin: 0px auto 0px; 
  box-shadow: 1px 1px 2px #DAD7D7;
  border-radius: 3px;  
  padding: 5px 40px 5px 40px;
  margin-top: 50px;


/* Add a dark background color to the top navigation */
.topnav {
  background-color: #555;
  overflow: visible;
  height:50px;

  .dropdown-right {
  position:relative;
  z-index:2;
  float:right;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  }

  .dropdown-left {
    position:relative;
    z-index:1;
    float:left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    }


  .dropdown-content,
  .dropdown-content a{
    display: none;
    position: absolute;
    background-color: #ddd;
    color: black;
    text-decoration: none;
    padding: 5px 5px;
    z-index:1;
  }

  .dropdown-content{
    position:relative;
    margin-top: 5px;
  }

  .dropdown-left:hover .dropdown-content,
  .dropdown-left:hover .dropdown-content a{
    position:relative;
    display: block;
  }

  .dropdown-right:hover .dropdown-content,
  .dropdown-right:hover .dropdown-content a{
    position:relative;
    display: block;
  }

}


/* Style the links inside the navigation bar */
.topnavitem a,
.topnav span{
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

}

/* Change the color of links on hover */
.topnavitem a:hover ,
.topnav span:hover{
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnavitem a.active {
  background-color: #54AFE4;
  color: white;
}


/* Images */
.image-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

/* Style buttons */
.btn {
  background-color: rgb(6, 27, 49);
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: rgb(22, 98, 212);
}


/* Main block of the web pages */

.container {
  max-width: 1200px;   
  background: #fff;
  margin: 0px auto 0px; 
  box-shadow: 1px 1px 2px #DAD7D7;
  border-radius: 3px;  
  padding: 40px;
  margin-top: 10px
}


.textblock {

  .full-name {
    font-size: 35px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
  }
  

  .namedesc {
    margin-bottom: 20px;
  }

  
  .contact-info {
    margin-bottom: 20px;
  }
  
    
  .section {
    margin-bottom: 40px;  
  }
  
  .section:last-of-type {
    margin-bottom: 0px;  
  }
  
  .section__title {
    letter-spacing: 2px;
    color: #54AFE4;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  
  .section__list-item {
    margin-bottom: 40px;
  }
  
  .section__list-item:last-of-type {
    margin-bottom: 0;
  }
  
  .monocolumn ,
  .column1 ,
  .column2 ,
  .left ,
  .right {
    vertical-align: top;
    display: inline-block;
  }
  
  .left {
    width: 38%;    
  }
  
  .right {
    text-align: right;
    width: 60%; 
  }
  
  .column1 {
    width: 19%;    
  }
  
  .column2 {
    width: 19%;    
  }

  .monocolumn {
    width: 99%; 
  }
  
  
  .name {
    font-weight: bold;
  }
  
  .white-link, .white-link:hover{
    color: white;
    text-decoration: none;
  }
  
  a{
    text-decoration: none;
    color: #54AFE4;
  }
  
  a:hover {
    text-decoration: underline;
    color: #54AFFF;
  }
  
    
  .skills__item {
    margin-bottom: 10px;  
  }
  
  .skills__item .right {
    input {
      display: none;
    }
    
    label {
      display: inline-block;  
      width: 20px;
      height: 20px;
      background: #C3DEF3;
      border-radius: 20px;
      margin-right: 3px;
    }
    
    input:checked + label {
      background: #79A9CE;
    }
  }
}

