*{
  box-sizing: border-box;

}

header {
  margin: 0;
  background-color: black;
}

body{
  margin: 0;
}

a{
  color: grey;
  text-decoration: none;
}

ul{
  list-style: none;
}

li{
  text-transform: capitalize;
  font-family: 'Fredoka One', cursive;
  width: auto;
  margin: 5px;
}

footer{
  text-align: center;
  background-color:black;
  color: white;
  margin-bottom: 0;
  padding: 30px;
}





/*
  pseudo-classes
 */

:root{
   background: white;
 }

/* you can put the #class-id:target and apply a different style for the id element */
:target{
  box-shadow: 0px 0px 10px 15px rgba(0,0,0, .4);
}

a:hover{
  color: white;
}

.cover-image:hover{
  box-shadow: 0px 0px 10px 15px rgba(0,0,0, .8);
}

.clearfix::after{
  content: "";
  display: table;
  clear: both;
}

div~img:hover{
    box-shadow: 0px 0px 10px 8px rgba(0,0,0, .8);
}

/* this makes the image bigger when the mouse is over the image */
.profile-image:hover{
  transform: scale(1.3);
  border: solid 2px black;
}




/* ------ custom classes -------- */
.nav{
  margin:0;
  width: 100%;
  overflow: auto;
}

/* this makes every item of the list go in line instead on blocks */
.left-list li , .right-list li{
  display: inline-block;
}

.left-list{
  width: 46%;
  float: left;
  margin-top: 27px;
  padding-left: 0;
  margin-left: 0;
}

.right-list{
  text-align: right;
  width: 50%;
  float: right;
}

.container{
  margin: 0 auto;
  width: 98%;
}

/*this gives the circular shape to the profile image and also center it in the middle of the nav div in Y */
.profile-image{
  vertical-align: middle;
  text-align: center;
  width: 40px;
  height: 40px;
  border: solid 2px gray;
  border-radius: 50%
}


header{
  position: fixed;
  width: 100%;
}

/* this makes an sticky footer, it depends of the footer's size */
/* .wrap{
  height: calc(100vh - 78.4px);
} */

.cover-page{

  padding-top: 147px;
  padding-bottom: 40px;
  text-align: center;
  color: white;
  background: linear-gradient(0deg,#fff,transparent),
              url('https://placeimg.com/640/480/tech') no-repeat center;
  background-size:  cover;

}

.cover-image{
  position: center;
  margin-bottom: 40px;
  width: 250px;
  height: 250px;
  box-shadow: 0px 0px 10px 15px rgba(0,0,0, .4);
  border-radius: 50%
}


.col{
  height: auto;
  overflow: auto;
}

.main-title{
  text-transform: uppercase;
  color: black;
  font-family: 'Julius Sans One', sans-serif;
  font-family: 'Fredoka One', cursive;
  margin-bottom: 0;

}

.table-image{
  margin-bottom: 20px;
  width: 80%;
  height: 80%;
}

.in-table{
  width: 48%;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  float: right;
  margin-bottom: 100px;
}

.in-table p{
  line-height: 1.4;
  margin: auto;
  max-width: 80%;
  padding-bottom: 10px;
  text-align: justify;
}

.in-table h1{
    font-family: 'Julius Sans One', sans-serif;
    font-size: 2em;
}

.row-linear-right, .row-linear-left{
  margin: 100px 0px;
}

.row-linear-right p, .row-linear-left p{
  box-shadow: 0px 0px 10px 15px rgba(0,0,0, .8);
   margin: 0 auto;
   width: 80%;
   text-align: justify;
   padding: 20px;

}

.row-linear-right img{
  float:right;
}

.row-linear-right img, .row-linear-left img{
  margin: 0 auto;
  margin: 10px;
  width: 30%;
  height: 30%;
  box-shadow: 0px 0px 10px 3px rgba(0,0,0, .8);
}

.row-linear-left img{
  float:left;
}

/* this is a combinator for all the images tags after a div */
div ~ img{
  position: fixed;
  background-color: white;
  bottom: 4%;
  right: 1em;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: solid white;
  z-index: 1000;
}


/*   margin: 0 auto; */

/*  when the screen is bigger */
@media (min-width : 902px) and (max-width:1600px) {



.container{
  margin: 0 auto;
  width: 85%;
}

.in-table{
  width: 33.2%;
  margin-bottom: 100px;
}

.in-table p{
  max-width: 80%;
}

.table-image{
  margin-bottom: 20px;
  width: 150;
  height: 150;
}

div ~ img{
  width: 80px;
  height: 80px;
}

}

/* smaller sreen */
@media(max-width: 830px){

  .cover-page{
    padding-top: 197px;
  }

  .left-list{
    text-align: center;
    width: 100%;
    float: none;
    margin-top: 27px;

  }

  .right-list{
    text-align: center;
    width: 100%;
    float: none;
  }

  .container{
    margin: 0 auto;
    width: 85%;
  }

  .in-table{
    width: 100%;
  }

  .in-table p{
    max-width: 60%;
  }

  .table-image{
    margin-bottom: 20px;
    width: 60%;
    height: 60%;
  }


}
