* {
    margin: 0;
}

body {
    font-family: Mulish;
    font-weight: 400;
}

#top-section, #about-section, #products-section, #news-section, #markets-section, #jobs-section, #contact-section {
    padding: 100px 50px;
}

#top-section div, #about-section div, #products-section div, #markets-section div, #jobs-section div, #contact-section div {
    max-width: 1425px;
    width: 100%;
    margin: 0 auto;
}

img {
    border-radius: 10px;
    max-width: 100%;
    object-fit: cover;
}

h2 {
    font-size: 44px;
    margin: 15px 0;
    font-weight: 800;
}

h3 {
    font-size: 30px;
    line-height: 40px;
    margin: 15px 0;
    font-weight: 800;
}

p, span {
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
}

#hero {
    height: 750px;
    background-image: url('https://mipsstg.wpengine.com/wp-content/themes/mips/assets/purple/img/banner/banner-1.jpg');
    z-index: -1;
    position: relative;
    display: flex;
    place-items: center;
}

#hero2 {
    height: 750px;
    background-image: url('https://mipsstg.wpengine.com/wp-content/uploads/2023/12/MIPS-chip-banner.jpg');
    z-index: -1;
    position: relative;
    display: flex;
    place-items: center;
    background-size: cover;
    background-repeat: no-repeat;
	background-position: center right;
}

#tagline-wrapper {
    background: none;
}

video {
    position: absolute;
    width: 100%;
    height: 750px;
    object-fit: cover;
}

#hero h1, #hero2 h1 {
    position: relative;
    width: 1440px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 60px;
    padding: 0 50px;
	font-weight: 800;
}

#callout {
    background: #f3f2f1;
    width: 740px !important;
    max-width: 90% !important;
    margin: -215px auto 100px auto !important;
    padding: 50px 35px;
    display: grid;
    grid-template-columns: 50% 50%;
    border-radius: 10px;
    gap: 25px;
    place-items: center;
}

#callout p {
    grid-column: 1;
    font-style: italic;
}

#callout img {
    grid-column: 2;
}

.right, .left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100%;
    gap: 30px;
    place-items: center;
}

.right img {
    grid-column: 1;
    grid-row: 1;
    height: 400px;
    width: 100%;
}

.right .text {
    grid-column: 2;
    grid-row: 1;
}

.left img {
    grid-column: 2;
    grid-row: 1;
    height: 400px;
    width: 100%;
}

.left .text {
    grid-column: 1;
    grid-row: 1;
}

a.pink-button {
    display: block;
    width: 330px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    background: #e60a95;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    height: fit-content;
    transition: .2s;
    font-size: 20px;
}

a.pink-button:hover {
    background: #00c5b4;
}

a.pink-button-2 {
    display: block;
    width: 330px;
    max-width: 100%;
    text-align: center;
    background: #e60a95;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    height: fit-content;
    transition: .2s;
    font-size: 20px;
}

a.pink-button-2:hover {
    background: #00c5b4;
}

.flex-cont {
    padding: 70px 0;
    display: flex;
    gap: 40px;
}

.flex-cont img {
    display: block;
    height: 200px;
    width: auto;
    margin-bottom: 40px;
    object-fit: contain;
}

.flex-cont .products-box, .flex-cont .markets-box {
    flex: 1 1 0px;
    padding: 25px 25px 80px 25px;
    border-radius: 10px;
}

.flex-cont .markets-box p, #jobs-section p {
    font-weight: 300;
}

.flex-cont .products-box {
    background: #ffffff;
}

.flex-cont .markets-box {
    background: #ffffff;
    color: #000000;
}

#about-section {
    background: rgb(0,197,180);
    background: linear-gradient(45deg, rgba(0,197,180,1) 0%, rgba(1,154,222,1) 100%);
}

#about-section div {
    display: grid;
    max-width: 1440px;
    grid-template-columns: 3fr 1fr;
    color: #ffffff;
    gap: 15px;
    place-items: center;
}

#products-section {
    background: #f3f2f1;
}

#markets-section {
    background: #f3f2f1;
}

#news-section .pink-button {
 margin-top: 70px;
}

#jobs-section {
    background: #0f181f;
    color: #ffffff;
    padding: 0 50px;
    height: 425px;
}

#jobs-section img {
    width: 50%;
    position: absolute;
    right: 0;
    height: 425px;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

#jobs-section .left {
    height: 425px;
}

#jobs-section h2 {
    color: #e60a95;
}

#contact-section {
    background: rgb(0,197,180);
    background: linear-gradient(45deg, rgba(0,197,180,1) 0%, rgba(1,154,222,1) 100%);
}

#contact-section div {
    max-width: 1150px;
    text-align: center;
    color: #000000;
}

#contact-section div h2 {
    color: #ffffff;
}

#contact-section div span {
    display: block;
    margin-bottom: 50px;
}

@media (max-width: 900px) {

    .flex-cont {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .flex-cont img {
        height: 300px;
        margin: 0 auto;
    }

    .flex-cont .products-box, .flex-cont .markets-box {
        padding: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    #about-section div {
        display: flex;
        flex-direction: column;
    }

    #markets-section .left {
        grid-template-columns: 100%;
    }

    #jobs-section {
        background: rgb(15,24,31);
        background: linear-gradient(90deg, rgba(15,24,31,1) 60%, rgba(0,0,0,0) 75%);
    }

    #jobs-section img { 
        z-index: -1;
    }

    #jobs-section .left {
        z-index: 2;
    }
}

@media (max-width: 850px) {

    #top-section, #about-section, #products-section, #news-section, #markets-section, #contact-section {
        padding: 50px 50px;
    }

    #callout {
        margin-bottom: 50px !important;
        width: unset !important;
    }

    .left, .right {
        grid-template-columns: 100%;
        grid-template-rows: auto;
    }

    .right img {
        grid-column: 1;
        grid-row: 1;
        height: 400px;
        width: 100%;
    }
    
    .right .text {
        grid-column: 1;
        grid-row: 2;
    }
    
    .left img {
        grid-column: 1;
        grid-row: 1;
        height: 400px;
        width: 100%;
    }
    
    .left .text {
        grid-column: 1;
        grid-row: 2;
    }

    .flex-cont {
        padding: 50px 0;
    }

    #markets-section .left {
        gap: 0;
    }

    #jobs-section .left {
        grid-template-columns: 1fr 1fr;
    }

    #jobs-section, #jobs-section img {
        height: 500px;
    }
}

@media (max-width: 600px) {

    #top-section, #about-section, #products-section, #news-section, #markets-section, #contact-section {
        padding: 25px;
    }

    #callout {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        text-align: center;
    }

    #callout img {
        grid-row: 1;
        grid-column: 1;
    }

    #jobs-section {
        background: #0f181fa8;
        padding: 0 25px;
        height: 500px;
    }

    #jobs-section img {
        width: 100%;
    }

    #jobs-section .left {
        grid-template-columns: 100%;
        grid-template-rows: 1fr;
        gap: 0;
    }

    #jobs-section .text {
        grid-row: 1;
    }
}

@media (max-width: 445px) {

    ul {
        margin-left: -1em;
    }

    #jobs-section {
        height: 550px;
    }

    #jobs-section img {
        height: 550px;
    }

    a.pink-button {
        width: 250px !important;
        max-width: calc(100% - 50px) !important;
    } 
    
    a.pink-button-2 {
        width: 250px !important;
        margin: 0 auto;
        max-width: calc(100% - 50px) !important;
    }
}