/* Styles for onboarding page.

   developer:   rmiske
   requires:    /common/framework/css/framework.en.css
   ========================================================================== */

/* ==========================================================================
   setup
   ========================================================================== */
:root {
    --wrapper-h-pad: 3.125rem;
}


/*structure*/
.page-width {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 var(--wrapper-h-pad);
    width: 100%;
}
.gridular {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
}
.gridular img {
    height: auto;
    max-width: 100%;
}
.imgFull {
    display: block;
    max-width: 80%;
    margin: auto;
}


/*text*/
main {
    font-family: "Source Sans Pro", sans-serif;
}
main h1 {
    color: #dd1100;
    font-size: 2.8125rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
main h2 {
    border-top: 1px solid #ccc;
    color: #222;
    font-size: 1.8rem;
    line-height: 1.25;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}
main h3 {
    color: #dd1100;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;   
    margin: 0 0 .2rem 0;
}

main .page-width > p { 
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 400;
    color: #535353;
    margin: 1.5rem 0 2.5rem;
}
main a {
    color: #dd1100;
}
main a:hover {
    color: #f77700; 
}


/*lists*/
ul.fancy li {
    padding: 0 0 0.25rem 0.75rem;
    position: relative;
}
ul.fancy li:before {
    color: #dd1100;
    content: '\25AA';
    margin-left: -0.75rem;
    position: absolute;
}
.fancy li a {
    color: #4b4b4b;
}
.fancy li a:hover {
    color: #f77700; 
}
.fancy li .chevron-after::after {
    color: #dd1100;
}


/*buttons*/
.cta-button {
    margin: 2rem 0 4rem;
    text-align: center;
}
.cta-button a {
    background: #dd1100;
    border-radius: 0.25rem;
    color: #fff;
    display: inline-block;
    font-size: 1.25rem;
    padding: 0.625rem 1.5rem;
}
.cta-button a:hover {
    background: #f77700;
    color: #fff;
}


/* video icons
   ========================================================================== */
/*general*/
.vid { 
    display: block;
    position: relative; 
    text-align: center; 
}
.vid::before, 
.vid::after,
.vid:hover::before, 
.vid:hover::after {
    bottom: 3.5rem; /*offset caption*/
    content: '';
    left: 0; 
    margin: auto;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0; 
}
.vid:hover img {
    outline:solid 2px #ff9500;
}


/*border (before)*/
.vid::before,
.vid:hover::before {
    background: rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    height: 72px;
    width: 84px;
}
.vid:hover::before {
    border-color: #fff;
}


/*icons (after)*/
.vid::after {
    background: url('/language/core-areas-assets/assets/img/shared/icon-play.svg') no-repeat;
}
.vid:hover::after {
    background: url('/language/core-areas-assets/assets/img/shared/icon-play-hover.svg') no-repeat;
}
.vid::after,
.vid:hover::after {
    height: calc(50px * 0.84); 
    width: calc(27px * 0.84); 
}
.vid::after,
.vid:hover::after {
    height: 50px; 
    width: 25px;
}



/* ==========================================================================
   sections
   ========================================================================== */
/*header*/
main header.page-width {
    padding-top: 3rem;
}
main header.page-width > p {
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.5;
}


/*get started*/
#get-started .gridular img {
    border: 1px solid #ececec;
}
#get-started .gridular img + div {
    font-size: 1.3rem;
    margin: .5rem 0 1.2rem 0;
    text-align: left;
}


/*wolfram courses*/
#wolfram-courses .gridular a p {
    color: #4b4b4b;
    margin-bottom: 1.5rem;
}
#wolfram-courses .gridular img {
    /*margin-bottom: 1.5rem;*/
}
#wolfram-courses .gridular a:hover h3 {
    color: #f77700; 
}
#wolfram-courses .gridular a:hover img {
    opacity: 0.8; 
}
.banner {
    background-color: #EDF0F8;
    max-width: 75%;
    padding: 2rem 2rem 2rem 2rem;
    margin: 0 auto 2rem;
}
.banner > div {
    display: grid;
    gap: 1rem;
    grid-template-columns: 65px 1fr; 
}
.banner h3 {
    color: #3755a4;
}


/*experts*/
#learn-from-experts .experts {
    column-count: 2;    
}
#learn-from-experts .experts > * {
    break-inside: avoid;
    display: grid;
    gap: 1rem;
    grid-template-columns: 65px 1fr; 
    margin-bottom: 2rem;
}
.experts > * > img {
    max-width: 100%;
}
.experts a p {
    color: #4b4b4b;
}
.experts a:hover h3 {
    color: #f77700; 
}


/*others*/
#learn-from-others h2 {
    margin-top: 1rem;
}
#learn-from-others .uses {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: 65px 1fr;
    margin-top: 3rem;
}


/*about*/
#about-the-technologies {
    background: #335a85;
    color: #fff;
    margin-top: 4rem;
    padding-bottom: 4rem;
}
#about-the-technologies .page-width {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: repeat(3, 1fr);
}
#about-the-technologies h2,
#about-the-technologies h2 + p {
    grid-column-end: span 3; 
}
#about-the-technologies h2 {
    border-top: 0;
    color: #fff;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.4rem;
    padding-top: 0;
}
#about-the-technologies h2 + p {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 3rem;
    margin-top: 0;
}
#about-the-technologies a {
    color: #fff;
}
#about-the-technologies h3 {
    color: #f9f199;
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    margin-top: 0.6rem;
}
#about-the-technologies img {
    max-height: 50px;
    width: auto;
}
#about-the-technologies a:hover h3 {
    color: #fff;
}
#about-the-technologies a:hover p {
    color: #d4ebff;
}



/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1200px) {
}


@media (max-width: 900px) {
    :root {
        --wrapper-h-pad: 2rem;
    }
    .page-width { margin: 2rem auto; }


    /*setup > structure*/
    .gridular {
        grid-template-columns: 1fr;
    }
    .gridular img {
        margin: 0 auto;
        max-width: 500px;
        display: block;
    }


    /*sections > get started*/
    #get-started .gridular img + div { text-align: center; }


    /*sections>about*/
    #about-the-technologies .page-width {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }
    #about-the-technologies h2,
    #about-the-technologies h2 + p {
        grid-column-end: span 2; 
    }
}


@media (max-width: 600px) {
    :root {
        --wrapper-h-pad: 1rem;
    }


    /*setup > structure*/
    .gridular img {
        max-width: 100%;
    }

    
    /*sections > experts*/
    #learn-from-experts .experts {
        column-count: 1;
    }
    #learn-from-experts .experts > * {
        grid-template-columns: 50px 1fr; 
    }


    /*sections>about*/
    #about-the-technologies .page-width {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    #about-the-technologies h2,
    #about-the-technologies h2 + p {
        grid-column-end: span 1; 
    }
    #about-the-technologies h2 + p {
        margin-bottom: 1rem;
    }
}
