:root {
--primary-colour: #cc0000;
--secondary-colour: #7c0000;
}

* {
    box-sizing: border-box; 
    padding: 0;
    margin: 0;
    text-decoration: none
}

html, body {
    height: 100%;
}

body {
    font-family: "roboto", sans-serif;
    display: flex;
    flex-direction: column;
}
a:link {
  text-decoration: none;
    color: #444;
}

a:visited {
 text-decoration: none;
    color: #444;
}

a:hover {
 text-decoration: none;
    color: #444;
}

a:active {
 text-decoration: none;
    color: #444;
}



.content {
    flex: 1 0 auto;
  }
  .content .app-header .container p {
    text-transform: uppercase;
  }

.container {
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    overflow: none;
}
.app-header {
    background: var(--primary-colour);
    box-shadow: 3px 3px 10px #888;
    color: #fff;
    letter-spacing: 2px;
}
.app-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
}
.app-header .logo {
    width: 170px;
    margin-bottom: 16px;
}
.app-header input[type="text"] {
    padding: 7px;
    width: 300px;
    border-radius: 3px;
    border: none;
}

.subheader {
    background: var(--secondary-colour);
    color: #fff;
    box-shadow: 3px 3px 10px #888;
    margin: 0 auto 16px auto;
    width: 90%;
    font-size: 14px;
    padding: 10px;
    display: flex;
    align-items: centre;
    justify-content: space-between;
}
.subheader p {
    margin: 4px;
}
.subheader img {
    width: 40px;
}

.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;

}
.grid .item {
display: flex;
flex-direction: column;
border: 1px solid #ccc;
padding: 10px;
box-shadow: 1px 1px 2px #ccc;
border-radius: 3px;
}

.grid .item h4 {
    margin-bottom: 4px;
}
.grid .item p {
    font-size: 14px;
    font-weight: bold;
    color: var(--secondary-colour);
    margin-bottom: 20px;
}
.grid .item img {
    height: 30px;
    width: auto;
    align-self: flex-end;
}

.app-footer {

    flex-shrink: 0;
    background: #f4f4f4;
    color: #444;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;

}
.app-footer ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}
.app-footer ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.app-footer ul li i {
    font-size: 22px;
}


/* Pharmacy page */
.content .container-P {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.content .container-P .prescription-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content .container-P .prescription-scan .barcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content .container-P .prescription-scan .barcode img {
    width: 300px;
    margin-top: 20px;
}
.content .container-P .prescription-scan .barcode p {
    font-weight: 500;
    margin-bottom: 16px;
}
.content .container-P .prescription-scan .barcode span {
    color: var(--primary-colour);
}
.content .container-P .prescription-scan .or {
    display: flex;
    align-items: center;
    justify-content: space-around;

    margin-bottom: 16px;
    width: 70%;
    
}
.content .container-P .perscription-scan .or div {
    width: 35%;
    height: 1px;
    border-top: solid #a6a6a6 3px;
}
.content .container-P .prescription-scan .or p {
    font-size: 22px;
    font-weight: 600;
}
.content .container-P .prescription-scan .enter-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    
}
.content .container-P .prescription-scan .enter-code p {
    font-weight: 500;
    margin-bottom: 16px;
}
.content .container-P .prescription-scan .enter-code input {
    border: 0;
    background: transparent;
    color: #111;
    width: 100%;
    padding: 10px;
    outline: none;
    font-size: 64px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    resize: none;
}
.content .container-P .prescription-scan .enter-code input::placeholder {
    font-size: 64px;
    color: #111;
    font-weight: 800;
    text-align: center;
}
.content .container-P .prescription-list {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    width: 300px;
    border-top: solid #a6a6a6 3px;
    margin: 0 16px;
    padding: 16px 0;
}

