* {
    font-family: 'Figtree', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    scroll-behavior: smooth;
}

body {
    background-color: #15181C;
    overflow-x: hidden;
}

nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: top;
    padding: 30px;
    height: 80px;
    background-color: #15181c;
    mask-image: linear-gradient(to bottom, black 75%, transparent);
}

img {
    border-radius: 5px;
}

.pop-up {
    font-family: "Roboto Mono", monospace;
    opacity: 0;
    position: absolute;
    top: 0; 
    text-align: right;
    font-size: 14px;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.left .pop-up {
    right: 50px; 
}

.middle .pop-up {
    right: 76px; 
}

.right .pop-up {
    right: 102px;
    top: 5px;
}

a.left:hover span.pop-up,
a.middle:hover span.pop-up,
a.right:hover span.pop-up {
    opacity: 1;
}

.logo-menu-container {
    display: flex;
    position: relative;
}

.logo-menu-container .left:hover {
    box-shadow: 0 0 20px #FF8000;
    transition: box-shadow 0.2s ease;
}

.logo-menu-container .middle:hover {
    box-shadow: 0 0 20px #00E054;
    transition: box-shadow 0.2s ease;
}

.logo-menu-container .right:hover {
    box-shadow: 0 0 20px #41BBF4;
    transition: box-shadow 0.2s ease;
}

.logo-menu-container .left {
    position: absolute;
    top: 12px;
    left: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.logo-menu-container .middle {
    position: absolute;
    top: 12px;
    left: 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.logo-menu-container .right {
    position: absolute;
    top: 12px;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

a {
    
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
}

.logo-text {
    width: 180px;
    border-radius: 0;
}

.logo-menu {
    width: 80px;
    height: 50px;
}

section {
    margin: 0 auto;
}

h2 {
    font-family: "Roboto Mono", monospace;
    font-size: 21px;
    font-weight: 800;
    text-align: center;
    text-decoration: underline wavy white;
    text-underline-offset: 4px;
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.buttons a {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.buttons a:hover {
    transform: scale(1.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}

a.orange {
    background-color: #FF8000;
}

a.green {
    background-color: #00E054;
}

a.blue {
    background-color: #41BBF4;
}

a.orange:hover {
    box-shadow: 0 0 15px #FF8000;
}

a.green:hover {
    box-shadow: 0 0 15px #00E054;
}

a.blue:hover {
    box-shadow: 0 0 15px #41BBF4;
}

.buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: right;
}

.app-img {
    border-radius: 15px;
    width: 170px;
    height: 170px;
}

.app-n-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

em {
    font-weight: 600;
}

#intro {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
    scroll-margin-top: 140px;
}

#intro p {
    text-align: left;
}

p#separate-text {
    font-family: "Roboto Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    text-align: center;
    max-width: 480px;
    text-align: center;
}

/* circle containers */

#features {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 128, 0, 0.7);
    margin: 0 auto;
    padding: 150px 150px;
    border-radius: 50%;
    width: 1300px;
    height: 1300px;
    scroll-margin-top: 40px;
}

#experience {
    position: relative;
    left: 50%;
    transform: translate(-50%, -100px);
    background-color: rgba(0, 224, 84, 0.7);
    margin: 0 auto;
    padding: 150px 150px;
    border-radius: 50%;
    width: 1300px;
    height: 1300px;
    scroll-margin-top: 40px;
}

#importance {
    position: relative;
    left: 50%;
    transform: translate(-50%, -200px);
    background-color: rgba(65, 187, 244, 0.7);
    margin: 0 auto;
    padding: 150px 150px;
    border-radius: 50%;
    width: 1300px;
    height: 1300px;
    scroll-margin-top: 40px;
}

/* end */

.inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 700px;
    gap: 50px;
}

ul {
    display: grid;
    list-style: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

li {
    border: white solid 1.5px;
    border-radius: 10px;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
}

h3 {
    font-size: 18px;
    font-weight: 700;
}

h4 {
    font-family: "Roboto Mono", monospace;
    letter-spacing: -0.4px;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
}

.photo-grid {
    display: grid;
    width: 700px;
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: 1fr auto;
    gap: 20px;
}

.photo-grid img {
    width: 100%;
}

p.sidenote {
    font-size: 12px;
    font-style: italic;
}

.one {
    grid-column: 1/2;
    grid-row: 1/2
}

.two {
    grid-column: 2/4;
    grid-row: 1/3
}

.three {
    grid-column: 1/2;
    grid-row: 2/3
}

p.first-description {
    max-width: 450px;
}

p.quote {
    font-family: "Roboto Mono", monospace;
    font-weight: 500;
    font-style: italic;
    text-align: left;
}

p.source {
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    font-style: italic;
    text-align: right;
}

.quote-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px solid white;
    padding-left: 25px;
}

.praises {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: -25px;
}

.praises li {
    width: 110px;
    height: 110px;
    font-size: 14px;
}

footer {
    position: relative;
    bottom: 100px;
    height: 0px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer span a {
    margin-bottom: 14px;
    font-size: 15px;
}

p.credits, p.sources {
    font-size: 12px;
}

footer a {
    display: inline-block;
    font-size: 12px;
}

.footer.logo-text {
    width: 130px;
    margin-left: 5px;
}


#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(21, 24, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background-color: rgba(21, 24, 28, 0.9);
    transform: translateY(-2px);
}

#back-to-top svg {
    transition: transform 0.3s ease;
}

#back-to-top:hover svg {
    transform: translateY(-2px);
}

.inline-link {
    font-size: 14px;
    display: inline;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inline-link:hover {
    color: #135777;
    transition: color 0.2s ease;
}

@media (max-width: 1000px) {
    section {
        width: 80vw;
    }
}

@media (max-width: 800px) { 

    section, .quote-group, img, footer {
        width: 80vw;
    }

    .flex-row {
        flex-direction: column-reverse;
        width: 80vw;
    }

    .app-img {
        width: 100px;
        height: 100px;
    }

    .app-n-buttons {
        flex-direction: row;
    }

    .buttons {
        flex-direction: column;
    }
    
    #features, #experience, #importance {
        width: 800px;
        height: auto;
        border-radius: 9999px;
    }

    #features img, .photo-grid {
        width: 80vw;
    }

    .inner-container {
        width: 80vw;
    }

    ul {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    li {
        width: 115px;
        height: 115px;
        gap: 8px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 10px;
    }

    .icons {
        transform: scale(0.7);
    }

    .praises {
        grid-template-columns: 1fr 1fr;
    }
}