
:root {
/* ## Colors

### Primary */

--SoftBlue: hsl(215, 51%, 70%);
--Cyan: hsl(178, 100%, 50%);

/* ### Neutral */

--VeryDarkBlue: hsl(217, 54%, 11%);
--VeryDarkishBlue: hsl(216, 50%, 16%);
--VeryLessDarkBlue: hsl(215, 32%, 27%);
--White: hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--VeryDarkBlue);
    font-family: "Outfit";
    font-size: 18px;
    color: var(--White);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container { 
    width: 400px;    
    height: auto;
    background-color: var(--VeryDarkishBlue);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
}


.img-container {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
}

.main-image {
    width: 100%;
    z-index: 0;
    position: relative;
    border-radius: 5px
}

.image-overlay {
    position: absolute;
    width: 100%;
    height: 98.8%;
    background-color: var(--Cyan);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 5px;;
    transition: opacity 500ms ease;
    z-index: 2;
}

.eye-icon {
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 500ms ease;
    position: absolute;
    top: 43%;
    left: 45%;
    z-index: 3;
}

.img-container:hover .image-overlay {
    opacity: 0.5;
  }
  
  .img-container:hover .eye-icon {
    opacity: 1;

  }
h1 {
    font-size: 1.8rem;
   padding: 10px 0 10px 0;
   cursor: pointer;
}

h1:hover {
    color: var(--Cyan)
}

p {
    color: var(--SoftBlue);
    padding: 10px 0 10px 0;

}

.price-time-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

h2 {
    position: relative;
    bottom: 2px;
    padding-left: 5px;
    font-size: 19px;
    color: var(--Cyan)
}

.eth-icon, h2 {
    display: inline-block;
}

.clock-icon, .time {
    display: inline-block;
}

hr {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--VeryLessDarkBlue);
    margin: 10px 0 10px 0;
}

.signature {
    display: flex;
    align-items: center;
}

.avatar-image {
    width: 50px;
    border: 2px solid var(--White);
    border-radius: 25px;
    margin-right: 25px;
}

.name {
    color: var(--White);
    margin-left: 5px;
    cursor: pointer;
}

.name:hover {
    color: var(--Cyan)
}

@media (max-width: 420px) {
    .container { 
        width: 340px;   
    }
    .eye-icon{
    top: 42%;
    left: 43%;
}

}
