@media screen and (min-width: 600px) {
    body {
        max-width: 1200px;
        margin: 0 auto;

        header {
            max-width: 1200px;
            width: 100%;
            left: 50%;
            transform: translateX(-50%);

            #header-content {
                justify-content: space-between;

                h1 {
                    width: 20%;
                }

                #burger {
                    display: none;
                }
            }
        }

        nav {
            transform: translateY(0);
            width: 250px;
            height: calc(100% - 102px);

            #main-nav {
                li {
                    a {
                        font-size: 1.2rem;
                    }
                }
            }
        }

        main {
            max-width: calc(100%-250px);
            margin-left: 250px;

            section {
                width: 95%;
                margin: 1rem auto;
                box-shadow: none;
            }

            #start {
                .card {
                    display: grid;
                    padding: 1rem;
                    gap: 1rem;
                    box-shadow: none;
                    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

                    .card-img {
                        img {
                            aspect-ratio: 16/10;
                            object-fit: cover;
                            border-radius: 0;
                        }
                    }

                    .card-wrapper {
                        display: flex;
                        flex-direction: column;
                        width: 100%;
                        gap: .5rem;

                        .create-date-wrapper {
                            display: flex;
                            flex-direction: column;
                            gap: 2rem;

                            .created_at {
                                text-align: right;
                            }

                            button {
                                width: 30%;
                                align-self: flex-end;
                                margin: 0;
                            }
                        }

                    }
                }
            }

            section#login {
                flex-direction: row-reverse;
                align-items: center;
                gap: 2rem;

                #login-ul {
                    flex-basis: 50%;
                    display: flex;
                    flex-direction: column;
                    gap: .5rem;

                    p:first-child {
                        font-size: 1.3rem;
                        letter-spacing: .7px;
                        width: 90%;
                    }
                }

                form {
                    flex-basis: 50%;
                    padding: 2rem 0;
                }
            }

            section#kopa-stuga {
                background-color: transparent;
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                gap: 2rem;

                h3 {
                    width: 100%;
                }

                .card {
                    width: calc(95%/2);
                    background-color: var(--bg-color-secondary);
                    border-radius: 1rem;
                    box-shadow: 0 .4rem 16px 4px rgb(234, 234, 234);


                    .card-img {
                        width: 100%;
                        padding: 1rem;

                        img {
                            width: 100%;
                            object-fit: contain;
                            aspect-ratio: 8/6;
                            border-radius: 0;
                        }
                    }

                    .card-wrapper {
                        padding: .5rem;

                        span.address,
                        p.description {
                            font-weight: 600;
                        }
                    }

                }
            }
        }

        #login-nav {
            background-color: var(--bg-color-secondary);
            width: 250px;
            color: var(--primary-color);
            font-size: 1.2rem;

            a {
                color: var(--primary-color);
                font-size: 1.2rem;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    body {

        main {
            section#kopa-stuga {
                .card {
                    width: 100%;
                    background-color: var(--bg-color-secondary);
                    border-radius: 1rem;
                    box-shadow: 0 .4rem 16px 4px rgb(234, 234, 234);
                }
            }

        }
    }
}