body {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: 1fr 1fr 1fr;
    height: 100vh;
    margin: 0%;
}

.Nav {
    background-color: rgb(73, 31, 38);
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 1%;
    border-radius: 45px;
    height: 4vw;
    display: flex;
    justify-content: center;
    align-items: center;
}


nav ul{
    display: flex;
    list-style: none;
    padding: 0%;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6vw;
}

li a{
    color: white;
    text-decoration: none;
    font-size: 1.2vw;
}

.MainPicture{
    width: 100%;
    margin-top: 0;
    display: block;
    border-radius: 0px;
}

h1 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: -5%;
    left: 3.5%;
    font-size: 6.5vw;
    -webkit-text-stroke: 0.1vw;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0,0.3);
    padding: 5%;
    padding-bottom: 14%;
}

h2 {
    color: rgb(0, 0, 0);
    position: absolute;
    top: 40%;
    left: 14%;
    font-size: 3vw;
    -webkit-text-stroke: 0.05vw;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}


.Title {
    position: relative;
}

main {
    margin-top: 5vh;
    margin-left: 2vw;
    margin-right: 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 1vw;
    padding-bottom: 5%;
}

h3 {
    grid-column-start: 1;
    grid-column-end: 6;
    text-align: center;
    color: white;
    font-size: 220%;
    margin-bottom: 1vh;
}

p{
    color: white;
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 6;
    margin-top: 1%;
}

hr{
    color: rgb(255, 255, 255);
    width: 40vw;
    margin-top: 3vh;
    margin-bottom: 3vh;
    grid-column-start: 1;
    grid-column-end: 6;
    border-radius: 80%;
}

.firstline{
    color: rgb(255, 255, 255);
    width: 15vw;
    grid-column-start: 1;
    grid-column-end: 6;
    border-radius: 80%;
    margin-top: 1%;
    margin-bottom: 1%;
}

h4{
    color: white;
}

.loveb{
    background-color: rgb(0, 0, 0);
    padding: 5%;
    border-radius: 20px;
    border-color: aliceblue;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10%;
}

.breathings{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-column-start: 1;
    grid-column-end: 6;
    column-gap: 5%;
    margin-top: 10%;
    p{
        margin-top: 5%;
    }
}

h4{
    text-align: center;
    font-size: 150%;
    margin-top: 5%;
    margin-bottom: 5%;
}

img{
    width: 100%;
    border-radius: 20px;
}

footer{
    background-color: rgb(73, 31, 38);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: baseline;
}

.footercopyright{
    color: rgb(255, 255, 255);
    margin-left: 5%;
    margin-right: 5%;
    p{
        text-align: center;
        font-size: 80%;
        margin-bottom: 1%;
        margin-top: 2%;
    }
    li{
        font-size: 70%;
        text-align: center;
        list-style: none;
        margin-top: 1%;
    }
    ul{
        padding: 0;
        margin-top: 1%;
    }
}

.lastline{
    border: none;
    height: 1px;
    margin-top: 4%;
    margin-bottom: 5%;
    width: 70%;
    background-color: black;
}

.footermine{
    color: rgb(255, 255, 255);
    margin-left: 5%;
    margin-right: 5%;
    p{
        text-align: center;
        font-size: 80%;
        margin-bottom: 1%;
        margin-top: 7%;
    }
    li{
        font-size: 70%;
        text-align: center;
        list-style: none;
        margin-top: 1%;
    }
    ul{
        padding: 0;
        margin-top: 1%;
    }
}

.middletext{
    grid-column-start: 2;
    grid-column-end: 3;
    align-content: center;
}

h5{
    color: white;
    font-size: 5vw;
    text-align: center;
    margin: 0;
    
}

.leftsections{
    grid-column-start: 1;
    grid-column-end: 2;
    background-color: rgb(0, 0, 0);
    padding: 5%;
    border-radius: 20px;
    border-color: aliceblue;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10%;
}

.middlesection{
    grid-column-start: 2;
    grid-column-end: 3;
    background-color: rgb(0, 0, 0);
    padding: 5%;
    border-radius: 20px;
    border-color: aliceblue;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10%;
}

.rightsection{
    grid-column-start: 3;
    grid-column-end: 4;
    background-color: rgb(0, 0, 0);
    padding: 5%;
    border-radius: 20px;
    border-color: aliceblue;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10%;
}

@media (max-width: 1270px) {
    body {
        grid-template-columns: 15% 70% 15%;
    }

    main {
        column-gap: 5%;
    }


    h3 {
        font-size: 1.7rem;
    }

    button {
        height: 5vh;
    }

    .cards {
        margin-bottom: 15%;
    }
}

@media (max-width: 768px) {
    body {
        display: block;
    }

    main {
        display: block;
        margin: 5% 5%;
    }

    .Nav {
        height: auto;
        border-radius: 40px;
        margin-left: 20%;
        margin-right: 20%;
    }

    nav ul {
        flex-direction: column;
        gap: 2vh;
        a{
            font-size: 0.8rem;
        }
    }

    .MainPicture {
        display: none;
    }

    h1 {
        font-size: 13vw;
        position: relative;
        top: 0;
        left: 0;
        color: rgb(255, 255, 255);
        -webkit-text-stroke: 0.6vw rgb(255, 255, 255);
        text-align: center;
        background-image: url(Sidebackground.png);
        background-size: 50%;
        padding-bottom: 2.5%;
        margin-top: 0;
        margin-bottom: 0;
    }

    h2 {
        font-size: 5vw;
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        color: rgb(255, 255, 255);
        -webkit-text-stroke: 0px;
        margin-bottom: 5%;
        margin-top: 0%;
        padding-bottom: 3%;
        padding-top: 3%;
        background-color:rgba(62, 166, 113);
    }

    h3 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2%;
    }

    p {
        margin-top: 2%;
        font-size: 1.2rem;
    }

    h5{
        font-size: 3rem;
    }

    .breathings{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    #Love{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 1;
    }
    #Serpent{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 1;
    }
    #Stone{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 2;
    }
    #Flame{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 2;
    }
    #Wind{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 3;
    }
    #Mist{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 3;
    }
    #Water{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 4;
    }
    #Insect{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 4;
    }
    #Sound{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 5;
    }
    #Thunder{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 5;
    }
    #Beast{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 6;
    }
    #Flower{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 6;
    }
    #Sun{
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row: 7;
    }
    #Moon{
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row: 7;
    }
    #middletext{
        grid-column-start: 1;
        grid-column-end: 3;
        margin-top: 10%;
        margin-bottom: 6%;
        br{
            display: none;
        }
    }
    footer {
        display: block;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 2%;
    }
    }

*{
    font-family: 'Yuji Syuku';
}