* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #23281F;
}

header {
    text-align: center;
    padding: 32px;
}

header a  {
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-decoration: none;
    padding: 5px;
    margin: 10px;
}

header a:hover{
    border-bottom: 2px solid #E6B547;
}

main {
    text-align: center;
    font-size: 30px;
}

h1 {
    font-size: 40px;
}

h1.single {
    text-align: center;
    color: #E6B547;
    font-weight: bold;
}

header h1,h3 {
    color: #E6B547;
    font-weight: bold;
}

h1, h2, h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

.center {
    position: relative;
    display: flex;
    margin: 0 auto;
    margin-top: 10px;
    justify-content: center;
    flex-direction: column;
    max-width: 500px;
}

.center button {
    max-width: 200px;
    font-size: 20px;
}

.center h2{
    font-family: Arial, Helvetica, sans-serif;
    margin: 8px;
    font-family: "Lexend", sans-serif;
    color: #e4e6f3;
    font-size: 28px;
}

.center p{
    color: white;
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.row {
    display: -ms-grid;
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 0 4px;
    justify-content: center;
}

.row.admin form{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 340px;
    height: 340px;
}

.row.admin form img{
    max-height: 200px;
}

.row.admin form p{
    justify-self: center;
}

button {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 15px;
    cursor: pointer;
}

.row.admin form button{
    height: 30px;
    width: 200px;
    justify-self: center;
    font-size: 15px;
}

button.red {
    background-color: rgb(250, 160, 160);
    font-weight: bold;
}


form {
    width:440px;
    height:340px;
    display: grid;
    margin-bottom: 35px;
}

form p{
    font-size: 18px;
    color:#f3f5ff;
    font-family: "Cabin", sans-serif;
}

form.single {
    justify-content: center;
    margin: 0 auto;
    font-size: 25px;
    color:white;
}

form.single input{
    margin-bottom: 10px;
    font-size: 18px;
}

form h3 {
    font-size: 25px;
    justify-self: center;
    padding: 0px;
    margin: 0px;
    font-family: "Cabin", sans-serif;
    font-weight: 500;
    color:white;
    text-decoration:solid;
    text-decoration-color: #E6B547;
}

form img {
    justify-self: center;
}

img {
    max-width: 1000px;
    max-height: 1000px;
    border-radius: 5px;
}

img.thumb {
    background-color: gray;
    border-radius: 5px;
    max-width:400px;
    height:300px;
    object-fit: cover;
    cursor: pointer;
}

.two {
    display: flex;
    flex-direction: row;
}

.two.m{
    margin-bottom: 10px;
}

.two h2.title{
    border-bottom: 2px solid #E6B547;
}

.two p{
    margin: 0;
    margin-left: 5px;
}

.two img{
    max-height: 40px;
}

@media only screen and (max-width: 1270px) {
    img.thumb {
        border-radius: 3px;
        /*width: 300px;*/
        height: 200px;
    }
    form {
        width:340px;
        height:240px;
    }
}

@media only screen and (max-width: 950px) {
    .row {
        display: -ms-grid;
        display: grid;
        grid-template-columns: auto auto;
        padding: 0 2px;
        justify-content: center;
    }
}

@media only screen and (max-width: 620px) {
    .row {
        display: -ms-grid;
        display: grid;
        grid-template-columns: auto;
        padding: 0 2px;
        justify-content: center;
    }

    img.thumb {
        border-radius: 3px;
        /*width: 300px;*/
        height: 200px;
    }
}

@media only screen and (max-width: 380px) {
    .row {
        display: -ms-grid;
        display: grid;
        grid-template-columns: auto;
        padding: 0 3px;
        justify-content: center;
    }

    img.thumb {
        border-radius: 3px;
        /*width: 100%;*/
        max-height: 250px;
    }

    header {
        padding: 1px;
    }
}

@media only screen and (max-width: 270px) {
    h1 {
        font-size: 22px;
    }
    h3 {
        font-size: 15px;
    }
    
}