* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px 12px;
    background-image: url(../pildid/IndexBackground.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
}

.divMain {
    width: min(850px, 100%);
    margin: 0 auto;
    border: 1px solid darkblue;
    background-color: white;
}

.div1 {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #46458c;
}

.Text1 {
    color: white;
    font-family: 'Comic Sans MS', cursive;
    font-weight: 600;
    font-size: clamp(32px, 7vw, 50px);
    text-align: center;
}

.div2 {
    padding: 12px 20px;
    background-color: #a3a3a3;
}

.Text2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 15px;
}

.Text2 a {
    text-decoration: none;
}

.Text2 a:hover,
.Text2 a:focus-visible {
    text-decoration: underline;
}

.div3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-areas:
        "intro quotehead"
        "location quote"
        "logo contact"
        "company company";
    align-content: start;
    gap: 20px 28px;
    min-height: 650px;
    padding: 28px 32px;
    background-color: white;
}

.Text3,
.Text3_1,
.Text3_2,
.Text3_3,
.Text3_4 {
    position: static;
    padding: 0;
}

.Text3 {
    grid-area: intro;
    font-family: cursive;
    font-size: clamp(17px, 2.4vw, 20px);
}

.div3_1 {
    grid-area: quotehead;
    width: 100%;
    height: 25px;
    border: 1px solid;
    background-color: #6261ab;
}

.div3_2 {
    grid-area: quote;
    width: 100%;
    min-height: 260px;
    padding: 8px;
    border: 1px solid;
}

.Text3_1 {
    font-family: cursive;
    font-size: 12px;
}

.Text3_2 {
    grid-area: location;
    align-self: center;
    font-family: cursive;
    font-size: clamp(17px, 2.4vw, 20px);
}

.Img_1 {
    grid-area: logo;
    align-self: center;
    width: min(242px, 100%);
    height: auto;
}

.Div_Img {
    display: none;
}

.Text3_3 {
    grid-area: contact;
    align-self: center;
    font-family: cursive;
    font-size: clamp(16px, 2.4vw, 20px);
    overflow-wrap: anywhere;
}

.Text3_4 {
    grid-area: company;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.div4 {
    padding: 10px 12px;
    background-color: #6261ab;
    text-align: center;
}

.Text4 {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

@media (max-width: 600px) {
    body {
        padding: 0;
        background-attachment: scroll;
    }

    .divMain {
        border: 0;
    }

    .div1 {
        min-height: 110px;
    }

    .div2 {
        padding: 12px;
    }

    .Text2 {
        gap: 10px 16px;
    }

    .div3 {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "intro"
            "quotehead"
            "quote"
            "location"
            "logo"
            "contact"
            "company";
        gap: 14px;
        min-height: 0;
        padding: 22px 18px;
    }

    .div3_2 {
        min-height: 0;
    }

    .Img_1 {
        justify-self: center;
    }
}
