@font-face {
    font-family: "RuthlessWreckinOne-7YlK";
    src: url("/RuthlessWreckinOne-7YlK.ttf") format("truetype");
}

@font-face {
    font-family: "SpriteGraffiti-Shadow";
    src: url("/SpriteGraffiti-Shadow.woff2") format("woff2");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.placeholder {
    height: 20px;
}

body {
    background-image: url(/so-white.png);
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr 50px;
}

h1 {
    font-family: RuthlessWreckinOne-7YlK, "Baloo Tamma 2", cursive;
    font-size: 70px;
    text-align: center;
    text-shadow: 5px 5px 2px #c62828;
}

#main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
    column-gap: 3%;
    row-gap: 1%;
    margin: 0 5%;
}

/* ////////////////////////// INPUTFIELDS ////////////////////////// */

#inputfields {
    font-family: "Baloo Tamma 2", cursive;
    background-color: rgb(255, 255, 255, 0);
    grid-column: 1 / 4;
    height: 210px;
    width: 100%;
    padding: 20px;
    border-radius: 2%;
}

ion-icon {
    --ionicon-stroke-width: 32px;
    font-size: 24px;
    margin-right: 10px;
    transform: translateY(5px);
}

.icon {
    font-size: 32px;
    margin-left: 10px;
    transform: translateY(10px);
}

input {
    height: 30px;
    font-size: 20px;
    background-color: white;
    padding: 0 5px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 4px 2px 10px 0px grey;
}

input:hover {
    background-color: rgb(246, 246, 246);
}

input:focus {
    outline: none;
}

#title,
#description,
#username {
    width: 350px;
}

.flexbox {
    display: flex;
    justify-content: space-evenly;
}

input::placeholder {
    font-family: "Baloo Tamma 2", cursive;
    font-size: 20px;
    color: grey;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

label {
    width: 350px;
    height: 20px;
}

#label-for-file {
    height: 20px;
    color: grey;
    font-size: 20px;
    background-color: white;
    padding: 0 5px;
    border: none;
    border-radius: 5px;
    margin-right: 230px;
    margin-left: 5px;
    margin-bottom: 10px;
    box-shadow: 4px 2px 10px 0px grey;
}

button {
    font-size: 30px;
    color: white;
    background-color: rgba(190, 125, 125);
    width: 150px;
    height: 40px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background-color: rgb(179, 92, 92);
}

button:active {
    transform: translateY(2px);
}

button:focus {
    outline: none;
}

#upload-button {
    text-align: center;
}

#get-more-images {
    margin: 5% 0;
    grid-column: 2 / 3;
}

/* ////////////////////////// IMAGES ////////////////////////// */

.image {
    background-color: white;
    height: 300px;
    width: 100%;
    margin: 0;
    border: 1px solid grey;
    border-radius: 5%;
    text-align: center;
}

.cover {
    width: 100%;
    height: 88%;
    padding: 1%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 5% 5% 0 0;
}

#img-title {
    font-family: SpriteGraffiti-Shadow, "Baloo Tamma 2", cursive;
    font-size: 24px;
}

/* ////////////////////////// MODAL ////////////////////////// */

.component {
    background: white;
    position: fixed;
    overflow: scroll;
    top: 0;
    bottom: 0;
    right: 4%;
    left: 4%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 4fr 1fr;
}

#modal-upper-left {
    width: 100%;
    height: 100%;
}

#img-modal {
    width: 100%;
    height: 100%;
    padding: 3%;
    object-fit: cover;
    overflow: hidden;
}

#left {
    font-family: "SpriteGraffiti-Shadow", "Baloo Tamma 2", cursive;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 60%;
    z-index: 5;
}

#image-info {
    margin-left: 70px;
}

.flexbox-modal {
    display: flex;
    justify-content: flex-start;
}

.comments {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

#x {
    font-family: "SpriteGraffiti-Shadow", "Baloo Tamma 2", cursive;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

#x:hover {
    color: grey;
}

#x:active,
#right:active {
    transform: translateY(1px);
}

#right {
    font-family: "SpriteGraffiti-Shadow", "Baloo Tamma 2", cursive;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 60%;
    right: 5px;
}

a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: grey;
}

h2 {
    font-family: RuthlessWreckinOne-7YlK, "Baloo Tamma 2", cursive;
    font-size: 60px;
    color: white;
    text-shadow: 5px 0px 10px black;
    margin: 40px 10px 0px 0px;
}

.props-icon {
    font-size: 16px;
}

.props-input {
    height: 20px;
    width: 300px;
    font-size: 15px;
    background-color: white;
    padding: 0 5px;
    border: none;
    border-radius: 5px;
    margin: 5px 0;
    box-shadow: 4px 2px 10px 0px grey;
}

.flex-button {
    display: flex;
    justify-content: flex-start;
}

#props-button,
#delete-button {
    color: white;
    background-color: rgba(190, 125, 125);
    width: 100px;
    height: 20px;
    font-size: 15px;
    text-align: center;
    padding: 0;
    border: none;
    border-radius: 10px;
    margin: 5px 0 20px 20px;
    display: block;
    cursor: pointer;
}

#props-button:hover {
    background-color: rgb(179, 92, 92);
}

#props-button:active,
#delete-button:active {
    transform: translateY(1px);
}

#props-button:focus,
#delete-button:focus {
    outline: none;
}

#delete-button:hover {
    background-color: rgb(179, 92, 92);
    transform: scale(1.1);
}

.props-commenter {
    font-family: "Baloo Tamma 2", cursive;
    font-weight: 600;
    font-size: 16px;
    padding-top: 10px;
    margin: 0;
}

.props-commenter-thin {
    font-family: "Baloo Tamma 2", cursive;
    font-weight: 400;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.icon-props {
    font-size: 16px;
    transform: translateY(-2px);
    padding: 5px 5px 0 3px;
}

.distance {
    padding-left: 10px;
}

.icon-modal {
    font-size: 24px;
    margin-left: 30px;
    padding: 10px;
    transform: translateY(-10px);
}

.img-title-modal,
.img-modal-description,
.img-modal-username,
.img-modal-date {
    font-family: "SpriteGraffiti-Shadow", "Baloo Tamma 2", cursive;
}

/* ////////////////////// FOOTER ////////////////////// */

footer {
    width: 100%;
    grid-column: 1 / 4;
    background-color: rgb(128, 128, 128, 0.4);
    display: grid;
    grid-template-columns: 1fr 200px;
    height: 50px;
}

#copyright {
    color: white;
    font-size: 16px;
    padding: 15px 0 10px 10px;
}

.contact {
    padding: 9px;
}

.white {
    color: white;
}

.white:hover {
    color: blue;
}

#footer-extension-left {
    height: 49px;
    width: 80px;
    background-color: rgb(128, 128, 128, 0.4);
    border: 0;
    transform: translate(-80px, -46px);
}

#footer-extension-right {
    height: 49px;
    width: 76px;
    background-color: rgb(128, 128, 128, 0.4);
    border: 0;
    transform: translate(200px, -46px);
}
