/* ======================================
   BASIC RESPONSIVE SETTINGS
====================================== */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

input,
button {
    font-family: inherit;
}


/* ======================================
   ORIGINAL COURSE CSS
====================================== */

naav,
nav {
    margin-top: 30px;
}


.all {
    background-color: rgb(249, 249, 249);
    border-radius: 20px;

    min-height: 350px;
    height: auto;

    width: 280px;
    max-width: 100%;

    box-shadow: 1px 1px 9px black;
    align-items: center;
    overflow: hidden;
}


.sawirka {
    object-fit: cover;
    height: 180px;
    width: 280px;
    max-width: 100%;

    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}


.course {
    font-weight: bold;
    font-size: 20px;
    text-align: center;

    color: rgb(255, 255, 255);
    background-color: rgb(18, 10, 64);

    width: 90%;
    border-radius: 10px;

    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;

    padding: 5px;
    transition: 0.9s;
}


.course:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


.price {
    font-weight: bold;
    color: rgb(1, 145, 184);
    font-size: 20px;
    text-align: center;
}


.wyn {
    display: flex;
    flex-wrap: wrap;

    justify-content: space-around;
    align-items: stretch;

    gap: 25px;

    width: 100%;
    padding: 20px;
}


.madax1 {
    width: 100%;

    padding: 20px;
    margin-top: 0;

    background-color: rgb(251, 249, 249);

    position: sticky;
    top: 0;
    z-index: 1000;
}


.backround {
    display: block;

    width: 100%;
    max-width: 1248px;

    height: auto;
    max-height: 600px;

    margin-left: auto;
    margin-right: auto;

    object-fit: cover;
}


.qoral {
    color: rgb(252, 254, 254);
    background-color: rgb(12, 10, 67);

    width: fit-content;
    max-width: 90%;

    text-align: center;
    border-radius: 15px;

    transition: 0.5s;
    padding: 15px;

    margin: 25px auto;
}


.qoral:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


.qoral2 {
    color: rgb(14, 79, 164);
    background-color: rgb(250, 246, 246);

    border-radius: 15px;

    width: 50%;
    max-width: 700px;

    height: auto;
    min-height: 20px;

    padding: 20px;

    text-align: center;
    transition: 0.5s;

    font-size: 25px;
    line-height: 1.4;

    border: 3px solid rgb(2, 99, 168);

    margin: 25px auto;
}


.qoral2:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


.last {
    text-align: center;
    color: rgb(246, 246, 249);
    background-color: rgb(5, 5, 71);

    width: fit-content;
    max-width: 90%;

    margin: 25px auto;

    padding: 20px;
    border-radius: 15px;

    transition: 0.5s;
}


.last:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


.rec {
    background-color: rgb(13, 13, 129);

    width: 100%;
    min-height: 250px;
    height: auto;

    color: white;

    padding: 40px 20px 80px;
}


.footer2 {
    text-align: center;
    padding-top: 40px;
}


.contact {
    text-align: center;

    color: rgb(9, 9, 68);
    background-color: rgb(244, 244, 246);

    width: fit-content;
    max-width: 90%;

    padding: 20px;
    border-radius: 15px;

    transition: 0.5s;

    margin: 40px auto 0;

    font-size: 20px;
    font-weight: bold;
}


.get {
    font-size: 50px;
}


.prag {
    font-size: 20px;
    line-height: 1.6;
}


.numbers {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

    width: 100%;
}


.num1 {
    background-color: rgba(140, 140, 236, 0.475);
    color: white;

    width: fit-content;

    padding: 10px;
    border-radius: 15px;

    text-align: center;
    font-weight: bold;

    transition: 0.8s;
}


.num1:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


.contact:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
    transition: 0.8s;
}


.form {
    margin-left: auto;
    margin-right: auto;

    min-height: 300px;
    height: auto;

    width: 80%;
    max-width: 900px;

    padding: 20px;

    background-color: blue;
}


