@import url('https://fonts.googleapis.com/css2?family=Proxima+Nova:wght@400;700&display=swap');

body {
    font-family: 'Proxima Nova', Arial, Helvetica, sans-serif;
}

header {
    text-align: center;
    padding-top: 1rem;
}

h1 {
    font-size: 1.5rem;
    padding-bottom:0.5rem;
}

a {
    color: #242628;
    text-decoration: none;
    transition: color 0.2s;
}

p {
    padding-bottom: 1rem;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.polaroid-wrapper {
    width: 100vw;
    position: relative;
}

.polaroid-wrapper .polaroid {
    width: 100%;
}

.img-wrapper {
    max-width: 27rem;
    max-height: 27rem;
    width: 59.9vw;
    height: 59.65%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 13%;
    left: 21vw;
    /* background-image: url("../img/undeveloped.jpg");
    background-size: contain; */
}

.img-wrapper img {
    width: 100%;
    height: auto;
    cursor: pointer;
    opacity: 0;
}

.img-wrapper img.visible {
    transition: opacity 0.6s ease;
    opacity: 1;
}

.img-wrapper img.landscape {
    width: auto;
    height: 100%;
}

.links {
    text-align: center;
    padding-top: 0.5rem;
}

.links ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.links li {
    padding: 0.25rem 0;
}

.links a:hover {
    color: #6b696a;
}

.links a.selected {
    text-decoration: underline;
}

.flickr-link {
    text-align: center;
    padding-bottom: 3rem;
    font-size: 0.75rem;
}

.about-copy,
.portfolio-copy {
    margin: 0 auto;
    max-width: 470px;
    padding: 1.25rem 1.5rem 4rem 1.5rem;
    line-height: 1.3;
}

.portfolio-copy {
    padding-top: 2rem;
    padding-bottom: 0;
}

.about-copy a,
.portfolio-copy a {
    text-decoration: underline;
}

#language-selector {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
}

#language-selector .selected {
    text-decoration: underline;
}

/* 430x432 */

.divider {
    width: 100%;
    border-bottom:1px dotted #ccc;
    height: 1px;
    margin-bottom: 4px;
}

.portfolio {
    padding-top: 1.5rem;
    padding: 1.5rem 1rem 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    text-align: center;
}

.portfolio img {
    display: inline-block;
    max-width:900px;
    max-height:810px;
    width: auto;
    height: auto;
}

@media (max-width: 960px) {
    .portfolio img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }
}

@media (min-width: 720px) {
    .polaroid-wrapper {
        width: 45rem;
    }
    .img-wrapper {
        top: 95px;
        left: 151px;
    }
}