/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




#top{
    display: grid;
    background-color: rgb(124, 148, 255); 
    height:50px;     
    position:sticky; 
    top:0px;
    padding:5px;
    align-items: center;
    text-align: center;
    grid-template-areas: 
    "logo searchbar login shopingcart";
    grid-template-columns: 1fr 10fr 1fr 1fr;
}
.logo{
   position: relative;
   height:50px;
   grid-area: logo;
}
#searchbar{
   width: 500px;
   margin-left:385px;
   text-align: center;
   grid-area: searchbar;
   border-radius: 5px;
}
#checkout,#logo,#login:hover{
   cursor: pointer;
}
#login{
   grid-area: login;
   border:none;
   border-radius: 5px;
   background-color:rgb(69, 103, 255) ;
   color:white;
}
#login:hover{
   background-color: rgb(31, 72, 253);
}
#checkout{
   grid-area: shopingcart;
}
#links{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}
#links > *{
   padding-top:15px;
    border:none;
   height: 30px;
    width:500px;
    background-color: rgb(69, 103, 255);
    color:rgb(255, 255, 255);
    text-decoration: none;
    border-right: 1px black solid;
    border-left: 1px black solid;
}
#links > :hover{
   cursor: pointer;
   background-color: rgb(31, 72, 253);
}
footer{
    text-align: center;
    font-style: italic;
}
#content{
    display:grid;
    grid-template-areas:
    "a b"
    "c d"
    "e f"
    "g h"
    "i j";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap:0px;
}
#a{
   grid-area: a; 
}
#b{
   grid-area: b; 
}
#c{
   grid-area: c; 
}
#d{
   grid-area: d; 
}
#e{
   grid-area: e; 
}
#f{
   grid-area: f; 
}
#g{
   grid-area: g; 
}
#h{
   grid-area: h; 
}
#i{
   grid-area: i; 
}
#j{
   grid-area: j; 
}
#content > *{
    height: 300px;
    margin-left:auto;
    margin-right:auto;
    margin-top: 50px;
}
#content > :hover{
   cursor:pointer;
}
.textmain{
   text-align: center;
   padding:20px;
   line-height: 2rem;
}
body{
   background-color: rgb(241, 241, 241);
}
#acp{
   text-align: center;
   position: fixed;
   box-shadow: 0px 2px 30px 10px rgb(95, 95, 95);
   height: 80vh;
   width: 90vh;
   background-color: rgb(124, 180, 240);
   border-radius: 25px;
   top:10vh;
   right:50vh;
}
.thing{
   border:none;
}
#a,#b,#c,#d,#e,#f,#g,#h,#i,#j{
   height: 100%;
   border-radius: 20px;
}
#acp > *{
   font-size: 50px;
   line-height: 2em;
   margin-top: 20px;
}
#bakcs{
   margin-left: 650px;
   margin-top: 60px;
   font-size: small;
   border: none;
   background-color: rgb(69, 103, 255);
   border-radius: 10px;
   color:white;
   box-shadow: 0px 2px 10px 0px rgb(100, 100, 108);
}
#bakcs:hover{
   cursor: pointer;
   background-color: rgb(35, 75, 255);
}
#agrees{
   width:500px;
   border: none;
   background-color: rgb(69, 103, 255);
   border-radius: 10px;
   color:white;
   box-shadow: 0px 2px 10px 0px rgb(100, 100, 108);
}
#agrees:hover{
   background-color: rgb(35, 75, 255);
   cursor: pointer;
}
h1{
   font-size:30px;
}
h3{
   font-size:20px;
}
.textmain{
   padding:20px;
   line-height: 4em;
}
.socia{
   text-decoration: none;
   color:black;
   margin: 10px;
}
#asdas{
   height: 200px;
}
#buy{
   width:100px;
   border: none;
   background-color: rgb(69, 103, 255);
   border-radius: 10px;
   color:white;
   box-shadow: 0px 2px 10px 0px rgb(100, 100, 108);
}
#buy:hover{
   cursor: pointer;
   background-color: rgb(35, 75, 255);
}