@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --red: rgb(255, 0, 0);
}

/*----------------------- General stuff -----------------------*/
html, body {
    height: 100vh;
    margin: 0px;
}

body, pre {
    font-family: "Roboto", sans-serif;
    display: grid;
    font-weight: bolder;
    grid-template-rows: auto 1fr auto;
    background-color: #D5EEF8;
}

h3 {
    margin: 0;
}

p, li, pre {
    font-weight: normal;
}

p, pre {
    font-size: large;
}

/*----------------------- Header -----------------------*/

header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 15px;
    background: linear-gradient(to bottom right,#df8c66,#f8a50c);
}

.header h1 {
    color: whitesmoke
    
}

.drop_down {

}

.active_info {

}

.header_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header_btn button {
    font-size: x-large;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 3px rgba(255, 216, 90, 0.315) dotted;
    color: #a9cefc;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    font-weight: bolder;
    text-shadow: 2px 2px 16px #548DD4;
}
.header_btn button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.header_btn a {
    width: 80%;
    height: 80%;
}

/*----------------------- Stuff within main -----------------------*/
main {
    display: grid;
    grid-template-columns: 1.5fr 3fr 1fr;    
    overflow-y: scroll;
}

main section {
    border: 5px solid black;
    padding: 5px;
    margin: 20px;
    border-radius: 30px;
}

img {
    width: available;
    border-radius: 50px;
}

main section.image, .side {
    height: fit-content;
    display: grid;
    position: relative;
}

.image img {
    padding: 1em;
}

ul {
    /* list-style-type: circle; */
    margin-top: 0;
    margin-bottom: 1em;
}

.indented {
    padding-left: 0.5em;
}

li {
    font-size: large;
}

li::marker {
    font-size: 1.5em;
    color: rgb(3, 3, 27);
}

a {
    color: black;
    text-decoration: none;
    font-size: large;
}

a:link {
    color: none;
}

a:visited {
    color: rgb(9, 66, 57);
}

a:hover {
    color: darkgreen;
}

a:active {
    color: darkolivegreen;
}

.highschool {
    display: inline-flex;
    column-gap: 5em;
}

.skills {
    display: grid;
    grid-template-columns: auto auto;
}

.skills h4 {
    margin-bottom: 0.2px;
    margin-top: 0.5em;
}
.skills ul {
    margin-top: 0.2px;
}

/*----------------------- Dock for links -----------------------*/

.dock-toggle {
    position: fixed;
    right: 0;
    z-index: 110;
    cursor: pointer;
    background-color: rgba(2, 66, 13, 0.5);
    color: rgba(0, 0, 0, 0.685);
    border: none;
    border-radius: 10px 0 0 10px;
    height: 10%;
    padding: 8px;
    font-size: 24px;
    transition: opacity 0.3s ease;
}

.dock {
    position: fixed;
    display: inline-flex;
    top: 15%;
    right: -100px;
    flex-direction: column;
    gap: 8px;
    transition: right 0.3s ease;
    z-index: 100;
}
.dock.active {
    right: 0;
}
.dock.active + .dock-toggle {
    opacity: 0;
    pointer-events: none;
}
.dock-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.dock-row {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 8px;
    align-items: flex-end;
    flex-direction: column;
}
.dock-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dock-icon:hover {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.6);
}
.github { background: linear-gradient(to bottom right,#374151,#111827); }
.linkedin { background: linear-gradient(to bottom right,#2563eb,#1e3a8a); }
.youtube { background: linear-gradient(to bottom right,#dc2626,#b91c1c); }
.discord { background: linear-gradient(to bottom right,#4f46e5,#3730a3); }
.dock-icon svg { width: 32px; height: 32px; color: white; }

/*----------------------- Footer -----------------------*/

footer {
    display: grid;
    background: linear-gradient(to bottom right,#ffb834,#23DBDE);
    grid-template-columns: 2fr 1fr;
    padding: 1em;
}