.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 1fr;
}

.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: 2;
    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;
}

.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);
}

.aboutcontainer{
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 4;
    width: 100%;
    height: 950px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows:110px 1fr;
    margin-top: 5%;
    padding-top: 1%;
    box-shadow: 0 0 10px #F2BF93;
    background-color: white;
}

.t1{
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 2;
    grid-column-end: 3;
    font-weight: 700;
    font-size: 2rem;
    max-height: 110px;
    color: orange;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.t1:after{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    opacity: 0.3;
    border-radius: 1px;
    
    top: 100%;
    left: 0;
    z-index: 1;
    
    background-color: slategrey;
    position: absolute;
}

.textcontainer{
    grid-row-start: 2;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 3;
    width: 92%;
    height: 92%;
    margin-left: 4%;
    margin-right: 4%;
}

.t2{
    font-size: 1.5rem;
    text-align: left;
}

.hypertext{
    text-decoration: none;
    color: darkslategrey;
    
    transition: color .8s linear;
}

.hypertext:hover{
    color: orange;
}

.b{
    margin-top: 5%;
    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;
}

@media (max-width: 1024px){
    .navigacia{ font-size: 18px; padding: 4% 0 0 0;}
    .aboutcontainer{ height: 1300px; }
    .t1{ font-size: 1.3rem; max-height: 60px; grid-template-rows: 60px 1fr;}
    .t2{ font-size: 1rem; }
}