html {
  font-size: 20px;
  overflow: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-color: #292929;
    margin: 0;
}

.default-text {
    color: white;
    text-shadow: 0px 0px 4px white;
}

.picture {
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.picture-home {
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

p {
    color: white; 
    font-family: Arial;
}

.inv-div {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translate(300px, -50%);
    background-color: rgba(200, 200, 200, 0.2);
    height: 400px;
    width: 250px;
    border: none;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-radius: 20px;
    opacity: 1;
    transition: all .5s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.inv-div-active {
    transform: translate(0, -50%);
    opacity: 1;
}

.inv-btn-open {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    border: 2px solid white;
    background-color: rgba(200, 200, 200, 0.2);
    color: white;
    padding: 10px;
    width: 100px;
    text-align:center;
    border-radius: 12px;
    font-family: Arial;
    font-weight: bold;
}

.inv-btn-open:hover {
    background: white;
    cursor: pointer;
    color: black;
}

.inv-btn-close {
    background: rgba(200, 200, 200, 0.2);
    border: 2px solid white;
    height: 22px;
    width: 22px;
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    border-radius: 4px;
    transition: all .1s ease;
    font-weight: bold;
}

.inv-btn-close:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.inv-content {
    width: 100%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: Arial;
}

.inv-content div {
    width: 100%;
    height: 10%;
    text-align: center;
    font-weight: bold;
}

.buttons-div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    margin-bottom: 50px;
}

.buttons {
    border-radius: 20px;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    background-color: rgba(200, 200, 200, 0.2);
    display: flex;
    flex-direction: column;
}

.buttons a {
    text-align: center;
    margin: 25px;
    color: white;
    font-size: 40px;
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    transition: all .1s ease;
}

.buttons a:hover {
    text-shadow: 0px 0px 4px white;
}

.buttons button {
    background: none;
    border:none;
    text-align: center;
    margin: 25px;
    color: white;
    font-size: 40px;
    font-family: Arial;
    font-weight: bold;
    transition: all .1s ease;
}

.buttons button:hover {
    text-shadow: 0px 0px 4px white;
    cursor: pointer;
}

.checkcells {
    display: flex;
    justify-content: center;
}

.checkcells-btn {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    font-family: Arial;
    font-weight: bold;
    transition: all .1s ease;
}

.checkcells-btn:hover {
    text-shadow: 0px 0px 4px white;
    cursor: pointer;
}

.room2-left{
    display: none;
}

.room2-right {
    display: none;
}

.hearts-div {
    position: absolute;
    bottom: 20px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    pointer-events: none;
}

.hearts {
    margin-left: 20px;
    height: 75%;
    width: max-content;
    display: flex;
    gap: 20px;
}

.heart {
    height: 100%;
}

.arrow {
    margin-top: 40px;
    height: 40px;
    justify-self: flex-end;
    transition: all .15s ease;
}

.arrow:hover {
    transform: scale(1.08);
}

.notification-div {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border-left: 2px solid white;
    border-right: 2px solid white;
    margin: 10vh;
    display: flex;
}

.notification-text {
    margin: 20px;
}

.pirate-mad-picture {
    background-size:cover;
}

.pirate-hp-div {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 60%;
    display:flex;
    justify-content:center;
}

.pirate-hp {
    background-color: rgb(60, 0, 0);
    border: 5px solid white;
    height: 30px;
    width: 120px;
    display: flex;
    position: relative;
}

.end-title {
    width: 100%;
    height: 20%;
    position: absolute;
    top: 30vh;
    text-align: center;
    line-height: 0px;
}

.end-title h1, h2 {
    
    color: white;
    font-family: Arial;
    -webkit-text-stroke: 1px black;
}

.end-title h1 {
    font-size: 50px;
    font-weight: bold;
}

.end-title h2 {
    font-size: 36px;
    font-weight: 600;
}

.home-inv-div {
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 16vh;
    display: flex;
    justify-content: center;
}

.home-inv-content {
    width: 30%;
    height: 100%;
    border-radius: 20px;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
    background-color: rgba(200, 200, 200, 0.2);
    text-align: center;
}

.home-inv-content div {
    font-size: 20px;
    margin-top: 20px;
    color: white;
    font-family: Arial;
    font-weight: bold;
}