
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root{
    --very-dark-grayish-blue: hsl(217, 19%, 35%);
    --desaturated-dark-blue:  hsl(214, 17%, 51%);
    --light-grayish-blue:  hsl(210, 46%, 95%);
}

body {
    font-size:13px;
    display: flex;
    justify-content: center; /* centers card */
    align-items: center; /* centers card */
    height: 100vh; /* centers card */
    width: 100vw;
    background-color: var(--light-grayish-blue);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope' sans-serif;
}

h1, h3 {
    font-family: 'Manrope';
    color: var(--very-dark-grayish-blue);
    font-weight: 700;
    
}

p {
    font-family: 'Manrope';
    color: var(--desaturated-dark-blue);
    font-weight: 500;
    
}

.card-master {
    /* display: flex;
    flex-direction: column; */
    position: absolute;
    /* width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center; */
}

.img-container {
    display: flex;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}
.img-container img {
    height: 100%;
    width: 100%;
    
    
}

.container {
    display: flex;
    width: 670px;
}

.topp {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    
}

.topp h1 {
    padding: 20px;
}

.topp p, h3 {
    padding-left: 20px;
}

.card-master {
    
    border-radius: 10px;
    max-width: 800px;
   
    
}

.footer-main {
    display: flex;
    align-items: center; /* aligns items vertically */
    justify-content: space-between; /* creates space between elements */
    padding: 20px;
    height: 80px;
    
}

.footer {
    padding: 0;
    margin: 0;
    width: fit-content;
}

.footer img {
border-radius: 30px;
height: 50px;

}

#java {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid var(--light-grayish-blue);
    
}

.footer-2 {
    display: flex;
    flex-direction: column;
    flex: 1;
   

}

.java-button {
    display: flex;
}

#share-button {
    border: 1px solid var(--light-grayish-blue);
    border-radius: 20px;
    width: 40px;
    height: 40px;
    
}

#share-button img {
    width: 15px;
    height: 15px;
}


/* Share Menu Styles */

.share-menu-button {
    display: none;
}

.share-menu {
    background-color: #48556a;
    height: 50px;
    width: 230px;
    color: #fff;
    position: absolute;
    bottom: 75px;
    left: 517px;
    display: none;
    grid-template-columns: 1fr;
    border-radius: 10px;
}

.share-menu.active {
    display: grid;
}

.share-menu .social-media {
    text-align: center;
    align-content: center;
}

.share-menu .social-media span {
    color: #6d7f97;
    letter-spacing: 4px;
}

.share-menu .social-media i {
    font-size: 16px;
    padding: 0 5px;
}

.share-menu::before {
    border-top: 15px solid #48556a;
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    content: '';
    position: absolute;
    width: 0;
    top: 49px;
    left: 100px;
}

.attribution {
    display: none;
}

/* Media Queries */

@media only screen and (max-width: 820px) {
.container {
    display: block;
    max-width: 320px;
}

.img-container {
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
}

.topp {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 10px;
}
.topp p{
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.topp h1 {
    padding: 20px;
    margin-top: 10px;
}

.footer-2 {
    margin-top: 20px;
}

.share-menu {
    height: 70px;
    width: 320px;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    grid-template-columns: 2fr 1fr;
}

.share-menu-button {
    background-color: #6d7f97;
    border-radius: 50%;
    color: #edf2f8;
    height: 30px;
    width: 30px;
    align-content: center;
    text-align: center;
    margin: 0 auto;
    margin-top: 19px;
    cursor: pointer;
    display: block;
}

}