/* CSS Document */
/* Universal Settings */
* {
    margin: 0;
    padding: 0;
    color: #F3F3F2;
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    height: 100%;
    background-image: url("https://api.jiaokan.xyz/randpic");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body:before {
    content: "";
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.50);
}

/* Navbar Settings */
.navbar {
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    float: left;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.75);
}

.homepageButton {
    width: 300px; /*Change here according to the title and subtitle*/
    height: 100%;
    display: inline-block;
    float: left;
    line-height: 90px;
    text-align: center;
    font-size: 25px;
    font-weight: 100;
}

.navLink {
    width: 150px;
    height: 100%;
    display: inline-block;
    float: right;
    line-height: 90px;
    text-align: center;
    font-size: 20px;
}

.homepageButton:hover, .navLink:hover {
    background-color: rgba(168, 124, 160, 0.50);
}

/* Main Settings */
.main {
    width: 100%;
    margin: 90px auto auto;
    padding-top: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.item {
    width: 370px;
    height: 700px;
    margin: 50px 77px;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.infoContainer {
    width: 100%;
    height: 250px;
    position: absolute;
    top: 200px;
    background-color: rgba(0, 0, 0, 0.70);
}

.title {
    width: 100%;
    line-height: 200px;
    text-align: center;
    font-size: 60px;
    font-weight: 150;
}

.detail {
    width: 100%;
    margin-top: -30px;
    line-height: 10px;
    text-align: center;
    font-size: 23px;
    color: #7D89DE;
}

.infoContainer:hover {
    background-color: rgba(91, 137, 48, 0.70);
}

.infoContainer:hover > p:nth-child(2) {
    color: #1F4788;
}