/* FONTS */
@font-face {
    font-family: 'SharpGrotesk';
    src: url('fonts/SharpGrotesk-Medium15.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SharpGrotesk';
    src: url('fonts/SharpGrotesk-Medium20.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SharpGrotesk';
    src: url('fonts/SharpGrotesk-Medium25.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SharpGrotesk';
    src: url('fonts/SharpGrotesk-SemiBold20.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SharpGrotesk';
    src: url('fonts/SharpGrotesk-SemiBold25.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* STYLE */
html, body {
    padding: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

body {
    background-color: #ffffff;
    color: #1D1D1B;
    font-family: 'SharpGrotesk', sans-serif;
    font-weight: 500;
}

.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

img {
    max-width: 100%;
}

p {
    margin-bottom: 30px;
}

strong {
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    color: #E83181;
}

header {
    background-color: transparent;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
}

header #logo {
    max-width: 100px;
    margin: 10px 0 0 10px;
}

#hero {
    height: 50vh;
    overflow: hidden;
    position: relative;
}

#hero #hero-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

#hero #new {
    max-width: 100px;
    position: absolute;
    top: -15px;
    right: -5px;
}

#title {
    position: absolute;
    bottom: 40px;
    padding: 0 15px;
    font-size: 2.3rem;
    font-weight: 600;
    z-index: 5;
}

#title span {
    color: #ffffff;
    position: relative;
    margin-bottom: -35px;
    display: block;
    transform: rotate(-9deg);
    font-weight: 800;
    z-index: -1;
}

#graphic-divider {
    fill: #E83181;
    position: absolute;
    bottom: -2px;
}

#description {
    position: relative;
    padding: 20px 15px 40px;
    background-color: #E83181;
    color: #ffffff;
    text-transform: uppercase;
}

#arrow {
    max-width: 30px;
    position: absolute;
    right: 20%;
    top: -18px;
}

#details {
    padding: 65px 0;
}

#details #col-1,
#details #col-2  {
    padding: 0 15px;
}

.detail-block {
    margin-bottom: 20px;
}

.detail-block a {
    text-decoration: none;
    color: #000000;
}
.detail-block a:hover {
    color: #E83181;
}

.detail-icon {
    height: 35px;
    margin-right: 22px;
}

#details h2 {
    margin: 0 0 5px;
}

.detail-block h2 span {
    color: #1D1D1B;
}

.arrow-text {
    padding-left: 20px;
    position: relative;
}

.arrow-text::before {
    content: "\2198";
    display: inline;
    position: absolute;
    left: 0;
    color: #E83181;
}

#contacts {
    display: block;
}

#contacts #sticker {
    margin-top: -110px;
    display: block;
}

#studies {
    margin-bottom: 10px;
}

#registration_button {
    max-width: 140px;
    display: block;
}

#opportunities h2 {
    color: #92C020;
}

.note {
    margin: 10px 0 0;
}

#back {
    padding-bottom: 50px;
}

#back a {
    padding: 0 15px;
    display: block;
    text-decoration: none;
    color: #1D1D1B;
}

#back a:hover {
    color: #E83181;
}

#back .arrow-text:before {
    content: "\2196";
}

footer {
    background-color: #E83181;
    padding: 12px 15px;
    color: #ffffff;
}

footer .footer-logo {
    margin: 10px 5px;
}

@media all and (min-width:768px) {
    #title {
        bottom: 65px;
    }
    
    #arrow {
        right: 25%;
        top: -40px;
    }
}

@media all and (min-width:992px) {
    html, body {
        font-size: 16px;
    }

    .container {
        max-width: 960px;
    }

    header #logo {
        max-width: 200px;
        margin: 30px 0 0 40px;
    }

    #hero {
        height: 100vh;
    }

    #hero #new {
        max-width: 250px;
        top: -55px;
        right: -7px;
    }

    #title {
        font-size: 4.5rem;
        bottom: 70px;
    }
    
    #title span {
        margin-bottom: -85px;
    }

    #arrow {
        max-width: 45px;
        top: -57px;
    }

    .detail-block {
        display: flex;
    }

    #contacts .arrow-text {
        margin-left: 50px;
    }

    footer .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    footer .footer-logo {
        margin-top: 0;
    }
}

@media all and (min-width:1024px) {
    #details {
        display: flex;
    }

    #details #col-1,
    #details #col-2 {
        width: 50%;
    }

    #registration_button {
        display: none;
    }
}

@media all and (min-width:1460px) {
    .container {
        max-width: 1140px;
    }
    
    header #logo {
        max-width: none;
        margin: 60px 0 0 80px;
    }

    #hero img {
        height: auto;
        object-fit: contain;
    }

    #hero #new {
        max-width: none;
        top: -80px;
        right: -15px;
    }

    #title {
        font-size: 7rem;
        bottom: 100px;
    }
    
    #title span {
        margin-bottom: -130px;
    }

    #arrow {
        max-width: none;
        top: -85px;
    }
}

@media all and (min-width:1920px) {
    #title {
        bottom: 150px;
    }
}