@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Display:wght@900&family=Lexend&display=swap');
* {
    box-sizing: border-box;
    font-family: Lexend;
}
:root {
    --not-black: #121212;
    --card-radius: calc(20px + 1vw);
    --slide: 100%;
    --open-height: 1150px;
}
html {
    font-size: 10px;
    scroll-behavior: smooth;
}
body {
    background: linear-gradient(45deg, rgb(70,0,70), rgb(180, 0, 0) 30% , rgb(110, 110, 0) 75%, rgb(0,160,160)) no-repeat fixed top left;
    padding-top: calc(40px + 1.5vw);
    margin: 0;
}
::-webkit-scrollbar {width: 15px;}
::-webkit-scrollbar-track {background-color: var(--not-black);}
::-webkit-scrollbar-thumb {background: #777;}
::-webkit-scrollbar-thumb:hover {background: #999;}
#navbar { 
    color: white;
    height: calc(45px + 1vw);
    width: 100%;
    background-color: rgba(0, 0, 0, 40%);
    border-bottom: white solid 2px;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}
#nav-title {
    font-size: calc(20px + 1.5vw);
    text-decoration: none;
    color: white;
    margin: 0 20px;
}
#first-character-nav-title {font-family: Big Shoulders Inline Display;}
#nav-sections {
    margin-right: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.nav-shortcut {
    font-size: calc(20px + 0.25vw);
    text-decoration: none;
    color: white;
}
#screen {
    height: calc(100vh - 75px - 1vw);
    margin: 15px;
    background: radial-gradient(rgba(255, 255, 255, 25%), rgba(0, 0, 0, 45%));
    border: 2px rgba(0, 30, 30, 20%) solid;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#title {
    font-family: Big Shoulders Inline Display;
    font-size: 12vw;
    margin: 0;
}
#subtitle {
    color: rgb(230, 230, 230);
    margin: 0;
    font-size: 3.5vw;
}
#websites {
    background-color: rgba(255, 255, 255, 80%);
    padding: 20px 15px;
}
#websites-title {
    margin: 0;
    font-size: 3.5vw;
    text-align: center;
    padding-bottom: 10px;
}
#web-container {
    display: flex;
    flex-wrap: wrap;
}
.web-card {
    background-color: rgba(255, 255, 255, 70%);
    border-radius: var(--card-radius);
    box-shadow: 2px 2px 5px;
    height: calc(80vw / 3 - 20px);
    width: calc(100% / 3 - 20px);
    margin: 10px;
    display: flex;
    flex-direction: column;
    color: black;
    text-decoration: none;
}
.web-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 8px;
    cursor: pointer;
}
.web-card:active {
    transform: none;
    box-shadow: 2px 2px 5px;
}
.card-img {
    flex-grow: 1;
    background-color: rgba(185, 185, 185, 70%);
    margin: 1vw;
    border-top-left-radius: var(--card-radius);
    border-top-right-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}
.card-img img {
    font-size: 2vw;
    height: 0;
    flex-grow: 1;
    text-align: center;
}
.card-info {
    background-color: rgba(185, 185, 185, 70%);
    height: 30%;
    border-bottom-left-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
    padding: 1vw 10px;
}
.card-title {font-size: 2vw;}
.card-description {
    font-size: 1vw;
    padding: 0 5px;
}
#last-web-card {
    border-radius: var(--card-radius);
    height: calc(80vw / 3 - 20px);
    width: calc(100% / 3 - 20px);
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    border: #424242 3px solid;
    background: linear-gradient(45deg, rgba(70,0,70, 80%), rgba(180, 0, 0, 80%) 30% , rgba(110, 110, 0, 80%) 75%, rgba(0,160,160, 80%));
    padding: 5%;
}
#last-web-card-info {
    text-align: center;
    color: white;
    font-size: 2.5vw;
}
#last-web-card-hook {
    font-size: 3.5vw;
    color: black;
}
#about-me {
    background-color: rgba(0, 0, 0, 45%);
    padding-top: 20px;
}
#about-me-title {
    color: white;
    font-size: 3.5vw;
    width: 100%;
    padding: 0 21.25px;
}
#about-me-description {
    font-size: 1.6vw;
    color: rgb(180, 180, 180);
    padding: 0 30px;
    width: 100%;
    margin-bottom: 50px;
}
#more-details {
    background: linear-gradient(45deg, rgba(255, 255, 255, 30%), rgba(255, 255, 255, 10%));
    outline: none;
}
#btn-slide {margin: 0;}
#open-close {
    display: block;
    margin-top: 30px;
    margin-bottom: 25px;
    transform-origin: center top 0;
}
@keyframes opens {
    0% {
        height: 0;
        margin: 0;
        transform: scaleY(0);
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
    100% {
        height: var(--slide);
        margin-top: 30px;
        margin-bottom: 25px;
        transform: scaleY(100%);
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }
}
@keyframes close {
    0% {
        height: var(--slide);
        margin-top: 30px;
        margin-bottom: 25px;
        transform: scaleY(100%);
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }
    100% {
        height: 0;
        margin: 0;
        transform: scaleY(0);
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
}
#more-title {
    color: rgb(230, 230, 230);
    margin: 0 20px;
    font-size: 2vw;
    padding: 0 10px;
}
#more-info {
    padding: 0 10px;
    margin-top: 10px;
    font-size: 1.4vw;
    list-style: none;
}
.info-para {
    color: var(--not-black);
    padding: 5px 10px;
}
#more-btn {
    padding: 10px;
    color: white;
    font-size: 2.5vw;
    background: linear-gradient(45deg, rgba(0, 0, 0, 60%), rgba(0, 0, 0, 20%));
    list-style: none;
    width: 100%;
    border: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
