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

.box {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 4;
    position: relative;
    display: flex;
    background-color: white;
    margin-top: 3%;
    margin-bottom: 3%;
    max-width: 100%;
    max-height: 100%;
    min-height: 900px;
}

.box:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background-color: darkslategrey;
    z-index: -1;
}

.box:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background-color: orange;
    z-index: -2;
    filter: blur(20px);
}

.box::before, .box::after {
    background: linear-gradient(235deg, rgba(245,156,0,1) 0%, rgba(224,229,235,1) 35%, rgba(31,244,241,1) 100%);
}

.content {
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    grid-column-end: 4;
    margin-left: auto;
    margin-right: auto;
    display: inline-grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: 20% 1fr;
    width: calc(100% - 6%);    
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: black;
}

.contacts{
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 3;
    grid-column-end: 2;
    max-width: 90%;
    max-height: 80%;
    margin: auto 25px auto 0;
    border-right: 2px solid #e0e5eb;
}

.pos{
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 2;
    grid-column-end: 3;
    margin-top: 5%;
    max-width: 100%;
    max-height: 30px;
}

.t1{
    color: orange;
    padding-bottom: 7%;
}

.t4{
    font-size: 28px;
    color: orange;
}

.t3{
    text-decoration: none;
    color: darkslategray;
    transition: color .7s, font-size .7s linear;
}

.t3:hover{
    font-size: 30px;
    color: orange;
}

.b{
    grid-row-start: 3;
    grid-column-start: 1;
    grid-row-end: 4;
    grid-column-end: 5;
    background-color: white;
    width: 100%;
    height: 120px;
    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 (max-width: 1024px) {
    .contacts{
        grid-row-start: 1;
        grid-column-start: 1;
        grid-row-end: 2;
        grid-column-end: 2;
        width: 100%;
        height: 25%;
        border-right: 0;
        margin: 1% 0 1% 0;
        font-size: 0.8rem;
    }
    .pos{
        grid-row-start: 2;
        grid-column-start: 1;
        grid-row-end: 3;
        grid-column-end: 2;
        width: 100%;
        height: 50px;
        margin: 0;
        border-top: 2px solid #e0e5eb;
    }
    .t3:hover{
        font-size: 20px;
    }
    .t4{ font-size: 1.5rem; }
    .map{
        grid-row-start: 3;
        grid-column-start: 1;
        grid-row-end: 4;
        grid-column-end: 2;
        height: 100%;
        margin-top: 10%;
    }
    .content{
        grid-template-columns: 1fr;
        grid-template-rows: 45% 20% 1fr;
    }
    .navigacia{ font-size: 18px; }
}

@media (max-width: 400px) {
    .t4{
        font-size: 1.5rem;
    }
    
    
    
    
    
    
    
    
    
}