.continer {
    background-color: rgb(245, 245, 245);

    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;

    width: 30%;
    max-width: 450px;
    min-width: 300px;

    min-height: 500px;
    height: auto;

    padding: 25px 20px;

    border-radius: 15px;
    box-shadow: 1px 1px 7px black;

    text-align: center;
}


.h {
    display: block;

    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;

    width: 80%;
    height: 45px;

    padding: 8px 12px;

    background-color: rgb(255, 255, 255);

    border: 1px solid rgb(200, 200, 200);
    border-radius: 9px;
}


.login {
    display: block;

    background-color: rgb(19, 19, 91);

    text-align: center;

    width: 80%;
    min-height: 45px;

    margin: 20px auto;

    border: none;
    border-radius: 9px;

    color: white;
    font-size: 20px;
}


.check {
    font-weight: bold;
}


.T {
    font-weight: bold;
    font-size: 40px;
    color: rgb(16, 16, 91);
}


.user {
    position: relative;
    right: 20px;
}


.navigation {
    display: flex;
    flex-wrap: wrap;

    background-color: rgb(16, 127, 142);

    width: 100%;

    padding: 20px;
    border-radius: 15px;

    gap: 15px;
}


.least {
    margin-right: 15px;

    font-weight: bold;
    font-size: 20px;
}


/* ======================================
   INDEX PAGE HEADER
====================================== */

header {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 12px 5%;

    background-color: rgb(255, 255, 255);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);

    position: relative;
    z-index: 100;
}


.uk {
    flex-shrink: 0;

    margin: 0;
    padding: 0;
}


.uk img {
    display: block;

    width: 75px;
    height: 75px;

    object-fit: cover;
    border-radius: 50%;
}


header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex: 1;
    min-width: 0;

    margin-top: 0;
    margin-left: 20px;
}


.logo {
    flex-shrink: 0;

    margin: 0;

    color: rgb(13, 52, 97);

    font-size: 28px;
    font-weight: bold;
}


header nav ul {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    min-width: 0;

    margin: 0;
    padding: 0;
}


header nav ul li {
    margin: 0;
    padding: 0;
}


header nav ul li a {
    display: block;

    padding: 10px 14px;

    border-radius: 8px;

    color: rgb(13, 52, 97);

    font-size: 17px;
    font-weight: bold;

    white-space: normal;

    transition: 0.4s;
}


header nav ul li a:hover {
    color: white;
    background-color: rgb(16, 127, 142);
}


/* ======================================
   INDEX PAGE HERO
====================================== */

.hero {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: calc(100vh - 100px);

    padding: 70px 20px;

    text-align: center;

    background:
        linear-gradient(
            rgba(9, 35, 72, 0.94),
            rgba(16, 127, 142, 0.9)
        );

    color: white;
}


.hero h1 {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 25px;

    font-size: 58px;
    line-height: 1.2;

    overflow-wrap: break-word;
}


.hero h1 span {
    color: rgb(141, 225, 241);
}


.hero p {
    width: 100%;
    max-width: 850px;

    margin: 0 auto 30px;

    font-size: 19px;
    line-height: 1.7;

    overflow-wrap: break-word;
}


/* ======================================
   SEARCH BOX
====================================== */

.search {
    display: flex;

    align-items: stretch;
    justify-content: center;

    width: 100%;
    max-width: 650px;

    margin: 5px auto 25px;
}


.search input {
    flex: 1;
    min-width: 0;

    height: 52px;

    padding: 10px 16px;

    border: none;
    border-radius: 10px 0 0 10px;

    outline: none;

    font-size: 16px;
}


.search button {
    flex-shrink: 0;

    min-width: 110px;
    height: 52px;

    padding: 10px 20px;

    border: none;
    border-radius: 0 10px 10px 0;

    background-color: rgb(18, 10, 64);
    color: white;

    font-size: 16px;
    font-weight: bold;

    transition: 0.5s;
}


.search button:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
}


/* ======================================
   HERO BUTTONS
====================================== */

.buttons {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;
    max-width: 900px;
}


