body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
 scroll-behavior: smooth;
}
a, a:visited {
  color: #E52B50;
  text-decoration: none;
  transition: 1s;
}
a:hover {
  color: #fff;
}
/*NAGŁOWEK*/
.masterhead {
  height: 100vh;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Kossak_Olszynka_Grochowska.jpg/1280px-Kossak_Olszynka_Grochowska.jpg');
  background-size: cover;
  background-position: center;
}
.sub {
  height: 20vh;
}
.sub .logo {
  width: 300px;
}
#masterhead-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 85, 0, 0.9)
}
#masterhead-border {
  background-image: url(corner.png);
  background-repeat: no-repeat;
  background-position: 100%;
  width: 95%;
  height: 90%;
  border: 20px solid #fff;
  -webkit-animation: mymove 2s; 
  animation: mymove 2s;
}
.sub #masterhead-border {
  width: 100%;
  height: 100%;
  border: 0;
  border-bottom: 5px solid #fff; 
}
#site-name {
    background-color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    border-radius: 10px 0 0 10px;
    grid-area: 3 / 3 / 4 / 5;
    padding: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  -webkit-animation: mymove 3s; 
  animation: mymove 3s;
}
#monument {
    min-width: 170px;
    height: 180px;
    background-image: url(img/pomnik.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#title {
    min-width: 600px
}
.mh-logos {
    grid-area: 5 / 4 / 6 / 5;
    background: white;
    padding: 5px
}
.mh-logos img {
    max-height: 80px;
}
.mh-belt {
    background-color: rgba(255, 255, 255, 0.7);
background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.5) 33%, rgba(255,255,255,0.66) 66%, rgba(255,255,255,0.75) 91%, rgba(250,250,250,1) 100%);
    grid-area: 5 / 1 / 6 / 4;
}
/*KONTENT*/
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-right {
/*
   display: flex;
  align-items: center;
  justify-content: flex-end; 
*/
    display: grid;
   grid-template-columns: repeat(3, 1fr) 400px;
grid-template-rows: repeat(4, 1fr) 100px;
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.sub .flex-center {
  justify-content: left
}
h1, h2, h3 {
  font-family: 'Marck Script', cursive;
  font-size: 2em;
  font-weight: 300;
}
h1 {
  font-size: 2.2em;
  color: #E52B50;
}
.underheader {
    min-width: calc(100vh-100px)
}
section, nav {
  width:80%;
  margin: 0 auto;
  padding: 20px;
}
section img {
  max-width: 100%;
}
#our-team {
  display: flex;
  flex-wrap: wrap;
}
#our-team > figure {width: 25%}
figcaption {text-align: center}
button {
padding: 15px;
border: 5px solid #fff;
background-color: rgb(0, 0, 85);
color: #fff; 
transition: 0.7s;
}
button:hover {
opacity: 0.5;
}
button:first-of-type {
  margin-right: 80px;
}
.btn-box {
  clear: both
}
footer {
  padding: 20px;
  font-size: 0.8em;
  }
/*ANIMACJA*/
@keyframes mymove {
  0% {opacity: 0;}
    50% {opacity: 0.5;}
  100% {opacity: 1;}
}
@keyframes mymove {
  0% {opacity: 0;}
  33% {opacity: 0;}
  100% {opacity: 1;}
}
/*RESPONSYWNOŚĆ*/
@media only screen and (max-width: 780px) {
#masterhead-border {
  background-size: 50%;
  width: 87%;
  height: 90%;
}
#masterhead-border .flex-center  {
}
.logo {
  width: 400px;
}
} 