@font-face {
    font-family: 'Font1';
    src: url('../fonts/Alata-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Font2';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Font1';
    scroll-behavior: smooth;
    /* outline: 1px solid red; */
}

body {
    background-color: #12b3b3;
}


.text1 {
    font-size: 1rem;
    font-weight: normal;
}

.text2 {
    font-size: 1.25rem;
    font-weight: normal;
}

.text3 {
    font-size: 2rem;
    font-weight: normal;
}

.text4 {
    font-size: 3rem;
    font-weight: normal;
}



.section1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 2rem;
}

.section2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    gap: 8rem;
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 2rem;
}



.section3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16rem;
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 2rem;
}







.article-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding-top: 150px;
    background-color: #ffffff;
    padding-left: 25rem;
    padding-right: 25rem;
}





.item1 {
    width: 30rem;
}

.item2 {
    width: 15rem;
}






/* BUTTON STYLES START */
.button1 {
    height: min-content;
    border-style: solid;
    border-width: 0px;
    border-radius: 4px;
    background-color: #fdb70e;
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
    width: fit-content;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
    transition: box-shadow 0.3s ease;
}

.button1:hover {
    /* background-color: #8f67ff; */
    background: linear-gradient(to bottom, #fdb70e, #fdb70e);
    box-shadow: 0 0px 20px #00000066;
}



.button2 {
    height: min-content;
    border-style: solid;
    border-width: 0px;
    border-radius: 4px;
    background-color: #583472;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
    width: fit-content;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
    transition: box-shadow 0.3s ease;
}

.button2:hover {
    /* background-color: #8f67ff; */
    background: linear-gradient(to bottom, #583472, #583472);
    box-shadow: 0 0px 20px #00000066;
}



.button3 {
    height: min-content;
    border-style: solid;
    border-width: 2px;
    border-radius: 4px;
    border-color: #fdb70e;
    background-color: #ffffff;
    text-decoration: none;
    color: #fdb70e;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
    width: fit-content;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
    transition: box-shadow 0.3s ease;
}

.button3:hover {
    /* background-color: #8f67ff; */
    background: linear-gradient(to bottom, #fdb70e, #fdb70e);
    box-shadow: 0 0px 20px #00000066;
    color: #ffffff;
}

/* BUTTON STYLES END */



.link1 {
    color: #fdb70e;
    text-decoration: none;
}

.link2:hover {
    opacity: 75%;
}







/* NAV STUFF STARTS */


/* NAV STUFF ENDS */






/* FAB BUTTON STARTS */
.fab-container {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    /* WITHOUT THIS PROPERTY, THE ANIMATIONS WILL PREVENT YOU FROM CLICKING THIS FA BUTTON */
}

.fab {
    width: 3rem;
    height: 3rem;
    background-image: url('../images/arrow.svg');
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 0px;
    /* color: white; */
    cursor: pointer;
    box-shadow: 0 0px 30px #0000007a;
}

/* FAB BUTTON ENDS */




@media(max-width: 1500px) {

    .article-section {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}



@media(max-width: 1280px) {
    .section1 {
        grid-template-columns: 1fr;
    }

    .section2 {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .section3 {
        gap: 4rem;
    }

    .item1 {
        width: 20rem;
    }
}


@media(max-width: 1024px) {
    .text3 {
        font-size: 1.25rem;
    }

    .article-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media(max-width: 767px) {

    .section2 {
        grid-template-columns: 1fr;
    }

    .section3 {
        grid-template-columns: 1fr;
    }

    .item1 {
        align-self: center;
    }
}