@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:400,700');

*, *::before, *::after { box-sizing: border-box; }
body { 
    margin: 0;
    padding: 0;
    font-family: 'Josefin Sans', sans-serif;
   
}
/* Start header */




header { 
    height: 600px;
    background: url(../img/carbon_nanotubes.webp) no-repeat fixed center; 
    overflow: hidden;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 2%;
    margin-bottom: 2%;
    padding-top: 1%;
    
}

h1 { color: #fff;
    padding-top: 1px;
    text-align: center;
    font-size: 2em;
    /* text-shadow: 1px 1px 3px #fff; */
    
}

.logo { 
    float: left;
    font-size: 1.2em;
    font-weight: bold;
}

.logoimg {
    vertical-align: middle;
    margin-right: 10px;
}

nav { 
    height: 70px;
    
    width:90%;
    padding: 15px 30px;
    background-color: #8283abdc;
    color: black;
    position: fixed;
    font-size: 90%;
    
}

nav ul { 
    float: right;
    list-style-type: none;
}

nav li {
    display: inline-block;
    margin-left: 5px;
    margin-right: 20px;
}

nav a { 
    color: #fff;
    text-decoration: none;
}

nava:hover { text-decoration: none; }

/* End header */

.main-items {
  color: #fff;
  background-color: #5d5ec7dc;
}

/* main */
.main-block { 
    /* height: 350px; */
    background: url(../img/TEM_MWNT.gif) repeat ; 
    opacity: .9;
    overflow: hidden;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 25px;
    border: 2px solid black;
}

/* card */

  
  .card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    perspective: 600px;
    transition: .5s;
  }
  
  .card .front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    backface-visibility: hidden;
    transform: rotateX(0deg);
    transition: .5s;
  }
  
  .card:hover .front {
    transform: rotateX(-180deg);
  }
  
  .card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    backface-visibility: hidden;
    transform: rotateX(180deg);
    transition: .5s;
  }
  
  .card .back::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.1);
  }
  
  .card:hover .back {
    transform: rotateX(0deg);
  }
  
  .card .back .details {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .card .back .details h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    color: #fff;
  }
  
  .card .back .details h2 span{
    color: #a7a7a7;
    font-size: 16px;
  }
  
  .social-icons {
    padding: 10px 0;
  }
  
  .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    background: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: .5s;
  }
  
  .social-icons a .fa{
    line-height: 36px;
  }
  
  .social-icons a:hover {
    background: #f02833;
  }

  /* card -end */

  .name{
    color: black;
  }

  .main-block-items { 
    /* height: 350px; */
   
    overflow: hidden;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 25px;
    padding-left:1%;
    padding-right: 1%;
    border: 2px solid black;
}

  .interest{
    color: black;
    
  }
  .interest-items{
    color:black;
    text-align: justify;
    background-color: #5d5ec7dc;
  }

  a { 
    color: #fff;
    text-decoration: none;
}