@import url(./layout.css);

/* ~~~~ GENERAL ~~~~ */

main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-containers {
    width: 80%;
    background-color: rgba(255, 255, 255, 0.9); 
    box-shadow: 0px 20px 10px -1px #00000070;
    margin-bottom: 100px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: row;
}

.section-containers section {
    margin: 20px;
    background-color: #f7dde0;
    padding: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 5px solid #673a16;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ~~~~ ANNOUNCEMENT SECTION ~~~~ */

#announcement-section {
    padding: 15px;
    box-shadow: 0px 20px 10px -1px #00000070;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: 20px;
    width: 78%;
    margin-bottom: 100px;
    background-color: #ffffffe6; 
}

#announcement-div {
    padding: 20px;
    background-color: #f7dde0;
    border: 5px solid #673a16;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    width: auto;
    margin: auto;
    transition: 1s;
}

#announcement-div:hover {
    background-color: #faebee;
    border-color: #9b663b;
    cursor: pointer;
    transform: scale(0.98);
}

#announcement-div p {
    margin: 20px 40px;
    font-family: CormorantUpright;
    font-size: 40px;
    text-align: center;
}

.announcement-decoration {
    width: auto;
    height: 50px;
    filter: invert(1);
    rotate: 270deg;
    align-items: top;
}

.announcement-decoration:last-of-type {
  rotate: 90deg;
  align-self: flex-end;
}

/* ~~~~ INTRO / COLLAB CONTAINER ~~~~ */

#intro-collab-container {
    display: flex;
    flex-direction: row;
}

/* ~~~~ INTRO SECTION ~~~~ */

#intro-section {
    order: 2;
}

#intro-section div {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

#intro-ggn-full-logo {
    width: 75%;
}

#intro-section div {
    width: 80%;
}

#intro-section div h1 {
    display: none;
}

#intro-section div p {
    font-size: 22px;
    padding: 20px;
    width: 100%;
    background-color: #fffefe;
    text-align: center;
    border-bottom: none;
}

#intro-section div p:first-of-type{
    border-top-left-radius: 10px;
}

#intro-section div p:last-of-type {
    border-bottom-right-radius: 10px;
}

/* COLLAB SECTION */

#collab-text-container {
    margin-bottom: 20px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#collab-text-container {
    display: flex;
    align-items: center;
    justify-content: left;

}

#collab-text-container h2 {
    font-family: Aspire;
    font-size: 50px;
    width: fit-content;
    margin-right: 20px;
}

#collab-text-container img {
    height: 80px;
    max-width: 50%;
}

#collab-img-container {
    height: 500px;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
    border: 15px solid #8f582b;
}

#collab-img {
    width: 100%;
    height: 100%;
    border: 5px solid #673a16;
    background-color: #673a16;
}

/* ~~~~ ABOUT / AWARDS CONTAINER ~~~~ */
#about-container {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

#about-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#about-text {
    width: 50%;
    height: fit-content;
    padding: 20px;
    background-color: #fffefe;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#about-text p {
    width: 100%;
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
}

#about-text p:last-of-type {
    margin-bottom: 10px;
}

#about-section img {
    height: 300px;
    border: 5px solid #673a16;
}

#about-img img {
    border: 0;
    height: 300px;
}

/* ~~~~ RECENT SECTION ~~~~ */

#recent-section {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.recent-box {
    background-color: rgba(255, 255, 255, 0.9); 
    box-shadow: 0px 20px 10px -1px #00000070;
    margin-bottom: 100px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 250px;
    padding: 20px;
}

.recent-item {
    padding: 20px;
    height: 88%;
    background-color: #f7dde0;
    border: 5px solid #673a16;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
}

.recent-item h2 {
    font-size: 30px;
    margin-bottom: 5px;
}

.recent-item p {
    font-size: 15px;
    margin-bottom: 5px;
}

.recent-logo {
    height: 50px;
    width: 90%;
    margin-bottom: 5px;
    object-fit: contain;
}

.recent-img-box {
    width: 200px;
    height: 200px;
}

.recent-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* OMNI SECTION */

#omni-section {
    background-color: rgba(255, 255, 255, 0.9); 
    box-shadow: 0px 20px 10px -1px #00000070;
    margin-bottom: 100px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px;
    width: fit-content;
}

#omni-title-card {
    background-color: #f7dde0;
    border: 5px solid #673a16;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
    padding: 20px;
}

#omni-title-card h2 {
    font-size: 30px;
}

#omni-title-card p {
    font-size: 40px;
}

#omni-pieces-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#omni-pieces-box div {
    padding: 20px;
    margin: 20px;
    background-color: #f7dde0;
    border: 5px solid #673a16;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#omni-pieces-box div h3 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

#omni-pieces-box div p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

