@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%;
}

/* Page Styling */

.mainpage h1 {
    color: white;
    font-size: 96px;
}

.greeting {
    padding-left: 2.5%;
    
}

li img {
    padding-right: 10%;
}

.logofont {
    font-size: 20px;
}

.infoblocks {
    background: #081430;
    border-radius: 50%;
    padding-top: 5%;
    padding-bottom: 10%;
    width: 200%;
    right: 54%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5%;
    margin-top: 5%;
}


.infoCard {
    background-color: #262626;
    color: white;
    padding: 2.5% 1% 2.5% 1%;
    border-radius: 5%;
}

.infoCard h2 {
    font-size: 32px;
}

.infoCard h3 {
 font-size: 28px;   
}


.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;
}

.acountbutton {
    background: none;
    border: none;
    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%;
}

.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;
}

.myitems {
    background-color: #262626;
    border-radius: 48px;
    width: 75vw;
    color: white;
    text-align: center;
    font-size: 32px;
    margin-top: 2%;
}

.myitems h3 {
    font-family: 'Solway', serif;
    font-weight: 400;
}

.myitems hr {
    width: 80%;
}

.itemcontainer {
    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%;
    background-color: #1A1A1A;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5%;
    border-radius: 16px;
    margin-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;
   cursor: pointer;
   z-index: 99;
}

.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 {
    color: white;
    font-weight: 300;
}

a {
    text-decoration: none;
}

.text h2 {
    font-size: 24px;
    font-weight: 400 ;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: 2;
    overflow: hidden;
}

small {
    font-size: 16px;
}

/* Mobile UI */
@media (max-width: 1132px) {
    .infoblocks {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 1000px) {
    
}