@import url('https://fonts.googleapis.com/css2?family=Poppins:wght;400;700&display=swap');

*, *::after, *::before {
    box-sizing: border-box;
    margin: 0px;
}
#wrapper {
    display: grid;
    grid-template-columns: minmax(0, 100px) repeat(6, 1fr) minmax(0, 100px);
    background-color: black;
}
nav {
    grid-column-start: 1;
    grid-column-end: 9;
    display: grid;
    grid-template-columns: minmax(0, 100px) repeat(6, 1fr) minmax(0, 100px);
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: red;
}
.nav-container {
    grid-column-start: 2;
    grid-column-end: 8;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    min-height: 75px;
    background-color: green;
}

.icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
}
#logo {
    color: purple;
    font-size: xx-large;
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
    background-color: white;
}
.icon {
    display: flex;
    align-items: center;
    color: purple;
    text-decoration: none;
    margin-right: 1em;
    font-size: large;
}
#nav-buttons:hover{
    background-color: purple;
    color: white;
    cursor: pointer;
}
.icon p {
    margin-left:5px;
}
#nav-buttons {
    display: flex;
    padding: .5em;
    margin-right: 1em;
    align-items: center;
    border-radius: 10px;
    font-size: medium;
    color: purple;
    background-color: white;
    border: purple 2px solid;
    white-space: nowrap;
}
#spans {
    margin-left: 5px;
}

main {
    grid-column-start: 2;
    grid-column-end: 8;
    color: white;
    background-color: blue;
    padding-bottom: 5em;
}
.display {
    display: flex;
    flex-direction: row;
    padding: 1em;
    align-items: start;
}
#image {
    height: 400px;
    border-radius: 10px;
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: .5em;
    border: solid purple 4px;
    background-color: purple;
}
#image-two {
    height: 400px;
    border-radius: 25px;
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: .5em;
    border: solid purple 4px;
    background-color: purple;
}
.summary{
    flex: 1;

    text-align: center;
}
.summary h2 {
    margin: 5px;
    text-align: center;
    background-color: purple;
    min-height: 100px;
}
.summary p {
    margin: 5px;
    font-size: large;
    text-align: left;
    max-height: 200px;
    overflow-y: hidden;
    background-color: purple;
    min-height: 100px;
}
.divider-section {
    border-top: 7px solid purple;
    border-bottom: 7px solid purple;
    text-align: center;
    border-radius: 10px;
    padding: 1em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: .5em;
    margin-bottom: .5em;
    font-size: large;
    background-color: purple;
}
.sales {
    padding: 1em;
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 100px;
    font-size: medium;
    border: solid 2px purple;
    color: white;
    margin-top: 3em;
    background-color: purple;
}
.sales:hover{
    background-color: white;
    color: purple;
    cursor: pointer;
}
.hidden {
    opacity: 0;
    filter: blur(5px);
    transition: all 2s;
}
.show {
    opacity: 1;
    filter: blur(0);
    z-index: -10px;
}
.reviews {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
    text-align: center;
}
.review {
    display: flex;
    flex-direction: column;
    padding: 1em;
    margin-left: 1em;
    margin-right: 1em;
    color: white;
    border: 4px solid purple;
    border-radius: 10px;
    text-align: left;
}
.review h3 {
    margin-bottom: .5em;
    text-align: left;
}

@media (max-width:900px) {
    #wrapper {
        grid-template-columns: 1fr;
    }
    .main {
        grid-column-start:1;
        grid-column-end: 9;
    }
    .nav-container {
        display: flex;
        flex-direction: column;
    }
    .display {
        flex-direction: column;
    }
    .reviews {
        display: grid;
        grid-template-columns: 1fr;
    }
    .review {
        margin-bottom: 1em;
    }
}
@media (max-width:1200px) {
    #wrapper {
        display: grid;
        grid-template-columns: minmax(0, 0px) repeat(6, 1fr) minmax(0, 0px);
    }
    .nav-container {
        grid-column-start: 1;
        grid-column-end: 9;
    }
    .main {
        grid-column-start: 1;
        grid-column-end: 9;
    }
}
@media (min-width: 1200px) {
    .nav-container {
        grid-column-start: 2;
        grid-column-end: 8;
    }
}