@font-face {
    font-family:"Open Sans";
    font-weight: 400;
    src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
@font-face {
    font-family:"Open Sans";
    font-weight: 700;
    src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
}
button{
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    
}
h1{
    color: #61677A;
    text-align: center;
    font-family: Open Sans;
    font-size: 5vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h2
{
    color: #61677A;
    text-align: center;
    font-family: Open Sans;
    font-size: 1.875vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h3
{
    flex: 1 0 0;
    color: #83E1FF;
    font-family: Open Sans;
    font-size: 1.25vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h4{
    color: #A0A9C8;
    font-family: Open Sans;
    font-size: 0.833333333vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
p
{
    color: #D8D9DA;
    font-family: Open Sans;
    font-size: 0.833333333vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


*{
    margin: 0;
    padding: 0;
    text-decoration: 0;
}

body{
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5vw;
    background: #272829;
}

.Screen1{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5vw;
    flex-shrink: 0;
    align-self: stretch;
}

.Holder1{
    display: flex;
    padding: 1vw 4vw;
    flex-direction: column;
    align-items: center;
    gap: .5vw;
    flex: 1 0 0;
    align-self: stretch;
}

.Holder2{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
}
.btn{
    display: flex;
    padding: 1vw;
    justify-content: center;
    align-items: center;
    gap: .5vw;
    position: absolute;
    left: -2vw;
    top: -2vw;
    border-radius: 1vw;
    background: #D8D9DA;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: all 500ms ease-in-out;
}
.btn h2{
    transition: all 500ms ease-in-out;
}

.TitleFrame{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5vw;
}

.ContentFrame{
    display: flex;
    padding: 1.875vw 2.7vw;
    flex-direction: column;
    align-items: center;
    gap: .5vw;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 1vw;
    background: #61677A;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.SearchBar{
    display: flex;
    padding: .5vw 1vw;
    justify-content: flex-end;
    align-items: center;
    gap: 1vw;
    align-self: stretch;
    border-radius: 1vw;
    background: #272829;
}
.SearchText{
    display: flex;
    height: 1.875vw;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 0;
    color: #D8D9DA;
    font-family: Open Sans;
    font-size: 1.25vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.ItemSpacer{
    width: 1px;
    align-self: stretch;
    background: #D8D9DA;
}
.Results{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 0;
}
.Item{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: .5vw;
    align-self: stretch;
}
.ItemContent{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
}
.ItemTitle{
    display: flex;
    align-items: flex-start;
    gap: .5vw;
    align-self: stretch;
}
.SpecialImage{
    width: 15.5vw;
    height: 10.5vw;
    border-radius: 1vw;
}
img{
    width:100%;
    height:100%;
    
}
.SpecialImage img{
    border-radius: 1vw;
    opacity: 50%;
    object-fit: cover;
}
.ItemImage{
    width: 1.66vw;
    height: 1.66vw;
}

.Modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ModalContent{
    position: relative;
    display: flex;
    width: 65vw;
    padding: 1vw 1.5vw;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: #A0A9C8;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    animation-name: animateright;
    animation-duration: 0.4s
}

.btn:hover{
    background: #A0A9C8;
}
.btn:hover h2{
    color: #D8D9DA;
}

/* Add Animation */
@keyframes animateright{
    from {right: -300px; opacity: 0}
    to {right: 0; opacity: 1}
}