/* import fonts */
@import url("https://fonts.googleapis.com/css2?family=Agbalumo&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap");

/* themes */
[data-theme="cafe"] {
    --background: #eadccc;
    --SC_Background: #f7f4ef;
    --SC_Border: #b78b5e;
    --SC_Links: #d98b99;
    --SC_Accent: #eadccc;
    --SC_Accent2: #e2bdc4;
    --SC_Accent3: #e2ced2;
}

/* main body */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: var(--SC_Accent2);
    font-family: "Winky Sans", sans-serif;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* site wide stylings */
p {
    line-height: 1rem;
    padding: 0.313rem 0rem;
}

br {
    line-height: 1em;
}

a {
    color: var(--SC_Links);
    transition: color 0.5s;
    text-decoration: none;
    line-height: 27px;
}

a:hover {
    color: var(--SC_Accent);
}

h1,
h2,
h3 {
    font-family: "Agbalumo", serif;
    width: 100%;
    padding: 0.1rem;
    text-align: center;
}

h1 {
    font-size: 2.84rem;
    line-height: 38px;
}

/*main container*/
#main_container {
    width: 700px;
    margin-top: 40px;
    margin-bottom: 40px;
    background: url(/Assets/background_2_cafe.png);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -4px 10px 7px 1px rgba(0, 0, 0, 0.18);
    border-radius: 5px;
}

#site_container {
    width: 90%;
    background-color: var(--SC_Background);
    justify-content: center;
    align-items: center;
    margin-left: 0 auto;
    margin-right: 0 auto;
    border-right: 2px solid var(--SC_Border);
    border-left: 2px solid var(--SC_Border);
}

/*header*/
#introduction {
    height: 282px;
    background: linear-gradient(17deg, rgba(247, 244, 239, 1) 55%, rgba(226, 189, 196, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--SC_Border);
}

#intro_blurb {
    width: 50%;
}

#intro_blurb p {
    margin-top: 5px;
}

#intro_image {
    width: 250px;
    height: 240px;
}

/* links */
#links_container {
    display: grid;
    grid-template: 1fr 1fr 1fr / 1fr 1fr;
    grid-template-rows: 1fr;
}

#links_container a {
    color: black;
    transition: color 0.5s;
    text-decoration: none;
    line-height: 27px;
}

#links_container a:hover {
    color: var(--SC_Accent);
}

/* grid areas */
#programs {
    grid-area: 1 / 1 / 1 / 1;
}

#coding {
    grid-area: 1 / 2 / 1 / 2;
}

#graphics {
    grid-area: 2 / 2 / 2 / 2;
}

#tools {
    grid-area: 2 / 1 / 2 / 1;
}

.padding {
    padding: 10px;
}

.style {
    border-bottom: 2px solid var(--SC_Border);
}

#programs, #tools, #games{
    border-right: 2px solid var(--SC_Border);
}

.links {
    height: 300px;
    overflow-y: scroll;
    display: block;
    margin-top: 10px;
}

.links p {
    margin-left: 10px;
    margin-bottom: 10px;
}

.white a,
.white h2 {
    background-color: var(--SC_Accent3);
    padding: 3px;
}

.pink {
    background-color: var(--SC_Accent3);
}

.pink a,
.pink h2 {
    background-color: var(--SC_Background);
    padding: 3px;
}

/*scrollbar*/
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    display: none;
}

::-webkit-scrollbar-thumb {
    background: var(--SC_Border);
}

/*Footer*/
#footer {
    padding: 10px;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    grid-area: 3 / 1 / span 1 / 1;
}

.disclaimer p {
    font-size: 0.625rem;
}

/*media screen*/
@media only screen and (max-width: 700px) {
    #main_container {
        width: 95%;
    }

    #site_container {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    #introduction {
        display: flex;
        flex-direction: column;
    }
    #intro_image {
        visibility: collapse;
    }
    
    #links_container {
        display: flex;
        flex-direction: column;
    }

    .links {
        height: min-content;
    }
    
    #programs, #tools, #games{
    border-right: none;
}
}
