.mm {
    justify-content: center;
    align-items: center;
}

.lös {
    display: flex;
    background-image: url(https://youtu.be/HoA_BkpB4xE);
}

.grön {
    background-color: green;
}

.ram {
    width: auto;
    display: grid;
    grid-gap: 7px;
    height: 895px;
    grid-template-columns: 170px auto 170px;
    grid-template-rows: 170px auto;
    grid-template-areas:
        'MVh Mt MHh'
        'MS1 M MS2';

    div {
        color: green;
        align-items: center;
        justify-content: center;
        font-size: 65px;
    }
}

@media (max-width: 768px) {
    .ram {
    width: auto;
    display: grid;
    grid-gap: 7px;
    height: 895px;
    grid-template-columns: 170px 428px 170px;
    grid-template-rows: 170px auto;
    grid-template-areas:
        'MVh Mt MHh'
        'M M M';
        
}

.M {
    div.kontakt {
        text-align: start;
       p.kontakt {
        font-size: 3px;
       }    
       
        p.kontakt1 {
        font-size: 3px;
        width: 300px;  
        }
    }
}

.MTopp {
    display: flex;
    overflow: auto;
    justify-content: baseline;
    flex-wrap: wrap;
}

.Msida1,.Msida2 {
    display: none;
}

}

@media (max-width:600px) {
    .ram {
    width: auto;
    display: grid;
    grid-gap: 7px;
    height: 895px;
    grid-template-columns: 150px 300px 150px;
    grid-template-rows: 150px auto;
    grid-template-areas:
        'MVh Mt MHh'
        'M M M';
        div,a {
            font-size: 45px;
        }
}

.MTopp {
    display: flex;
    overflow: auto;
    justify-content: baseline;
    flex-wrap: wrap;

    div {
        margin: 50px;
        padding: 10px;
    }
}

.Msida1,.Msida2 {
    display: none;
}

}

b {
    color: white;
}

a {
    text-decoration: none;
}

.MTopp {
    background-color: black;
    display: flex;
    grid-area: Mt;

    div {
        margin: 50px;
        padding: 10px;
        border: solid green 2px;
    }
}

div.MHhörn {
    background-color: black;
    display: flex;
    grid-area: MHh;
    font-size: 55px;
    a {
        text-decoration: none;
    color: green;
    }
    
}

.MVhörn {
    background-color: black;
    display: flex;
    grid-area: MVh;
}

.Msida1 {
    background-image: url(../webb_bilder/matrix_meny.png);
    grid-area: MS1;
}

.Msida2 {
    background-image: url(../webb_bilder/matrix_meny.png);
    grid-area: MS2;
}

.M {
    background-color: black;
    grid-area: M;
    display: flex;
    overflow: auto;
    justify-content: baseline;
    flex-wrap: wrap;

    div.sälj {
        width: 350px;
        height: 500px;
        border: solid green 4px;
        padding: 20px;
        margin: 50px;
        text-align: center;
        font-size: 40px;
        transition: ease 0.4s;

        div.info {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            font-size: 30px;
        img {
            width: 250px;
            height: 300px;
        }
        }
    }

    div.sälj:hover {
        width: 370px;
        height: 530px;
        margin: 40px;
        margin-top: 35px;
        margin-bottom: 35px;
    }

    button {
        font-size: 20px;
    }

    p.oo {
        text-align: left;
        padding: 100px;
        font-size: 40px;
    }

    .r {
        color: red;
    }

    div.drop {
        width: 500px;
        height: 600px;
        gap: 50px;
        display: flex;
        align-items: center;
        padding: 30px;
        justify-content: start;
        border: solid white 2px;
        flex-direction: column;
    }


    div.form {
        height: 500px;
        width: 1000px;
        form {
            display: flex;
        flex-direction: row;
        gap: 60px;
            div {
            font-size: 30px;
        }
            div.knapp {
                
                align-self: center;
            }
        }
        
    }

    div.frågor {
        display: flex;
        flex-direction: column;
        
        align-items: start;
        padding: 50px;
        gap: 40px;

        summery {
            padding: 20px;
            gap: 20px;
        }
    }

    form {
        width: 400px;
        padding: 5px;

        h1 {
            text-align: center;
        }

        textarea {
            width: 340px;
            max-width: 340px;
            min-width: 340px;
            height: 60px;
        }
    }


    div.kontakt {
        display: grid;
        flex-direction: column;
        grid-gap: 7px;
        height: 600px;
        grid-template-rows: 300px 300px;
        grid-template-areas:
            'd f'
            'p f';

        p.kontakt1 {
            padding: 20px;
            width: 600px;
            font-size: 40px; 
            grid-area: d;
        }

        p.kontakt {
            padding: 20px;
            font-size: 30px;
            height: 200px;
            width: 500px;
            grid-area: p;
        }

        form {
            grid-area: f;
            font-size: 30px;
        }

    }

}


#V {
    align-items: start;
}

#M2 {
    gap: 80px;
}

.j {
    text-align: left;
    padding: 40px;
    width: 300px;
    height: 400px;
    border: solid white 2px;

    p {
        color: white;
        font-size: 30px;
    }
}

.start {
    height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: black;
    font-size: 40px;
    padding: 40px;

    p,
    a {
        color: green;
    }

    p.tack {
        font-size: 50px;
        b {
            color: green;
        }
    }

    b {
        font-size: 45;
        color: red;
    }
}