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

/* Reset *********************************** */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {display: block;} /* Images are inline elments (which have space at the bottom).To fix that, reset it to display block */

img.responsive {width: 100%; margin: 0 auto; } /* Centre img, make it responsive */
.video {aspect-ratio: 16 / 9; width: 100%; } /* YOUTUVE VIDEO -- RESPONSIVE horizontal*/

/* End Reset ******************************** */


/* Utility Classes ************************** */
.nowrap {
    white-space: nowrap;
}

/* Hide content, but not from screen readers */
.offscreen {
    position: absolute;
    left: -100000px;
}


/* End Utility Classes ********************** */

body {
    font-family: "Reddit Sans", sans-serif;
    color: rgb(42, 42, 42);
    min-height: 100vh;
    /*  background-color: rgb(252,244,242); */  /* eggshell */ 
    background-color: rgb(253, 252, 250); 
    display: flex;
    flex-direction: column;
}



header.container {
    width: 100%;
    min-height: 2.5rem;
    margin-inline: auto; /* center container */
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-bottom: 1px solid #d2d2d2;
    display: flex;
    gap: 1rem;
  
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap; 
    padding-left: 2rem;
    padding-right: 2rem;
    /*Short hand for the two above: flex-flow: row wrap'*/

}
header {
    top: 0;
}


a, a:visited {
    text-decoration: none;
    color: rgb(30, 100, 230);
}

a:hover {
    text-decoration: underline;
}
    
.logo{
    max-width:50px;
}

.logo-txt {
    font-size: 1.2rem;
    font-weight: bold;
}

.logo-txt a, .logo-txt a:visited {
    color: rgb(42,42,42);
}

.logo-txt a:hover {
    text-decoration: none;
}

.itme-1, .item-2, .itme-2 {
    flex: 1;
}

.item-2 {
    display: grid;
    text-align: start;
}

nav {
    display: flex;
    gap: 1rem;
}
    

nav li{
    list-style-type: none;
    padding-bottom: 0;
    font-size: 1rem;
    gap: 3;
}


main {
    flex-grow: 1;
}


/* FOOTER  ********************** */

footer {
    bottom: 0;
    border-top: 1px solid  #d2d2d2;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #eeeeee;
}

footer.footer-container{
    
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 1rem; 

    padding-left: 2rem;
}

footer nav li {
   font-size: 1rem;

}
/* End FOOTER  ********************** */


h1 {
    font-size: 2.0rem;
    padding-bottom: 1.25rem;
    line-height: 2.75rem;
}

h2 {
    padding-bottom: 1.25rem;
    line-height: 2.25rem;
}

h3 {
    font-weight: normal;
    font-size: 1.0rem;
}

p, li{
    font-size: 1.25rem;
    padding-bottom: 1rem;
    line-height: 2.0rem;
}

p.small { font-family:  Arial, Helvetica, sans-serif; font-size: 1rem;}

ol, ul {
    padding-left: 1.1rem;
}

figure {
    padding-bottom: 2rem;
}

.img_responsive {
    width: 100%;
    height: auto;
  }


.avatar {
    width: 20%;
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    border-radius: 6%;

}