.content .container-P .prescription-list p {
    font-weight: 500;
}
.content .container-P .prescription-list h2 {
    font-size: 32px;
    font-weight: 800;
}
.content .container-P .prescription-list i {
    flex-grow: .8;
    text-align: right;
    color: var(--primary-colour);
}
.content .container-P .deals-rewards {
    border-top: solid #a6a6a6 3px;
    border-bottom: solid #a6a6a6 3px;
    display: flex;
    align-items: center;
    justify-content:left;
    width: 300px;
    padding: 32px 0;
    margin: 16px 0;
    font-weight: 500;
}
.content .container-P .deals-rewards i {
    font-size: 24px;
    flex-grow: .1;
    color: var(--primary-colour);
}

/* Prints Page */
.Pr-feature {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-colour);
    font-weight: bold;
}
.Pr-feature i {
    font-size: 20px;
    padding: 10px 0;
}
.Pr-feature p {
    padding: 0 10px;
}
.fa-diamond {
    font-size: 34px !important;
}
.prints-container {
    width: 90%;
    margin: 0 auto;
}
.prints-container .ph-header {
    padding: 20px;
    background: #e3e3e3;
    margin-bottom: 20px; 

}
.grid-p {display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
width: 90%;
margin: 0 auto;

}


.grid-p .p-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 1px 1px 2px #ccc;
    border-radius: 3px;
    }
    .grid-p .p-item h4 {
        margin-bottom: 4px;
    }
    .grid-p .p-item p {
        font-size: 14px;
        font-weight: bold;
        color: var(--secondary-colour);
        margin-bottom: 20px;
        
    }
    .grid-p .p-item img {
        width: 100px;
    }

    /* Deals Page */
    .D-container {
        display: grid;
        grid-template-columns: 50px auto 50px;
        width: 90%;
        margin: 0 auto;
        align-items: center;
    }
    .D-container .loc {
        grid-column-start: 1;
        grid-column-end: 4;
        padding: 20px 0 16px 0;
        border-bottom: solid #ccc 1px;
    }
    .D-container .icn {
        font-size: 32px;
        color: #888;
        text-align: center;
    
    }
    .D-container .text {
        display: flex;
        flex-direction: column;
        align-items:flex-start;
    
        gap: 4px;
     padding: 10px 20px;
     max-width: 300px;
    }
    .D-container .text h4 {
        color: var(--primary-colour);
    }
    .D-container .text span {
        color: #888;
    }
    .D-container .text img {
        height: 20px;
    }
    .D-container .text .fa-shopping-cart {
      
        margin-right: 8px;
        
    }
    .D-container .text h5 {
        color: var(--primary-colour);
        font-size: 14px;
    }
    .D-container .btn {
        color: var(--primary-colour);
        text-align: center;
    }
    .D-container .m-icn {
        color: var(--primary-colour);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    
    }

    .D-container .m-icn .fa-dollar {
        border: var(--primary-colour) dashed 1px;
        width: 38px;
        text-align: center;
        padding: 2px  
    }

    .D-container .tick {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #888;
    }
    .D-container .tick i {
        font-size: 32px;
    }

    .D-container .tick p {
        text-align: center;
        font-weight:600;
        font-size: 14;
    }


    .returnToggle {
position: fixed;
bottom: 20vh;
right: 0;
z-index: 200;
 
  cursor: pointer;

}

.returnToggle p {
     background-color: rgba(239, 245, 245, .8);
  border-radius: 10px 0 0 10px;
  box-shadow: 5px 8px 15px rgba(0, 0, 0, .45);
  padding: 32px 8px;
    text-align: center;
    color: rgb(108, 166, 171);
    font-weight: 400;
    font-size: 16px;
}

.returnToggle :hover {
    background-color: rgb(239, 245, 245);
}

    

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid .item img {
        height: 50px;
    }
    .grid-p {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (min-width: 1024px) {
   .D-container {
        max-width: 900px;
    }
    .D-container .text {
margin-left: 150px;
max-width: 600px;
    }}