/* Colours: Text: White, 
 *          Background: #1A1A1E, 
 *          Primary: #C98ED2, 
 *          Secondary #CAD6E9,
 *          Accent: #9ECCE6
 *          */

:root {
    --clr-light: White;
    --clr-dark: #1A1A1E;
    --clr-primary: #C98ED2;
    --clr-secondary: #CAD6E9;
    --clr-accent: #9ECCE6;
    --clr-button: #FFED88;
    
    --background: var(--clr-dark);
    --foreground: var(--clr-light);
}

.dark-mode {
    --clr-light: White;
    --clr-dark: #1A1A1E;
    --clr-primary: #C98ED2;
    --clr-secondary: #CAD6E9;
    --clr-accent: #9ECCE6;
    --clr-button: #FFED88;
    
    --background: var(--clr-light);
    --foreground: var(--clr-dark);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins, sans-serif;
    font-weight: 300;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* navbar */

.header {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    backdrop-filter: blur(10px);
}

.header::before {
    position: absolute;
    left: 100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, .0.1), rgba(255, 255, 255, 0));
    transition: .5s;
}

.header:hover::before {
    left: 100%;
}

.logo {
    color: var(--foreground);
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.navbar a {
    color: var(--foreground);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 35px;
    transition: .3s;
}

.logo:hover, .navbar a:hover {
    color: var(--clr-primary);
}

.darkmode-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--clr-button);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
}

.darkmode-button img {
    width: 60%;
    height: 60%;
}

p {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

.title {
    margin-top: 100px;
    font-size: 24px;
}

.content {
    width: 80%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.main-title-container {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}

.pfp {
    width: 130px;
    display: flex;
    user-select: none;
}

/* about me */

.quote-heading {
    display: flex;
    font-weight: 700;
}

.box {
    box-shadow: 0px 12px 16px 0 rgba(0, 0, 0, 0.2),
                -4px -4px 8px 0 rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

.inside-box {
    padding-left: 45px;
    padding-bottom: 15px;
    padding-top: 10px;
    padding-right: 35px;
}

.quote-bar {
    font-size: 35px;
    margin-top: 11px;
    margin-bottom: 10px;
    padding-right: 10px;
    font-weight: 300;
}

.bold-text {
    font-weight: 600;
}

/* expanding box */

.expand {
    padding-top: 10px;
    height: 60px;
    transition: height 0.5s;
    -webkit-transition: height 0.5s;
    overflow: hidden;
    transition: 1.5s;
}

@media screen and (max-width: 1000px) {
    .expand:hover {
        height: 58em;
    }
}

@media screen and (min-width: 1000px) {
    .expand:hover {
        height: 70em;
    }
}


.expand:hover .arrow {
    transform: rotate(0deg);

}

.container {
    display: flex;
    justify-content: space-between;
}

.arrow {
    transform: rotate(90deg);
    transition: transform 0.5s;
    width: 27px;
    height: 27px;
    filter: invert(100%);
}

.setup {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.setup img {
    border-radius: 10px;
}

.contacts {
    display: flex;
    justify-content: center;
}

.wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}

.wrapper .button{
    display: inline-block;
    height: 60px;
    width: 60px;
    margin: 0px 10px;
    overflow: hidden;
    background: var(--background);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 12px 16px 0 rgba(0, 0, 0, 0.08),
                -4px -4px 8px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1):hover{
    width: 233px;
}

.wrapper .button:nth-child(2):hover{
    width: 167px;
}

.wrapper .button:nth-child(3):hover{
    width: 205px;
}

.wrapper .button:nth-child(4):hover{
    width: 170px;
}

.wrapper .button:nth-child(5):hover{
    width: 177px;
}

.wrapper .button .icon{
    display: inline-block;
    height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 50px;
    box-sizing: border-box;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper .button .icon i{
    font-size: 25px;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1):hover .icon{
    margin-left: 5px;
    color: #7289DA;
}

.wrapper .button:nth-child(2):hover .icon{
    margin-left: 5px;
    color: grey;
}

.wrapper .button:nth-child(3):hover .icon{
    margin-left: 5px;
    color: #E1306C;
}

.wrapper .button:nth-child(4):hover .icon{
    margin-left: 5px;
    color: #1DB954;
}

.wrapper .button:nth-child(5):hover .icon{
    margin-left: 5px;
    color: #0077B5;
}

.wrapper .button span{
    line-height: 0;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1) span{
    margin-left: -7px;
    color: #7289da;
}

.wrapper .button:nth-child(2) span{
    margin-left: -8px;
    color: grey;
}

.wrapper .button:nth-child(3) span{
    margin-left: -10px;
    color: #E1306C;
}

.wrapper .button:nth-child(4) span{
    margin-left: -8px;
    color: #1DB954;
}

.wrapper .button:nth-child(5) span{
    margin-left: -10px;
    color: #0077B5;
}

.link {
    width: fit-content;
    color: var(--foreground);
    text-decoration: none;
}

/* accordion */
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
}

.tab input:checked ~ .tab-content {
    max-height: 2000px;
}

.accordion {
    border: 2px solid;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tab-label, .tab-close {
    display: flex;
    color: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

.tab-label {
    justify-content: space-between;
    padding: 1rem;
}

.tab-label::after {
    content: url( "images/arrow.svg" );
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
    filter: invert(100%);
}

.tab input:checked + .tab-label::after {
    transform: rotate(0deg);
}

.tab-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.image-display {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.image-display p {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 22px;
    max-width: 40%;
}

.date {
    font-size: 20px;
}

.image-display img {
    border-radius: 10px;
}

.tab-close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* custom scrollbar */
body::-webkit-scrollbar {
    width: 0.4rem;
}

body::-webkit-scrollbar-track {
    background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
    background: #CAD6E9;
}

