:root {
    --black: rgb(0, 0, 0);
  }

body{
    background-color: rgb(0, 0, 0);
}

#nav-large {
    height: 60px;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: larger;
}

#nav-small{
    height: 70px;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: space-around;
    align-items: center;
    font-size: larger;
}

.slogan {
    background-color: black;
    color: white;
    font-size: 100%;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.slogan img {
    width: 33.33%;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
}

.slogan-img {
    width: 100%;
    display: flex;
}

#slogan {
    width: 75%;
    padding-top: 10px;
    border-top: 0.5px solid white;
}

#cards {
    background-color: black;
    display: flex;
    flex-wrap: wrap;
}

.card-text {
    color: white ;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-text {
    display: flex;
    
    flex-direction: column;
}

.card-text h3, p {
    font-size: 150%;
}

.card-text:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.6);
}

#cards p{
    color: white !important;
}

.card-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 33.33%;
    position: relative;
    text-align: center;
}

.card-info img {
    width: 100%;
    opacity: 0.8;
}

#dark-pic {
    opacity: 0.9;
}

.footer {
    margin-top: 30px;
    border-top: 0.5px solid rgba(122, 122, 122, 0.75);
    padding-top: 30px;
    padding-bottom: 40px;
    background-color: black;
    color: white;
    display: flex;
    flex-wrap: wrap;
}

#lets-talk {
    font-size:small;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-right: 0.5px solid white;
}

.footer-card {
    width: 50%;
    padding-left: 10%;
    padding-right: 10%;
}

.footer-card div {
    margin-bottom: 3%;
}

.legal {
    background-color: black;
    color: gray;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 40%;
    padding-left: 10%;
    padding-right: 10%;
}

/* Link styling*/

a:link {
    text-decoration: none;
}
  
a:visited {
    text-decoration: none;
}
  
a:hover {
    text-decoration: underline;
}
  
a:active {
    text-decoration: underline;
}


/* Media Queries*/

@media only screen and (max-width: 1500px) {
    .bubble-text{
        font-size:90%;
    }
}

@media only screen and (max-width: 1100px) {
    .bubble-text{
        font-size:80%;
    }
    .bubble-text p{
        display: none;
    }
    .slogan img {
        width: 50%;
    }
}

@media only screen and (max-width: 900px) {
    .card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        position: relative;
        text-align: center;
    }
    #nav-large {
        display: none;
    }
    #nav-small{
        height: 70px;
        display: flex;
        flex-direction: column;
    }
    .link-light {
        display: none !important;
    }
    .footer-card {
        width: 100%;
        padding-left: 10%;
        padding-right: 10%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #contact div {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #contact div h4 {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .slogan {
        font-size: 80%;
    }
    .bubble-text{
        font-size:180%;
    }
    .bubble-text p{
        display: none;
    }
    .slogan img {
        width: 66.66%;
    }
    #lets-talk {
        border-right: 0px solid white;
    }
    #lets-talk p {
        padding-bottom: 3%;
        border-bottom: 0.5px solid white;
        padding-top: 3%;
        border-top: 0.5px solid white;
    }
}

@media only screen and (max-width: 600px) {
    .slogan img {
        width: 100%;
    }
    .bubble-text{
        font-size:125%;
    }
}