@import url("https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Outfit:wght@100..900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");
/*main colors
 * dark blue: #02084b
 * aqua: #46a6eb
 * coral: #ff6b6b*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

::selection {
    color: #418eea;
    background-color: rgba(85, 136, 155, 0.16);
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

body {
    font-family: "Outfit", sans-serif;
}

.hidden {
    display: none;
}
header {
    display: flex;
    background-color: #151839;
    padding: 30px;
    color: white;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    overflow: hidden;
}

header img {
    display: block;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
}
header section {
    background-color: rgba(70, 166, 235, 0.2);
    padding: 15px;
    border-radius: 5px;
    font-size: 13px;
    box-shadow: 6px 2px 6px rgba(0, 0, 0, 0.2);
    margin-left: 7px;
}

.header h2 {
    padding: 10px;
    margin-left: 10px;
}
.left-colon {
    border-left: 3px solid #46a6eb;
}

.highlight {
    color: #ff6b6b;
}

header h1 {
    padding-bottom: 10px;
    font-size: 1.2rem;
    text-align: center;
}

header .highlight {
    font-size: 40px;
    padding-bottom: 0;
}

.services {
    padding: 20px;
}

.services li {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 7px;
}

.services a {
    background-color: rgba(70, 166, 235, 0.17);
    padding: 10px;
    border-radius: 5px;
    font-size: large;
    margin-left: 7px;
    font-weight: 450;
}

.services a:hover,
.embed ul a:hover {
    background-color: rgba(70, 166, 235, 0.5);
}

.services h2,
.embed h2 {
    font-size: x-large;
}

.embed {
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-width: 680px;
    margin: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-top: 0;
    box-shadow: 6px 2px 6px rgba(53, 55, 69, 0.1);
}

.embed:hover {
    box-shadow: 0 0 20px rgba(70, 166, 235, 0.6);
}

.embed img {
    padding-top: 1.5rem;
    border-radius: 5px;
    max-width: 100%;
    margin-bottom: 5px;
}

.embed figure {
    border-bottom: 2.5px solid #46a6eb;
}

.embed h2 {
    margin: 0 -20px;
    padding-bottom: 10px;
    background-color: #151839;
    color: white;
    vertical-align: top;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 6px 2px 6px rgba(53, 55, 69, 0.1);
}

.embed p {
    margin-top: 5px;
    background-color: rgba(70, 166, 235, 0.17);
    padding: 10px;
    border-radius: 5px;
}

.embed nav {
    padding: 10px;
}

.embed ul {
    max-width: 450px;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    padding-top: 10px;
}

.embed ul a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    background-color: rgb(70, 166, 235);
    padding: 10px;
    border-radius: 5px;
    font-size: large;
    margin-right: 7px;
    font-weight: 450;
    color: white;
    column-gap: 2px;
}

.embed i {
    color: #151839;
}

.embed img:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

footer {
    background-color: #151839;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    color: white;
}

footer ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer p {
    padding-top: 15px;
}

footer a {
    color: #46a6eb;
    margin: -1px;
}

footer a:hover {
    color: white;
}

.small {
    font-size: small;
    opacity: 30%;
}

@media screen and (min-width: 580px) {
    footer a {
        margin: 0;
    }

    header section {
        max-width: 400px;
    }

    header h1 {
        font-size: 2rem;
        text-align: left;
    }

    header .highlight {
        font-size: 50px;
        padding-bottom: 0;
    }

    header {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
    }
    header img {
        max-width: 120px;
        margin-left: auto;
    }
    
.services h2,
.embed h2 {
    font-size: 1.8rem;
    text-align: center; 
    padding-bottom: 15px; 
    vertical-align: top;
}
    
    .services ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .services li {
        max-width: 300px;
        min-width: 250px; 
    }

    .ms-side-by-side {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-text {
        display: flex;
        flex-direction: column-reverse;
    }

    .ms-side-by-side img {
        width: 200px;
    }

    .embed {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .embed img {
        max-width: 400px;
        margin-left: auto;  
        margin-right: auto; 
        display: block;     
    }
    
}

@media screen and (min-width: 1000px) {
    header {
        justify-content: center;
        align-items: center;
        padding: 50px 60px;
    }

    header > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ms-side-by-side {
        justify-content: center;
    }

    .ms-side-by-side img {
        width: 150px;
    }

    .header-text {
        text-align: center;
    }

    header h1 {
        text-align: center;
    }

    header section {
        max-width: 600px;
        text-align: center;
    }

    .left-colon {
        border-left: none;
        border-top: 3px solid #46a6eb;
        padding-top: 15px;
    }

    .services {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px;
    }

    .services ul {
        flex-direction: column;
        align-items: center;
    }

    .services li {
        width: 100%;
        max-width: 400px;
    }

    .services li .left-colon {
        border-top: none;
        border-left: 3px solid #46a6eb;
        padding-top: 0;
    }

    .services a {
        display: block;
        text-align: center;
        padding: 15px 25px;
    }

    .embed {
        max-width: 900px;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        overflow: hidden;
        flex-direction: row;
    }

    .embed h2 {
        flex: 1 1 100%;
        margin: 0;
        border-radius: 10px 10px 0 0;
    }

    .embed img {
        max-width: 400px;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        padding: 20px;
    }

    .embed > p {
        flex: 0 0 50%;
        margin: 0;
        padding: 20px;
        display: flex;
        align-items: center;
        line-height: 1.6;
        background-color: rgba(70, 166, 235, 0.17);
        border-radius: 10px;;
    }

    .embed nav {
        flex: 1 1 100%;
        padding: 20px;
        margin-top: 10px;
        border-top: 3px solid rgba(70, 166, 235, 0.1);
    }

    footer {
        padding: 40px 60px;
    }

    footer ul {
        max-width: 500px;
        margin: 0 auto;
    }
    
}