.m1{
    background: radial-gradient(circle, rgba(224,229,235,1) 0%, rgba(212,218,226,1) 100%);
}

body{ margin:0; padding: 0; }

.grid-container {
    display: grid;
    grid-template-columns: 10% 1fr 1fr 10%;
    grid-template-rows: 80px 1f 120px;
}

.header { 
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 5;
    background: white;
    min-height: 80px;
    max-height: 80px;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px #F2BF93;
}

.logo{
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
    background-image: url(../img/logocut.png);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    height: 80px;
    width: 80px;
    transition: opacity 0.6s ease-out;
}

.logo:hover{
    opacity: 0.5;
}

.navigacia{
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: 2;
    grid-column-end: 4;
    display: inline-block;
    vertical-align: top;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    margin: auto 0 auto 0;
}

.navigacia_knopki{
    color: lightslategrey;
    text-decoration: none;
    margin: 0 40px;
    position: relative;
    transition: color 0.5s linear;
}

.navigacia_knopki:hover{
    color: orange;
}

.navigacia_knopki:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    opacity: 0;
    
    
    top: 100%;
    left: 0;
    z-index: 1;
    
    background-color: orange;
    position: absolute;
    
    transition: opacity .5s linear;
}

.navigacia_knopki:hover{
    color: orange;
}

.navigacia_knopki:hover:after{
    opacity: 1;
}
.a1 { 
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 4;
    margin-top: 5%;
    margin-bottom: 5%;
    position: relative;
    width: 100%;
    background: white;
    text-align: center;
    max-width: 100%;
    min-height: calc(900px);
    max-height: calc(900px);
}

.a1::before,
.a1::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    background: linear-gradient(90deg, orange, rgba(224,229,235,1));
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: animate 30s linear infinite;
}

.a1::after {
    filter: blur(10px);
}

@keyframes animate {

    0%,
    100% {
        background-position: 0 0;
    }

    50% {
        background-position: 300% 0;
    }
}

.content{
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 4;
    max-width: calc(100% - 10%);
    max-height: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-bottom: 2px orange inset;
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
}

.content:hover{ overflow-y: none; }

.text1, .text2, .text3, .text4{ padding: 1% 5%; }

.text1{
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    /*padding-top: 1%;*/
}

.text2{
    font-family: 'Francois One', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: left;
    color: black;
    text-decoration: underline;
}

.text3{
    font-family: 'Francois One', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: left;
    color: grey;
    transition: color .8s linear;
    transition: font-size .6s linear;
    /*padding-bottom: 1%;*/
}

.text3:hover{
    font-size: 1.5rem;
    color: orange;
}

.text4{
    font-family: 'Francois One', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: left;
    color: black;
    transition: font-size 0.8s linear;
}

.text4:hover{ font-size: 1.2rem; }


.text37{
    display: block;
    margin-top: 2%;
    font-weight: 800;
    font-size: 1rem;
    color: darkslategrey;
    text-align: left;
    margin: 1% 5%;
}


.b{
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 5;  
    width: 100%;
    height: 120px;
    background-color: white;
    box-shadow: 0 0 10px #F2BF93;
}

.m1::-webkit-scrollbar {
  width: 10px;
}

.m1::-webkit-scrollbar-track {
  -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
  background-color: #f9f9fd;
}

.m1::-webkit-scrollbar-thumb {
  background-color: #f2bf93;
  background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, .25) 25%,
                    transparent 25%,
                    transparent 50%,
                    rgba(255, 255, 255, .25) 50%,
                    rgba(255, 255, 255, .25) 75%,
                    transparent 75%,
                    transparent);
}

@media(min-width: 2048px) {
    .text1{ font-size: 2.3rem; }
    .text2{ font-size: 2.1rem; }
    .text3{ font-size: 1.8rem; }
    .text3:hover{ font-size: 2rem; }
    .text4{ font-size: 1.5rem; }
    .text4:hover{ font-size: 1.7rem; }
    .text37{ font-size: 1.9rem; }
    .navigacia{ font-size: 2rem; }
    .a1{ max-height: 1400px; }
}

/*@media (max-width: 1440px) { .content{ max-height: 85%; } }*/

@media (max-width: 1200px) {
    .text1{ font-size: 1.6rem; }
    .text2{ font-size: 1.4rem; }
    .text3{ font-size: 1.2rem; }
    .text3:hover{ font-size: 1.3rem; }
    .text4{ font-size: 0.9rem; }
    .text4:hover{ font-size: 1rem; }
    .text37{ font-size: 1rem; }
    .content{ max-height: 80%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .text1{ font-size: 1.4rem; }
    .text2{ font-size: 1.2rem; }
    .text3{ font-size: 1.1rem; }
    .text3:hover{ font-size: 1.2rem; }
    .text4{ font-size: 0.8rem; }
    .text4:hover{ font-size: 1rem; }
    .text37{ font-size: 0.9rem; }
}