.tile {
    display: flex;
    flex: 1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #2c2f33;
    outline: 1px solid #3a3e43;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #ffffff;
    text-overflow: clip;
    flex-wrap: nowrap;
    overflow: hidden;
    flex-direction: row;
}

.tile h2 {
    margin-top: 0;
}

.tile p {
    margin-bottom: 10px;
}

.tile img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-right: 10px;
}

.Featuredtile {
    display: flex;
    height: 50px;
    border-radius: 8px;
    padding: 20px;
    margin: 5px;
    cursor: pointer;
    background-color: #2c2f33;
    outline: 1px solid #3a3e43;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    text-decoration: none;
    color: #ffffff;
    text-overflow: clip;
    position: relative;
    flex: 1;
}

.Featuredtile h2 {
    margin-top: 0;
}

.Featuredtile p {
    font-size: 14pt;
}

.Featuredtile img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin-right: 10px;
    position: relative;
}

.Featuredartisttile {
    width: 100%;
    padding: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #ffffff;
    text-overflow: clip;
    position: relative;
    flex: 1;
}

.Featuredartisttile h2 {
    margin-top: 0;
}

.Featuredartisttile p {
    margin-bottom: 10px;
}

.Featuredartisttile img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: relative;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    outline: 1px solid #3a3e43;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.Textbox {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    justify-content: center
}

.FeaturedBox {
    width: 100%;
    flex: 1;
    align-items: stretch;
    display: grid;
}

.FeaturedArticleBox {
    width: 100%;
    flex: 1;
    align-items: start;
    display: grid;
    background-color: #2c2f33;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 10px;
}

.ToolsBox {
    width: 95%;
    flex: 1;
    margin-right: 10px;
}

.banner {
    width: 50%;
    height: 400px;
    /* Adjust the height as needed */
    position: relative;
    overflow: hidden;
}

.banner img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin-left: 20px;
}

.banner img:first-child {
    opacity: 1;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

main {
    margin-top: 57px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow-wrap: anywhere;
    justify-content: center;
    flex-direction: row;
}

#center {
    flex: 1;
    max-width: 900px;
    min-width: 640px;
    /* margin-left: calc(15% + 60px); */
    padding: 30px;
}

#centernoside {
    flex: 1;
    max-width: 900px;
    min-width: 640px;
    padding: 30px;
}

#centernosidewide {
    flex: 1;
    max-width: 1200px;
    min-width: 640px;
    padding: 30px;
}

.right {
    width: 15%;
    position: sticky;
    top: 57px;
    padding: 30px;
}

.left {
    width: 15%;
    position: sticky;
    top: 57px;
    padding: 30px;
}

.fixed-div {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 200px;
    right: 60px;
}

.tweet-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(29, 156, 240, 0.135);
    border: 1px solid rgb(29, 155, 240);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.button {
    display: inline-block;
    padding: 5px 20px;
    background-color: rgba(29, 156, 240, 0.135);
    border: 1px solid rgb(29, 155, 240);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    overflow-wrap: break-word;
}

.box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 50%;
    background-color: #00bfff0a;
    border: 1px solid #dddddd16;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.author-details-box {
    background-color: #00bfff0a;
    border: 1px solid #dddddd16;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-top: 70px;
    margin-bottom: 10px;
}

.author-details {
    display: flex;
    align-items: center;
}

.author-details img {
    max-width: 50px;
    border-radius: 50%;
    /* Makes the image round if it's a profile picture */
}

.author-info {
    margin-left: 20px;
}