.buttons a {
    display: inline-block;
}


.buttons button {
    min-width: 140px;
    min-height: 48px;

    padding: 11px 18px;

    border: 2px solid white;
    border-radius: 10px;

    background-color: transparent;
    color: white;

    font-size: 16px;
    font-weight: bold;

    white-space: normal;

    transition: 0.5s;
}


.buttons button:hover {
    color: rgb(5, 5, 83);
    background-color: rgb(141, 181, 241);
    border-color: rgb(141, 181, 241);
}


/* ======================================
   PROTECT TEXT FROM MIXING
====================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
button,
input,
div {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

img,
video,
iframe {
    max-width: 100%;
}


/* ======================================
   TABLET RESPONSIVE DESIGN
====================================== */

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

    header {
        flex-wrap: wrap;
        justify-content: center;

        padding: 12px 20px;
    }

    header nav {
        width: 100%;

        margin-top: 12px;
        margin-left: 0;
    }

    .logo {
        font-size: 25px;
    }

    header nav ul {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .wyn {
        justify-content: center;
    }

    .all {
        width: 280px;
    }

    .continer {
        width: 60%;
    }
}


/* ======================================
   MOBILE RESPONSIVE DESIGN
====================================== */

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

    header {
        flex-direction: column;

        width: 100%;

        padding: 12px;
    }

    .uk img {
        width: 65px;
        height: 65px;
    }

    header nav {
        flex-direction: column;

        width: 100%;

        margin-top: 8px;
        margin-left: 0;
    }

    .logo {
        margin-bottom: 12px;

        font-size: 23px;
        text-align: center;
    }

    header nav ul {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;

        gap: 8px;
    }

    header nav ul li {
        width: 100%;
        min-width: 0;
    }

    header nav ul li a {
        width: 100%;

        padding: 10px 5px;

        font-size: 14px;
        text-align: center;
    }

    .hero {
        min-height: auto;

        padding: 45px 15px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .hero h1 br {
        display: none;
    }

    .desktop-break {
        display: none;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .search {
        flex-direction: column;

        width: 100%;
        max-width: 350px;
    }

    .search input {
        width: 100%;

        border-radius: 10px;
    }

    .search button {
        width: 100%;

        margin-top: 8px;

        border-radius: 10px;
    }

    .buttons {
        flex-direction: column;

        width: 100%;
    }

    .buttons a {
        width: 100%;
        max-width: 350px;
    }

    .buttons button {
        width: 100%;
    }

    .wyn {
        flex-direction: column;
        align-items: center;

        padding: 15px;
    }

    .all {
        width: 100%;
        max-width: 330px;
    }

    .sawirka {
        width: 100%;
    }

    .madax1 {
        position: relative;

        padding: 12px;
    }

    .navigation {
        flex-direction: column;

        width: 100%;

        padding: 12px;
    }

    .least {
        width: 100%;

        margin-right: 0;

        font-size: 17px;
        text-align: center;
    }

    .backround {
        width: 100%;
        height: auto;
    }

    .qoral,
    .qoral2,
    .last,
    .contact {
        width: 90%;
        max-width: 90%;

        margin-left: auto;
        margin-right: auto;
    }

    .qoral2 {
        font-size: 18px;
    }

    .numbers {
        flex-direction: column;
        align-items: center;
    }

    .num1 {
        width: 90%;
    }

    .form {
        width: 92%;
        height: auto;
    }

    .continer {
        width: 92%;
        min-width: 0;
        height: auto;
    }

    .h,
    .login {
        width: 90%;
    }

    .user {
        position: static;
    }

    .get {
        font-size: 36px;
    }

    .prag {
        font-size: 17px;
    }

    .T {
        font-size: 32px;
    }
}


/* ======================================
   VERY SMALL PHONE
====================================== */

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

    header nav ul {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 38px 12px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero p {
        font-size: 15px;
    }

    .logo {
        font-size: 21px;
    }

    .buttons button {
        font-size: 15px;
    }
}