

*{
    margin: 0;
    padding: 0;
}

body {
    /*min-height: 100vh;*/
    background-color: black;
    font-family: Abel, Arial, Helvetica, sans-serif;

}

nav {


    padding: 1.2em;

    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

nav ul li {
    margin-left: 1em;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}
a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

.card-container {
    width: 300px;
    height: 450px;
    perspective: 1000px;
    margin: 1.5em;
    margin-bottom: 2.1em;
}

.card-mini {
    cursor:pointer;
    width: 300px;
    height: 300px;
}
.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card:hover {
    /*transform: rotateY(180deg);*/
}

/*.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}*/

.card-face {
    cursor:pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    /*z-index: 1;*/
}

.card-front {
cursor: pointer;
    background-color: #6366f1;
    color: white;
}

.card-back {
    background-color: #8b5cf6;
    color: white;
    transform: rotateY(180deg);

    transition: transform 0.6s;

}
.card-media {
    width: 315px;
    height: 360px;
}
.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    /*z-index: 0;*/
}
.card-back img{
   width:100%;

}
main{
    margin:0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    /*background: linear-gradient(to bottom, #1d6395, #a1e185);*/

    height: 78vh;
}

section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    /*max-height: 90%;*/
    /*padding: 2em;*/

    align-items: center;
    /*background-color: rgba(40, 84, 146, 0.185);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;*/

    /*margin: 1.5em;*/
    border:1px, #1d6395 ;
}
.section-2{
  background-color: rgba(40, 84, 146, 0.185);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    height:450px;
    width:270px;
    overflow: scroll;
    align-items: center;
    /*width: 40%;
    min-width: 300px;*/
    text-align: justify;
    padding: 0 ;


}

h1, h2{
    /*margin-bottom: 1em;*/
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    /*letter-spacing: 1px;*/
    font-family: Oswald, sans-serif;
    font-size: 1.5em;
    z-index: 0;
    padding-top: 3em;
    text-align: center;
    justify-content: center;
    width: 100%;

    /*background: linear-gradient(to right, #6366f1, #8b5cf6);*/
}

p {
    color: white;
    font-size: 1.5em;
    margin-bottom: 1em;
    /*line-height: 1.5;*/
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: Abel,Open Sans, sans-serif;
}

.collection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 2em;
}


::backdrop {
  background-image: linear-gradient(
    45deg,
    magenta,
    rebeccapurple,
    dodgerblue,
    green
  );
  opacity: 0.75;
}




.centerpoint {
    top: 50%;
    left: 50%;
    position: absolute;
}

.dialog {
    position: relative;

    width: 800px;
    margin-left: -400px;

    height: 600px;
    margin-top: -300px;
}