.author-info span {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.author-info p {
    margin: 10px 0;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    display: inline;
    margin-right: 10px;
}

.social-links a {
    text-decoration: none;
    color: #0074E4;
    /* You can choose a color that fits your website's design */
}

/* Style links on hover (optional) */
.social-links a:hover {
    text-decoration: underline;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
}

.StepsBlock {
    width: 3rem;
    height: 3rem;
    background: #1a303d;
    border: 1px solid #dddddd16;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-size: 28pt;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding-left: 0.625rem;
}

.step h2 {
    font-size: 28pt;
}

.inset-text {
    color: #ffffff;
    padding: 20px;
    border-left: 8px solid #ffffff;
    margin: 20px 0;
}

.code-snippet-section {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

pre {
    background-color: #0f0f0f;
    padding: 5px 20px 5px 20px;
    border: 1px solid #dddddd1f;
    border-radius: 20px 0px 0px 20px;
    border-right: transparent;
    margin: 0px 0px 0px;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.copybutton {
    height: 32px;
    line-height: 24px;
    background-color: rgba(29, 156, 240, 0.135);
    border: 1px solid rgb(29, 155, 240);
    border-radius: 0px 20px 20px 0px;
    cursor: pointer;
    padding: 0px 16px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
    margin-right: 10px;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    font-weight: bold;
    overflow-wrap: normal;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#overlayImage {
    max-width: 90%;
    max-height: 90%;
    cursor: zoom-out;
}

/* 2xl */
@media (max-width: 1536px) {}

@media (max-width: 1320px) {
    #centernoside {
        margin-left: calc(5% + 60px);
        margin-right: 5%;
    }

    #centernosidewide {
        margin-left: calc(5% + 60px);
        margin-right: 5%;
    }
}

/* xl */
@media (max-width: 1280px) {}

/* lg */
@media (max-width: 1024px) {
    #center {
        margin-top: 0px;
        margin-left: 0;
        width: 80%;
    }

    #centernoside {
        margin-top: 0px;
        margin-left: 0;
        margin-right: 0;
        width: 80%;
        min-width: 0;
    }

    #centernosidewide {
        margin-top: 0px;
        margin-left: 0;
        margin-right: 0;
        width: 80%;
        min-width: 0;
    }

    .right {
        display: none;
    }

    .left {
        display: none;
    }

    .tile img {
        width: 100px;
        height: 100px;
        border-radius: 8px;
        margin-right: 10px;
    }

    main {
        display: flex;
        flex-direction: column;
        flex: none;
        height: 100%;
        width: auto;
        position: relative;
        margin-top: 57px;
        margin-left: 57px;
        align-items: center;
    }

    .box {
        flex-direction: column;
        width: 100%;
    }

    .box p {
        text-align: center;
    }

    .copybutton {
        margin-right: 0;
    }

    .Featuredartisttile {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    main {
        display: flex;
        flex-direction: column;
        flex: none;
        height: 100%;
        width: auto;
        position: relative;
        margin-top: 59px;
        margin-left: 0;
        margin-right: 0;
        align-items: center;
    }

    #center {
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex: none;
        height: 100%;
        position: relative;
        width: 90%;
        margin-top: -10px;
        margin-left: 0;
        min-width: 0;
    }

    #centernoside {
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex: none;
        height: 100%;
        position: relative;
        width: 90%;
        margin-top: -10px;
        margin-left: 0;
    }

    #centernosidewide {
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex: none;
        height: 100%;
        position: relative;
        width: 90%;
        margin-top: -10px;
        margin-left: 0;
    }

    .step {
        margin-top: 10px;
    }

    .StepsBlock {
        font-size: 22pt;
        width: 2.5rem;
        height: 2.5rem;
    }

    .step h2 {
        font-size: 22pt;
    }

    h3 {
        font-size: 18pt;
    }

    #centernosidewide {
        padding: 0;
    }

    #centernoside {
        padding: 0;
    }
}

/* sm */
@media (max-width: 640px) {
    .subtag {
        font-size: 11pt;
    }

    #center {
        margin-top: 30px;
        padding: 0;
    }
}

/* xs */
@media (max-width: 475px) {
    .code-snippet-section {
        flex-direction: column;
    }

    .copybutton {
        border-radius: 20px;
        margin-top: 10px;
        margin-right: 0px;
    }

    pre {
        border-radius: 20px;
        border-right: 1px solid #dddddd1f;
    }
}

@media (max-width: 360px) {}