@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    position: relative;
    margin: auto;
    display: block;
    font-family: "Barlow Semi Condensed", serif;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 30px;
    box-sizing: border-box;
}

h1 {
    font-size: 64px;
    line-height: 70px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

p {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

a {
    text-decoration: none;
    display: block;
}

a.button {
    display: inline-block;
    padding: 15px 40px;
    color: #fff;
    background-color:#FF8517;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 24px;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
}

a.button:hover {
    background-color:#191821;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 120;
}

.logo {
    width: 15%;
    margin: auto;
    padding-top: 40px;
}

.logo img {
    width: 100%;
}

.slide {
    height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 0;
}

.slide::before {
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-image: url('../media/slide.jpg');
    background-size: cover;
    background-position: top;
    z-index: -1;
}

.box-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}

.text-slide {
    width: 48%;
    padding-top: 90px;
}

.transparent {
    width: 52%;
}

.advantages {
    background-color:#FF8517;
    padding: 60px 0;
}

.advantages .icon {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    align-items: center;
}

.advantages .icon .box {
    width: 33%;
    text-align: center;
}

.advantages .icon img {
    width: 15%;
}

.advantages .icon h4 {
    text-transform: uppercase;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
}

.register {
    padding: 60px 0;
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.register::before {
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-image: url('../media/back.jpg');
    background-size: cover;
    background-position: top;
    z-index: -1;
}

.register h2 {
    font-size: 64px;
    line-height: 70px;
    color:#000;
    margin-top: 0;
    margin-bottom: 30px;
}

.box-register {
    margin: auto;
    text-align: center;
    display: block;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #FF8517;
    border-radius: 30px;
    padding: 60px 80px;
    box-sizing: border-box;
    box-shadow: 0px 0px 30px #888;
}

footer {
    background-color:#FF8517;
    padding: 40px 0;
}

footer p {
    margin:0;
    color: #fff;
    text-align: center;
}

footer p strong {
    font-size: 20px;
}

/* Mobile */
@media screen and (max-width: 1200px) {
    .text-slide {
        width: 55%;
        padding-top: 90px;
    }

    .transparent {
        width: 45%;
    }
}

@media screen and (max-width: 1100px) {
    .text-slide {
        width: 65%;
        padding-top: 90px;
    }

    .transparent {
        width: 35%;
    }
}

@media screen and (max-width: 980px) {
    .container {
        max-width: 980px;
    }
    .text-slide {
        width: 100%;
        padding-top: 0;
        text-align: center;
    }

    .logo {
        width: 30%;
        margin: auto;
        padding-top: 40px;
    }

    h1 {
        font-size: 32px;
        line-height: 38px;
        text-align: center;
    }

    p {
        font-size: 16px;
        text-align: center;
        margin-bottom: 30px;
    }

    a.button {
        display: inline-block;
        text-align: center;
        margin: auto;
    }

    .slide::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: "";
        background-image: url(../media/slide.webp);
        background-size: cover;
        background-position: top center;
        z-index: -1;
    }
    .slide::after {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: "";
        background-image: none;
        background-color: #000;
        opacity: 0.5;
        z-index: -1;
    }

    .advantages .icon {
        display: flex    ;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: space-between;
        align-items: center;
    }
    
    .advantages .icon .box {
        width: 50%;
        text-align: center;
        margin-bottom: 30px;
    }

    .advantages .icon .box:last-child {
        margin-bottom: 0;
    }

    .register h2 {
        font-size: 32px;
        line-height: 38px;
        color: #000;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .register {
        padding: 60px 0;
        position: relative;
        height: 35vh;
    }

    .box-text {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: center;
    }

    .box-register {
        padding: 40px;
    }

    .transparent {
        width: 100%;
        height: 200px;
    }

}

@media screen and (max-width: 420px) {

    h1 {
        margin-bottom: 10px;
    }

    p {
        margin-top:0;
        margin-bottom: 20px;
    }

    .advantages .icon h4 {
        margin-top: 10px;
        font-size: 20px;
    }

    .box-register {
        width: 100%;
    }

    a.button {
        font-size: 20px;
    }

    .slide {
        height: 70vh;
    }

    .advantages .icon .box {
        width: 100%;
    }

    .advantages .icon img {
        width: 20%;
    }

    .text-slide {
        margin-bottom: 40px;
    }

    .transparent {
        width: 100%;
        height: 200px;
    }

    .logo {
        width: 35%;
    }

    .register {
        height: auto;
        box-sizing: border-box;
    }

    .register::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: "";
        background-image: url(../media/back2.jpg);
        background-size: cover;
        background-position: top;
        z-index: -1;
    }

    .container {
        padding: 0 20px;
    }
}