#more-btn:hover {
    cursor: pointer;
    background: linear-gradient(45deg, rgba(0, 0, 0, 75%), rgba(0, 0, 0, 25%));
}
#footer {
    padding: calc(5px + 0.5vw);
    background-color: var(--not-black);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#stamp {
    font-size: 2.5vw;
    color: #bdbdbd;
}
@media screen and (max-width: 675px) {
    :root {--card-radius: calc(30px + 1vw);}
    ::-webkit-scrollbar {width: 12px;}
    #nav-title {font-size: 4.5vw;}
    #nav-sections {
        padding: 0 2px;
        justify-content: space-between;
    }
    .nav-shortcut {font-size: 3.2vw;}
    #screen {
        height: calc(100vh - 65px - 1vw);
        margin: 10px;
    }
    #title {font-size: 18vw;}
    #subtitle {font-size: 6vw;}
    #websites {
        padding: 0;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    #websites-title {
        font-size: 10vw;
        padding-bottom: 15px;
    }
    #web-container {padding: 0 10px;}
    .web-card {
        height: calc(80vw / 2 - 20px);
        width: calc(100% / 2 - 20px);
    }
    .card-img {margin: calc(2.5px + 0.75vw);}
    .card-info {padding: 5px 10px;}
    .card-title {font-size: 2.6vw;}
    .card-description {
        font-size: 1.8vw;
        padding: 0.5vw 10px;
        padding-top: 0;
    }
    #last-web-card {
        border-radius: calc(10px + 2vw);
        height: calc(80vw / 2 - 20px);
        width: calc(100% / 2 - 20px);
    }
    #last-web-card-info {font-size: 2.5vw;}
    #last-web-card-hook {font-size: 4.5vw;}
    #about-me {
        padding-top: 10px;
    }
    #about-me-title {
        font-size: 6vw;
        padding: 0 21.25px;
        margin: 10px 0 ;
    }
    #about-me-description {
        font-size: 3.2vw;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    #open-close {
        padding: 0 6.25px;
    }
    #more-title {
        margin: 0;
        font-size: 5.5vw;
    }
    #more-info {
        margin-top: 5px;
        /* padding: 0 5px; */
        
        font-size: 3vw;
    }
    #more-btn {
        font-size: 4vw;
    }
    #open-close {
        padding: 0;
    }
    @keyframes opens {
        0% {
            height: 0;
            margin: 0;
            transform: scaleY(0);
            border-top-right-radius: 0;
            border-top-left-radius: 0;
        }
        100% {
            height: var(--slide);
            margin-top: 25px;
            margin-bottom: 15px;
            transform: scaleY(100%);
            border-top-right-radius: 5px;
            border-top-left-radius: 5px;
        }
    }
    @keyframes close {
        0% {
            height: var(--slide);
            margin-top: 25px;
            margin-bottom: 15px;
            transform: scaleY(100%);
            border-top-right-radius: 5px;
            border-top-left-radius: 5px;
        }
        100% {
            height: 0;
            margin: 0;
            transform: scaleY(0);
            border-top-right-radius: 0;
            border-top-left-radius: 0;
        }
    }
    #stamp {font-size: 6vw;}
}
@media screen and (max-width: 475px) {
    ::-webkit-scrollbar {width: 17px;}
    .web-card {
        height: calc(80vw - 20px);
        width: calc(100% - 20px);
    }
    .card-title {font-size: 5vw;}
    .card-img {margin: calc(5px + 1.5vw);}
    .card-description {
        font-size: 3vw;
        padding: 1vw 5px;
    }
    #last-web-card {
        width: calc(100% - 20px);
    }
}