h1 {
    border: 6px solid black;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #3498db;
}

body {
    background-color: grey;
   
}



.example {
    margin-bottom: 20px;
 
    background-color: rgb(202, 238, 226);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-align: center;
}

.box {
    width: 150px;
    height: 150px;
    background-color: #3498db;
    margin: 10px;
    color: black;
    text-align: center;
    display: inline-block;
    padding: 10px;
    border: 3px solid black;
}

/* Display Examples */

#example h2 {
    background-color: #0068B1;
}

.example {
    margin: 20px;
}

.box {
    width: 150px;
    height: 150px;
    background-color: #587f99;
    color: black;
    text-align: center;
    line-height: 150px;
    margin: 10px;
    display: inline-block;

}

/* Display Examples */


.block-example {
    display: block;
}

.inline-example {
    display: inline;
}

.inline-block-example {
    display: inline-block;
}

.none-example {
    display: none;
}

.explanation {
    font-weight: bold;
}

/* Position Examples */

h3 {
    background-color: #4FB06D;
}

.container {
    background-color: lightgray;
    position: relative;
    width: 300px;
    margin: 10px;
    padding: 10px;
  }
  
  p, h2 {
    margin: 5px;
  }
  
  #relative-p {
    position: relative;
    top: 40px;
    left: 40px;
  }
  
  #absolute-p {
    position: absolute;
    top: 40px;
    left: 40px;
  }
  
  #static-p, #relative-p, #absolute-p{
    background-color: lightblue;
  }


  #div-1 { background-color: #FF5C35; }

#div-2 {
  position: static;
  background-color: #0068B1;
}

#div-3 { background-color: #4FB06D; }


/* Transform Examples */

h4 {
    background-color: #4FB06D;
}

.translate-example {
    transform: translate(50px, 50px);
    margin-right: 200px;
    margin-bottom: 200px;
}

.scale-example {
    transform: scale(1.5);
}

.rotate-example {
    transform: rotate(45deg);
}

.skew-example {
    transform: skew(20deg, 10deg);
}

.transform-none-example {
    transform: none;
}



  