#omni-pieces-box div img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background-color: black;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RESPONSIVE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    
    @media screen and (max-width: 1840px) {
        #intro-ggn-full-logo {
            width: 70%;
        }

        #intro-section div {
            width: 90%;
        }

        #collab-text-container {
            width: 90%;
        }
    }
    
    @media screen and (max-width: 1660px) {
        #collab-img-container {
            height: 400px;
            width: 400px;
        }

        #collab-text-container h2 {
            font-size: 40px;
        }
        
        #collab-text-container img {
            height: 65px;
        }

        #intro-section div p {
            font-size: 18px;
        }
    }
    
    @media screen and (max-width: 1500px) {
        #about-section {
            padding: 0px;
        }

        #about-section img {
            height: 250px;
        }
        
        #about-img img {
            height: 250px;
        }

        #about-text {
            border-radius: 0px;
        }
    }
    
    @media screen and (max-width: 1400px) {
        #collab-text-container {
            margin-bottom: 0px;
        }
        
        #collab-text-container img {
            max-width: 40%;
        }
    }
    
    @media screen and (max-width: 1300px) {
        #announcement-div p {
            font-size: 30px;
        }

        #intro-collab-container {
            width: 90%;
        }

        #collab-img-container {
            height: 350px;
            width: 350px;
            margin: auto;
        }

        #collab-img-container img {
            align-self: center;
        }

        #collab-text-container {
            display: flex;
            flex-direction: column;
        }

        #collab-text-container h2 {
            font-size: 50px;
        }
        
        #collab-text-container img {
            height: 65px;
        }

        #intro-section div p {
            font-size: 18px;
        }
    }
    
    @media screen and (max-width: 1200px) {
        #about-section img {
            height: 200px;
        }
        
        #about-img img {
            height: 200px;
        }

        #about-text p {
            font-size: 18px;
            margin-bottom: 15px;
        }
    }
    
    @media screen and (max-width: 1000px) {
        #announcement-div p {
            font-size: 25px;
        }

        #intro-collab-container {
            flex-direction: column-reverse;
            width: 80%;
        }

        #intro-section {
            width: 87%;
        }

        #intro-section div {
            width: 100%;
        }

        #collab-section {
            width: 87%;
            flex-direction: row;
        }

        #collab-text-container {
            width: 40%;
            flex-direction: column;
            margin-right: 20px;
        }

        #collab-text-container h2 {
            font-size: 40px;
            margin-right: 0px;
        }

        #collab-text-container img {
            max-width: 100%;
        }

        #collab-company-logo {
            width: 1000px;
            height: 1000px;
        }

        #about-section {
            justify-content: space-between;
        }

        #about-section img {
            height: 200px;
            order: 2;
        }
        
        #about-img {
            order: 2;
            margin-right: 20px;
        }

        #about-img img {
            height: 150px;
        }

        #about-text p {
            font-size: 18px;
            margin-bottom: 15px;
        }
    }
    
    @media screen and (max-width: 900px) {
        #announcement-div {
            height: 100px;
        }
        
        #announcement-div p {
            align-self: center;
        }

        #about-img {
            margin-right: 10px;
        }

        #about-text p {
            font-size: 15px;
            margin-bottom: 10px;
        }
        
        #about-section img {
            height: 150px
        }

        #about-img img {
            height: 150px;
        }
    }
    
    @media screen and (max-width: 800px) {
        #intro-collab-container {
            width: 90%;
        }
       
        #collab-img-container {
            height: 300px;
            width: 300px;
        }

        #omni-section {
            width: 90%;
        }

        #omni-pieces-box div img {
            width: 500px;
            height: 500px;
        }
        
    }

    @media screen and (max-width: 670px) {
        #intro-section {
            width: 83%;
        }
        
        #collab-section {
            width: 83%;
            flex-direction: column;
        }

        #collab-text-container {
            width: 80%;
            flex-direction: column;
            margin-right: 0px;
            margin-bottom: 20px;
        }
        

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

        #about-text {
            width: 100%;
            padding: 0px;
        }

        #about-text p {
            padding: 10px;
            width: 90%;
            margin: auto;
        }

        #about-text p:last-of-type {
            margin-bottom: 0px;
        }

        #about-section img {
            margin-top: 20px;
            height: 250px
        }

        .recent-box {
            margin: 10px;
        }

        #omni-section {
            width: 80%;
        }

        #omni-pieces-box div img {
            width: 350px;
            height: 350px;
        }
    }
    
    @media screen and (max-width: 550px) {
        .announcement-decoration {
            display: none;
        }

        #announcement-div {
            padding: 10px;
        }

        #intro-section, #collab-section {
            width: 82%;
        }

        #omni-title-card h2 {
            font-size: 25px;
        }
        
        #omni-title-card p {
            font-size: 20px;
        }

        #omni-pieces-box div {
            width: 100%;
            margin: 20px 0px;
        }

        #omni-pieces-box div img {
            width: 100%;
            height:fit-content;
        }
    }
    
    @media screen and (max-width: 500px) {
        .section-containers section {
            padding: 10px;
        }

        #intro-section, #collab-section {
            width: auto;
        }
    }
    
    @media screen and (max-width: 460px) {
        #intro-collab-container {
            width: 100%;
            border-radius: 0px;
        }
    }

    @media screen and (max-width: 400px) {
        #intro-section, #collab-section {
            margin: 10px;
        }
        
        #collab-text-container h2 {
            font-size: 40px;
            margin-top: 10px;
        }

        #collab-img-container {
            height: 250px;
            width: 250px;
        }
    }