body {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #F0EDE5;
}

.main-container {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 90%;
    width: 98%;
    margin: 10px;
    color: #060d0c;
}

.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #060d0c;
    color: #F0EDE5;
}

.navbar li {
    float: left;
}

.navbar li p {
    display: block;
    text-align: center;
    font-size: x-large;
    padding: 2px 20px;
}

.navbar li .credits {
    position: absolute;
    right: 5px;
}

.navbar li .credits a {
    text-decoration: none;
    color: aliceblue;
}


.text {
    margin: 15px;
    width: calc(100%/3);
    font-size: larger;
    font-weight: 800;
}

.text1 {
    font-size: larger;
    font-weight: 800;
    margin-right: 10px;
}

.text .title, .text1 .title {
    font-size: large;
    font-weight: 600
}

.text .title a {
    text-decoration: none;
    color: #060d0c;
}

.canvas-btn {
    margin-top: 30px;
    width: calc(100%/3);
}

.canvasStyle {
    position: relative;
    width: 500px;
    height: 500px;
    border: 1px solid;
    box-shadow: 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
}

.btns {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;;
}

.imagesbtn {
    width: calc(100%/3);
    height: 75%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 20%;
}

#transformbtn, #resetbtn, #downbtn {
    position: relative;
    padding: 10px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 1PX 1PX 0PX 0PX, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px;
    background-color: #F0EDE5;
}

input[type="file"]::file-selector-button {
    padding: 10px;
    border: 1px solid;
    cursor: pointer;
    border-radius: 100px;
    background-color: #F0EDE5;
}

#transformbtn:active, #resetbtn:active, #downbtn:active {
    box-shadow: 0px 0px 0px 0px;
    top: 5px;
    left: 5px;
}

@media (max-width: 600px) {
    .main-container {
        flex-direction: column;
    }

    .text {
        width: 100%;
    }

    .canvas-btn {
        width: 100%;
    }

    .imagesbtn {
        width: 100%;
        flex-direction: row;
        gap: 20px;
    }

    .navbar li p {
        font-size: medium;
    }
}