
@font-face{
    font-family: myFont;
    src: url(../Anonymous_Pro/AnonymousPro-Regular.ttf);
}

@font-face {

    font-family: myBoldFont;
    src: url(../Anonymous_Pro/AnonymousPro-Bold.ttf);

}
html, body {
    
    background-color:rgb(252, 249, 238);
    background-size: 100%;
    background-attachment: fixed;
    
    background-repeat: no-repeat;
    background-position: center 70px;

}


body {
    color: black;
    height: 100svh;


}



.main_index {
   /* margin-top: 650px; */
   color: black;
}

.main-container {
    display: grid;
    grid-auto-rows: minmax(12px, auto);
    grid-template-columns: 1fr 1fr 1fr;

    margin-top: 10px;
    min-height: 86svh;


    background-color: rgba(203, 220, 207, 0.8);

    border: 1px solid white;
    border-radius: 25px;
}

.main-b1 { /* martin grøtliens samlede tjenester */
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;

    text-align: center;
    font-weight: lighter;
    letter-spacing: 12px;

    border-bottom: 1px solid black;


    align-content: center;

    width: 100%;
    min-height: 142px;
    font-size: calc(150% + 1.5em);
    font-family: myFont;
}

.main-b2 { /* MGST */
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;

    min-height: calc(140px + 20%);
    /*max-height: calc(540px + 20%);*/
    width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;

    align-items: center;
    justify-content: center;

    margin-bottom: 120px;
    margin-top: 40px;


    border-bottom: 1px solid black;

    /*  font-size: 380px; */

    font-family: myBoldFont;

    /* font-size:calc(100% + 28vw); 
    color: rgba(255, 255, 255, 0.379);*/




}

@keyframes mgst{
    0% {font-size: calc(30% + 10vw);
        font-family: 'Courier New', Courier, monospace;
        background-color: rgba(250, 235, 215, 0.621);
        color: black;}
    20% {font-size: calc(30% + 10vw);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        background-color: rgba(245, 245, 220, 0.513);
        color: rgb(74, 101, 74);}
    40% {font-size: calc(30% + 10vw);
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        background-color: rgba(255, 228, 196, 0.272);
        color: rgba(130, 227, 238, 0.625);}
    60% {font-size: calc(30% + 10vw);
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        background-color: rgba(222, 184, 135, 0.398);}
    80% {font-size: calc(30% + 10vw);
        font-family: 'Times New Roman', Times, serif;
        background-color: rgba(255, 250, 240, 0.304);
        color: blanchedalmond;}
    100%{font-size: calc(30% + 10vw);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        background-color: rgba(128, 128, 128, 0.286);}
        
}

.m {
    /*display: flex;*/
    text-align: center;
    animation-name: mgst;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    /* letter-spacing: 1px; */


}

.g {
    text-align: center;
    animation-name: mgst;
    animation-duration: 3.4s;
    animation-iteration-count: infinite;
    animation-direction: reverse;


}

.s {
    text-align: center;
    animation-name: mgst;
    animation-duration: 2.8s;
    animation-iteration-count: infinite;

}

.t {
    text-align: center;
    animation-name: mgst;
    animation-duration: 4.4s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;

}

.m:hover, .g:hover, .s:hover, .t:hover{
    animation-play-state: paused;
    cursor: none;
}

  


.main-b3 { /* mail + telefon + adresse */
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3 / 3;

    text-align: center;
    font-weight: lighter;
    letter-spacing: 3px;

    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, -50%);



    /*align-items: end;
    align-content: end;*/
    font-size: 20px;
    color: rgba(0, 0, 0, 0.633);

}

.nr {
    transition: none;
    font-size: 20px;
    font-style: oblique;
    text-decoration: none;
}

.main-b4 { /* lyd */
    grid-column: 1 / 2;
    grid-row: 4;

    font-family: myBoldFont;
    font-size: 16px;

    text-align: center;
    align-content: end;
    padding-top: 1px;

    background-color: grey;
    
    color: rgba(233, 232, 232, 0.726);
    margin-left: 22px;
    margin-right: 15px;

    border-start-end-radius: 10px;
    border-end-start-radius: 10px;

    max-height: 20px;
    align-self: end;
}

.main-b5 { /* scene */
    grid-column: 2 / 3;
    grid-row: 4;

    font-family: myBoldFont;
    font-size: 16px;

    text-align: center;
    align-content: end;
    padding-top: 1px;

    background-color: grey;

    color: rgba(233, 232, 232, 0.726);

    margin-left: 10px;
    margin-right: 10px;

    border-start-start-radius: 10px;
    border-start-end-radius: 10px;

    max-height: 20px;
    align-self: end;
}
.main-b6 { /* transport */
    grid-column: 3 / -1;
    grid-row: 4;

    font-family: myBoldFont;
    font-size: 16px;

    text-align: center;
    align-content: end;
    padding-top: 1px;

    background-color: grey;

    color: rgba(233, 232, 232, 0.726);
    margin-left: 15px;
    margin-right: 22px;
    border-end-end-radius: 10px;
    border-start-start-radius: 10px;

    max-height: 20px;
    align-self: end;
}