* {
    box-sizing: border-box;
}
body {
    font-family: "Roboto Slab",serif;
}
button {
    width: 100%;
    color: white;
    background-color: orange;
    border: 0px;
    height: 40px;
    margin-bottom: 10px;
}
main {
    margin: auto;
    width: 80vw;
    min-height: 100vh;
}
h4 {
    margin-bottom: 7px;
}
h5 {
    color: orange;
    font-size: large;
    margin-bottom: 7px;
    margin-top: 7px;
}
.laptop-container {
    display: flex;
    border: 0.6px solid grey;
}
.photo-container{
    justify-content: center;
    align-items: center;
    background-color: white;
    display: flex;
}
.txt {
    font-size: 10.5pt;
    text-align: justify;
}
.txt-price {
    font-size: 10.5pt;
    margin-bottom: 7px;
    margin-top: 7px;
}
.usefull-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.text-container {
    display: flex;
    width: 60%;
    flex-direction: column;
    justify-content: space-around;
    height: fit-content;
}
.buy-container{
    display: flex;
    flex-direction: column;
    margin: 10px;
}
.photo {
    width: 140px;
    height: 100px;
    padding: 12px;
    transition: 0.8s;
}
.laptop-container:hover .photo{
    transform: scale(1.2)
}
.laptop-container:hover #heart{
    opacity: 1;
}
.laptop-container:hover #buy{
    opacity: 1;
}
#heart {
    color: red;
    opacity: 0;
    transition: 0.8s;
}
#buy {
    background-color: green;
    opacity: 0;
    transition: 0.8s;
    margin-bottom: 0px;
}
span {
    color: black;
}