@font-face {
    font-family: "Leaguespartan";
    src: url('fonts/leaguespartan-bold.ttf') format('truetype');
}
  
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    width: 100%;
}

a:hover {
    opacity: 0.7;
}

/* Navbar */

.nav {
    display: flex;
    height: 110px;
    width: 100vw;
    justify-content: center;
    align-items: center;
}

.nav_container {
    display: flex;
    justify-content: right;
    height: 100%;
    width: 100%;
    padding: 0 30px;
}

#nav_logo {
    position: fixed;
    top: 20px;
    left: 20px;
    align-items: center;
    display: flex;
}

#nav_logo img {
    width: 70px;
    height: 70px;
    border-radius: 17px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

#nav_logo:hover {
    opacity: 1;
}

.nav_menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav_link {
    text-decoration: none;
    padding: 0 1em;
}

.nav_link img {
    width: 130px;
}

/* Hero */

.main {
    background-color: white;
}

.main_container {
    display: grid;
    gap: 100px;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    justify-content: center;
    /* height: calc(100vh - 110px); */
    width: 100vw;
    padding: 100px;
    padding-top: 0;
}

.main_container img {
    max-width: 100%;
    height: auto;  
    object-fit: contain;
    padding: 0 0em 3em 0;
}

.main_content h1 {
    color: black;
    font-size: 6vw;
    line-height: 1em;
    font-family: "Leaguespartan";
    text-transform: uppercase;
}

.main_content span {
    color: #ffcb3c;
    font-size: 6vw;
    line-height: 1em;
    font-family: "Leaguespartan";
    text-transform: uppercase;
}

/* Section */

.section_background {
    padding: 5em;
    display: grid;
    gap: 5em;
    grid-template-columns: 1fr 1fr;
}

.section_background img {
    max-width: 100%;
    height: auto;  
    object-fit: contain;
}

.section_card {
    display: flex;
    background-color: #f2f2f2;
    border-radius: 30px;
    padding: 4em 4em 0 4em;
}

.section_content h2 {
    color: rgb(0, 0, 0, 0.7);
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.section_content h3 {
    color: rgb(0, 0, 0, 0.85);
    font-size: 2.2em;
    font-weight: 700;
    line-height: 40px;
}

.section_content span {
    background-image: linear-gradient(45deg, #ffcb3c, #bf8c00);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;  /* <- here it is */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icloud_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3em;
}

.icloud_section h2 {
    color: rgb(0, 0, 0, 0.7);
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.icloud_section h3 {
    color: rgb(0, 0, 0, 0.85);
    font-size: 1.7em;
    font-weight: 600;
    margin-bottom: 2em;
    text-align: center;
}

.icloud_section img {
    width: 80vw;
    object-fit: contain;
}

/* Footer */

.footer {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_container {
    display: flex;
    justify-content: space-between;
    padding: 50px 30px 100px 30px;
    width: 100%;
}

.footer_logo {
    display: flex;
    column-gap: 8px;
    align-content: center;
}

.footer_logo img {
    width: 35px;
    height: 35px;
    border-radius: 7px;
}

.footer_logo p {
    font-size: 38px;
    color: white;
    font-family: 'Leaguespartan';
}

.footer_submenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.footer_menu {
    display: flex;
    flex-direction: column;
}

.footer_menu p {
    color: #6b6b6b;
    font-size: 0.7em;
    font-weight: 600;
    padding-bottom: 0.5em;
}

.footer_menu a {
    color: rgb(187, 187, 187);
    font-size: 0.7em;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 0.5em;
    transition: color 0.45s;

}

.footer_menu a:hover {
    color: white;
    opacity: 1;
}

.footer_menu img {
    width: 100px;
}

/* Text */

.generic_page {
    padding: 0 200px 50px 200px;
}

.generic_page h1 {
    padding: 0.5em 0;
    font-size: 2em;
    font-family: 'Leaguespartan';
}

.generic_page h2 {
    padding: 0.5em 0;
    font-size: 1.5em;
    font-family: 'Leaguespartan';
}

.generic_page p {
    padding-bottom: 2em;
    line-height: 2em;
}

.generic_page a {
    text-decoration: none;
    color: black;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8em 0;
}

.big {
    font-size: 4em;
    margin-bottom: 50px;
    text-align: center;
}

.accent {
    color: #ffcb3c !important;
}

@media (max-width: 900px) {
    .main_container {
        padding-top: 3em;
    }

    .main_container img {
        order: 1;
    }

    .main_container {
        gap: 2em;
        grid-template-columns: 1fr;
        height: auto;
    }

    .main_content h1 {
        font-size: 10vw;
    }
    
    .main_content span {
        font-size: 10vw;
    }    

    .section_background {
        padding: 2em;
        gap: 2em;        
        grid-template-columns: 1fr;
    }

    .section_background img {
        width: 100%;
    }    

    .icloud_section {
        padding: 2em;
    }

    .footer_logo img {
        order: 1;
    }

    .footer_container {
        flex-direction: column;
        row-gap: 3em;
    }

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

    .footer_menu p {
        font-size: 1em;
    }
    
    .footer_menu a {
        font-size: 1em;
    }

    .generic_page {
        padding: 0 2em 1em 2em;
    }
}