/*start reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, big, cite, code,
em, img, ins, kbd, q, s, samp,
small, strike, strong, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
html {
    scroll-behavior: smooth;
    min-width: 500px;
}
/*end reset*/
:root {
    --pink: hotpink;
    --white: #ffffff;
  }
/*NAV SECTION*/
nav {
    background-color: var(--white);
    border-bottom: green 2px solid;
    padding: 10px 20px;
}

nav ul {
    list-style-type: none;
    margin: 0 5% 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-family: poppins;
}

nav ul li a:hover {
    color: var(--pink);
}

/*WELCOME SECTION*/
h1 {
    font-family: fraunces;
    font-size: 5rem;
    margin-bottom: 10px;
}

h2 {
    font-family: fraunces;
    font-size: 3rem;
}

h5 {
    font-family: poppins;
    font-size: 1.5rem;
}

#welcome-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: 100vh; /* Ensures full-screen coverage */
    height: auto; /* Allows the section to expand as needed */
    box-sizing: border-box;
    background-color: var(--white);
}
#tagline {
    flex: 1; /* Allows the div to take up available space */
    padding: 20px;
}

#portrait {
    flex: 1; /* Ensures the divs take equal space */
    text-align: center;
}

#portrait img {
    max-width: 100%;
    height: auto;
}

/*ABOUT SECTION*/

#about-me {
    position: relative; /* Ensures child elements are positioned relative to this container */
    overflow: hidden; /* Prevents content from overflowing the section */
    height: 100vh; /* Keeps it consistent with the section height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Ensures content stays vertically centered */
    padding: 20px;
    height: auto;
    box-sizing: border-box; /* Includes padding in height calculation */
    background-image: url("https://i.ibb.co/jw7hx59/Untitled-design-1.png");
}

p {
    font-family: poppins;
}

#about-me h2 {
    text-align: center;
    margin: 40px 0 40px 0;
    font-size: 3rem;
    color: black;
    padding-top: 30px;
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

#strip {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

#strip img {
    max-width: 90%;
    height: auto;
    margin:50px 50px;
}

#info {
    flex: 2;
    min-width: 300px;
    max-width: 450px;
    text-align: left;
    margin:auto;
}

#info p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: auto 7%;

}

a {
    color: var(--pink);
}

/*PROJECTS*/
#projects {
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 550px;
    margin: 0 auto;
    min-height: 100vh;
}

#projects h2 {
    text-align: center;
    font-size: 3rem;
    padding-top:20px auto 0 auto;
}

#book {
    width:100%;
    max-width: 150%;
    height: auto;
    z-index: -1;
    display: block;
    margin: 0 auto;
}

#socialmedia, #webdesign, #photography, #graphics {
    position: absolute;
    transform: translate(50%, -50%);
    font-family: poppins, sans-serif;
    font-size: 1rem;
    color: black;
    text-decoration: none;
    z-index: 1;
}

#socialmedia {
    top: 15%;
    right: 30%;
}

#webdesign {
    top: 15%;
    left: 20%;
}

#photography {
    bottom: 47%;
    left: 20%;
}

#graphics {
    bottom: 42%;
    right: 33%;
}

#projects a {
    color: white;
    text-decoration: none;
    font-family: fraunces;
    font-size: 1.2rem;
}

#hprojects a:hover {
    color: var(--pink);
}
#projects a:active {
    color: grey;
}
#projects a:visited {
    color: black;
}

/*FOOTER*/
footer {
    border-top: green 1px solid;
}

.logo {
    width: 30px;
    padding: 7px;
}

img[draggable="true"] {
    cursor: grab;
}

img[draggable="true"]:active {
    cursor: grabbing;
}


/*RESPONSIVENESS- big + small screens*/
@media (min-width: 951px) {
    html {
        font-size: 16px;
        max-width: 950px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    body {
        margin: 0;
        padding: 0;
    }

    #welcome-section, #about-me, #projects {
        max-width: 950px;
        margin: 0 auto;
    }

    #navbar ul {
        justify-content: center;
    }

    #info p, h1, h2, h5 {
        text-align: left;
    }
}

@media (max-width: 950px) {
    #welcome-section {
        flex-direction:column-reverse;
    }
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    #info {
        text-align: center;
        max-width:600px;
        margin-top:0;
        padding-top:0;
    }
    #strip img{
        max-width: 32%;
        margin-top:2px;
        margin-bottom:0;
        padding:0;
    }

    #about-me p {
        padding-bottom: 2px;
    
    
    }
}
