@import url('/static/Montserrat-VariableFont_wght.ttf');

html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}

* {
  box-sizing: border-box;
  font-size: calc(10px + (16 - 10) * ((100vw - 640px) / (1600 - 640)));
  font-size: 14px;
  box-sizing: border-box;
}
p{
	font-size: 1.0rem;
}
h1{
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}
h2{font-size: 2.2rem; margin: 0; padding: 0;}
h3{font-size: 2rem; margin: 0; padding: 0;}
body{
  background-color: #fefefe;
  min-height: 100%;
  height: 100vh;
  position: relative;
  width: 100%;


  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  color: #000e77;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
}

.wrapper{
    max-width: 1200px;
    margin: 0px auto;
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 80px;
    background-color: #000e77;
    position:fixed;
    top: 0;
}
header h1{
    color: white;
    padding: 8px;
}

article{
    display:flex;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    float: left;
}
section{
    padding: 2rem 2rem;
    min-width: 480px;
    width: 50%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*border-top: 1px solid #000e77;*/
    /*border-bottom: 1px solid #000e77;*/
    color: #000e77;
    transition: 0.5s;
}
section:hover{
    background-color: #000e77;
    color: white;
}
section:nth-child(1){
    border-right: 1px solid #000e77;
}
section:nth-child(3){
    border-top: none;
    border-right: 1px solid #000e77;
}
section:nth-child(4){
    border-top: none;
}

img{
    /*max-width: 100%;*/
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.center{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.button{
    padding: 8px;
    border: 1px solid #000e77;
    text-decoration: none;
	text-align: center;
    font-size: 1.5rem;
    color: white;
    background-color: #fb7500;
    transition: all 0.5s;
}
.button:hover{
    background-color: white;
    color: black;
}

footer{
    background: #000e77;
    width: 100%;
    position: fixed;
    bottom: 0;
    min-height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
footer p{
    color: white;
    padding: 4px 16px;
}

@media screen and (max-width: 992px) {
    .wrapper{
        padding-top: 150px;
    }
    p{
        text-align: center;
    }
    section{
        min-width: 100%;
        width: 100%;
        padding: 4px 2rem;
        margin-bottom: 2rem;
    }
    img{
        max-height: 50px;
    }
    *{
        font-size: 12px;
    }
    h1{
        font-size: 24px;
        text-align: center;
    }
    section:nth-child(1){
        border-top:none;
        border-right: none;
    }
    section:nth-child(2){
        border-top:none;
        border-right: none;
    }
    section:nth-child(3){
        border-top:none;
        border-right: none;
    }
    section:nth-child(4){
        border-top: none;
        border-right: none;
        padding-bottom: 50px;
    }
}
