@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap');


body {
    font-family: "Solway", serif;
    font-weight: 400;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-color: #132347;
}


/* Navbar styling */

nav {
    width: 100%;
    background-color: #070c1b;
    padding-top: .25%;
    padding-bottom: .25%;
}

.stylingbelownav {
    width: 100%;
    height: 1vw;
    background-color: #0A0F25;
    border: 2.5px solid #000000;
    border-right: none;
    border-left: none;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    padding-left: 0;
    height: 2.5vw;
}

nav li {
    display: flex;
    align-items: center;
    height: 2.5vw;
}



nav a {
    text-decoration: none;
    color: white;
    height: 100%;
    margin: 0 50px;
    display: inline-flex;
    align-items: center;
    font-size: 1.3vw;
    text-align: center;
    width: 100%;
}



li a:hover:not(#logo) {
    background-color: rgba(0, 0, 0, 0.697);
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    height: 65px;
}

.activePage {
    height: 65px;
    border-radius: 13px;
    transition: background-color 0.3s ease;
    text-decoration: underline ;
    text-underline-offset: 50%;
}

.mainpage h1 {
    color: white;
    font-size: 96px;
    -webkit-user-select: none;
    user-select: none;
}

.mainpage {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.searchbar1 {
    width: 100%;
    height: 7vh;
    background-color: #0b122b;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #000000;
    border-right: none;
    border-left: none;
    position: relative;
}

.magnifyingglass {
    position: absolute;
    left: 82%;
}

input {
    width: 70vw;
    background-color: #D9D9D9;
    height: 5vh;
    border: none;
    border-radius: 27px;
    font-size: 28px;
    font-family: "Solway", serif;
    font-weight: 500;
    color: #585858;
    padding: 0;
    padding-left: 1%;   
}

.itemlist {
    background-color: #081430;
    width: 250%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 3%;
    padding-bottom: 10%;
}

.banner h1 {
    font-size: 64px;
    font-weight: 500;
    text-align: center;
}

.itemgridContainer {
    background-color: #9F9F9F;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    width: 75vw;
}

.itemgrid {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 75px;
    padding-top: 5%;
    padding-bottom: 5%;
}

.itemcard {
    display: block;
    background-color: #262626;
    padding: 1% 0% 1% 0%;
    border-radius: 21px;
    overflow-wrap: normal;
    width: 18vw;
    height: 42vh;
    color: white;
   transition: outline 0.2s ease
}

.itemcard:hover {
    outline-color: black;
    outline-style: solid;
    outline-offset: 4px;
    outline-width: 6px;
}

.image {
    width: 308px;
    height: 244px;
    background-color: #BCB4AB;
    border-radius: 21px;
    border: 2px solid black;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.text {
    width: 100%;
    box-sizing: border-box;
    margin-left: 15%;
    color: white;
    margin-left: 7%;
}

a {
    text-decoration: none;
}

.text h2 {
    font-size: 24px;
    font-weight: 500 ;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: 2;
    overflow: hidden;
}

.bottomgrid {
    border-bottom-right-radius: 48px;
    border-bottom-left-radius: 48px;
    background-color: #262626;
    width: 75vw;
    height: 100px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0px;
}


button {
    background: none;
    border: none;
    cursor: pointer;
}


.component10 {
    position: absolute;
    z-index: 99;
    left: 20%;
    
}

.rightalign {
    margin-left: auto;
    position: relative;
    margin-right: 2.5%;
    z-index: 2;
}

.component10 {
    position: absolute;
    z-index: 99;
    left: 0%;
    z-index: 3;
}

.Group15 {
    cursor: pointer;
}

/* Settings Popup Styling */

.settings {
    background-color: #262626;
    color: white;
    font-size: 28px;
    width: 15vw;
    padding: 2vh 1vw 2vh 1vw;
    text-align: left;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    font-family: 'Solway', serif;
    font-weight: 400;
    position: absolute;
    left: 82.8%;
    z-index: 99;
}

.settingssvg {
    width: 40px;
    height: 40px;
    padding-right: 5%;
    position: absolute;
    right: 78%;
    bottom: -15%;
}

.settingsdiv {
    position: relative;
    padding-left: 20%;

}

.avatar {
    display: block;
    margin: auto;
    width: 90px ;
    height: 90px ;
}

.avatarname {
    text-align: center;
}

.signout {
    padding: 2.5% 5% 2.5% 5%;
    font-family: 'Solway', serif;
    font-weight: 400;
    background-color: #434343;
    color: white;
    border-radius: 10px;
    border: 2px solid white;
    cursor: pointer;
    font-size: 28px;
    text-align: center;
    display: block;
    margin: auto;
}

.settings a {
    text-decoration: none;
    color: white;
}

