html, body {
  height: 100%;
  margin: 0;
}
.wrapper {
  min-height: 100%;

  /* Equal to height of footer */
  /* But also accounting for potential margin-bottom of last child */
  margin-bottom: -50px;
}

.push {
  height: 50px;
}

body 
{
    color : black;
    background-color : #e9e9e9;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}


header
{
    color : black;
    margin : -10px -0px;
    padding : 0px;
    padding-top: 10px;
}

ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display : flex;
    flex-direction : row;
    justify-content: center;
    align-items: center;
    background-color : #88bbd6;
}


li
{
    
}

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

li a 
{
    display: block;
    text-align: center;
    padding : 8px;
    transition: background-color 0.5s;
}

.active
{
    background-color : #cdcdcd;
}

li a:hover
{
    background-color : #99d3df;
    transition: background-color 0.5s;
}


#welcome
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background : url("mountains.svg") no-repeat center;
    background-size: contain;
    height: 12vw;
    position: relative;
    margin: 10px -0px;
    padding: 25px 8px;
    text-align: center;
    background-color: #99d3df;
}

#physics
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background : url("moon.svg") no-repeat center;
    background-size: contain;
    height: 12vw;
    position: relative;
    margin: 10px -0px;
    padding: 25px 8px;
    text-align: center;
    background-color: #cdcdcd;
}

#computer
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background : url("screen.svg") no-repeat center;
    background-size: contain;
    height: 12vw;
    position: relative;
    margin: 10px -0px;
    padding: 25px 8px;
    text-align: center;
    background-color: #e9e9e9;
}

#robotics
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background : url("robot.svg") no-repeat center;
    background-size: contain;
    height: 12vw;
    position: relative;
    margin: 10px -0px;
    padding: 25px 8px;
    text-align: center;
    background-color: #88bbd6;
}

h1, h2, h3, h4
{
    font-family: 'Asap', sans-serif;
    text-align : center;
}

#web a, #mathilda a
{
    font-family: 'Asap', sans-serif;
    font-weight: bold;
    transition: background-color 0.5s;
}

#web a:hover
{
    background-color: #88bbd6;
    transition: background-color 0.5s;
}

#mathilda a:hover
{
    background-color: #cdcdcd;
    transition: background-color 0.5s;
}

#flex-container
{
    display: flex;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: center;*/
    justify-content: space-around;
    align-content: space-between;
}

#flex-container article
{
    padding : 20px;
    width: 300px;
}

#raspi
{
   background : url("pcb.svg") no-repeat center;
   background-size: contain;
}

#mathilda
{
    background-color: #99d3df;
    
}

#web
{
    background : url("terminal.svg") no-repeat center;
    background-size: contain;
    background-color: #cdcdcd;
    
}

#learn
{
    background-color: #cdcdcd;
}

#repair
{
    background : url("old_screen.svg") no-repeat center;
    background-size: contain;
    background-color: #99d3df;
}

#IPT
{
    background-color: #88bbd6;
}

#contact
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background : url("rocket.svg") no-repeat center;
    background-size: contain;
    height: 12vw;
    position: relative;
    margin: 10px -0px;
    padding: 25px 8px;
    text-align: center;
    background-color: #88bbd6;
}

#contact_buttons
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
    align-content: center;
    height: 100px;
}

#contact_buttons a
{
  background-color: #99d3df; 
  border-radius: 5px;
  border: none;
  color: back;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.5s;
  height: min-content;
}

#contact_buttons a:hover
{
    transition: background-color 0.5s;
    background-color: #cdcdcd;
}

#origin 
{
    text-align : center;
}

footer
{
    height: 50px;
    background-color : #cdcdcd;
    margin: 0px -0px -0px -0px;
    padding : 0px 10px;
    font-size : x-small;
    right: 0px;
}

footer li, footer a, footer ul
{
    background-color: #cdcdcd;
}

#contact_footer
{
    margin: 10px -0px -0px -0px;
}

@media only screen and (max-width: 1400px)
{
    
    body
    {
        font-size : 1.25vw;
    }
    
    #welcome, #physics, #computer, #robotics
    {
        height : 15vw;
    }
    
}

@media only screen and (max-width: 1200px)
{
    
    body
    {
        font-size : 1.5vw;
    }
    
    #welcome, #physics, #computer, #robotics
    {
        height : 17vw;
    }
    
}

@media only screen and (max-width: 1000px)
{
    
    body
    {
        font-size : 2vw;
    }
    
    #welcome, #physics, #computer, #robotics
    {
        height : 25vw;
    }
    
    #origin
    {
        text-align: justify;
    }
    
}

@media only screen and (max-width: 800px)
{
    
    body
    {
        font-size : 2.5vw;
    }
    
    #welcome, #physics, #computer, #robotics
    {
        height : 31vw;
    }
    
}

@media only screen and (max-width: 600px)
{
    
    body
    {
        font-size : 3vw;
    }
    
    #welcome, #physics, #computer, #robotics
    {
        height : 35vw;
    }
    
}

@media only screen and (max-width: 400px)
{
    
    body
    {
        font-size : 4vw;
    }
    #welcome, #physics, #computer, #robotics
    {
        height : 32vw;
        
    }
    
}