.page {
    max-width: 40rem;
    margin: 0 auto;
    /* border: 1px solid #000; */
    display: flex;
    gap: 1rem;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    flex-wrap: nowrap; 
    align-content: space-evenly;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.copy {
    max-width: 46rem;
}

.copy h2 {
    padding-top: 1.5rem;
}



/* ARTICLE LINK ************************** */

.article-link {
    display: flex;
    max-width: 36rem;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 1rem 2.05rem 1rem 2.05rem;
}

.date {
   /*  font-family: Arial, Helvetica, sans-serif; */
    color: rgb(157, 157, 157);
    font-size: smaller;
}

.article-link h2 {
    font-size: 1.15rem;
}


.article-link p {
    font-size: 1rem;
}

.article-link a {
    display: block; /* Make the anchor tag a block element */
    height: 100%; /* Ensure the anchor tag takes up the full height of the card */
    width: 100%; /* Ensure the anchor tag takes up the full width of the card */
    color: inherit; /* Inherit the color from the parent element */
    text-decoration: none; /* Remove the default underline */
  }

  .article-link a:hover {
    text-decoration: none; /* Optional: Add underline on hover */
  }


/* Red border */
hr.linebreak {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ececec;
  }



/* PORTFOLI LINK WITH THUMBNAIL ************************** */

.portfolio-link {
    display: flex;
    max-width: 40rem;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

.column {
    padding: 1rem;
}

.thumb-column img {
    width: 100%;
    height: auto;
    max-width: 460px;
    max-height: 215px;
}

.thumb-column {
    flex: 1;
}

.text-column {
    padding-left: 1rem;
    padding-top: 0;
    flex: 1;
}

.text-column h2 {
    padding: 0.5rem 0 0 0;
    font-size: 1.25rem;
}

.text-column ul {
    list-style-type: none;
    margin-left: 0;
    padding: 0;
  
}

.text-column li {
    font-size: 90%;
    padding: 0;
    margin: 0;
}


/* Markting Tips Thumb and Headline ************************** */

.article-link-container {
    display: flex;
            align-items: flex-start;
            max-width: 800px;
            margin: 0 auto;
            padding: 15px;
            border-radius: 10px;
            transition: all 0.3s ease-in-out;
            border-bottom: 1px solid  #d2d2d2;;
}

.article-link-img {
    flex: 0 0 150px; /* Fixed width for the image */
    margin-right: 15px;
}
.article-link-img img {
    width: 100%;
    border-radius: 5px;
}
.article-link-text {
    flex: 1; /* Takes remaining space */
    
}


.article-link-headline {
    margin-top: 0;
    margin-bottom: 10px;
}

.article-link-headline a {
    font-size: 1.25rem;
    font-weight: bold;
}

.article-link-details {
    font-size: 14px;
    color: #ccc;
}


 /* RESPONSIVE DESIGN for Marketing Tips links...*/
 @media (max-width: 600px) {
    .article-link-container  {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .article-link-img {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .article-link-img img {
        width: 100%;
    }
    .article-link-text {
        text-align: left;
        width: 100%;
    }
}

/* MEDIA QUERIES *****************************  */

/* SMALL */
@media screen and (max-width: 576px) {
    .logo-txt {
        font-size: 1.0rem;
    }
    .title-txt {
        display: none;
    }

    nav a {
        font-size: 0.85rem;
    }


    .portfolio-link {
        display: grid;
    }
}
    
/* MEDIUM */
@media screen and (max-width: 768px) {
    main {
        padding-left: 30px;
        padding-right: 30px;
    }
}


/* LARGE */
@media screen and (max-width: 992px) {

    header.container {
        width: 100%;
        min-height: 2.5rem;
        margin-inline: auto;
        padding-bottom: 1rem;
        padding-top: 1rem;
        border-bottom: 1px solid #d2d2d2;
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
        padding-left: 2rem;
        padding-right: 2rem;

    }

}

/* XL 
@media screen and (min-width: 1200px) {

}*/

/* MOBILE DEVICE LANDSCAPE 
@media screen and (max-height: 425px) and (min-aspect-ratio: 7/4) {

}*/

/* HEADLINE  *****************************  */

.flex-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem;
    
}

.left-column {
    flex: 1;
    align-self: flex-start;
}

.left-column img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.right-column {
    flex: 1;
    padding: 1rem;
    align-self: flex-start;
}

.right-column h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    line-height: 2.5rem;
}



/* Responsive Design */
@media screen and (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }

    .right-column {
        text-align: left;
    }

    .right-column h1 {
        font-size: 2.0rem;
        margin-bottom: 0.5rem;
        line-height: 3.0rem;
    }
}

.header-line {
    border: none;
    border-top: 1px solid #d2d2d2; /* Light grey color */
    margin: 1rem 0 0 0; /* Add spacing above if needed */
}

.checklist {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
}

.checklist li {
    position: relative;
    padding-left: 1.5rem; /* Add space for the checkmark */
}

.checklist li::before {
    content: '✔'; /* Unicode for checkmark */
    color: rgb(32, 196, 235); /* Change color of the checkmark */
    position: absolute;
    left: 0; /* Position the checkmark */
    top: 0;
}



