* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.header {
    width: 100%;
    padding: 10px;
    background-color: rgb(0, 0, 68);
}

.rowrap {
    width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto;
}

.column2 {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    padding-top: 15px;
}

.column3 h2 {
    color: #878f99;
    font-size: 12px;
    font-weight: 1000;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    float: right;
    padding-top: 25px;
}


/* navigation bar */
.navbar {
    background-color: rgba(0, 0, 73, 0.86);
}

.nav-item {
    margin-left: 11rem;
    font-size: 18px;
    list-style: none;
}

.nav-item a {
    transition: 0.4s;
}

.nav-item a:hover {
    color: tomato;
}

.nav-link {
    text-decoration: none;
    color: aliceblue;
}


/* hero section */

.hero {
    width: 100%;
    height: 50vh;
    background-image: url(about.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.herorap {
    width: 100%;
    height: 50vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.animate-charcter {
    text-transform: uppercase;
    background-image: linear-gradient(-225deg,
            #aca3cc 0%,
            #44107a 29%,
            #ff1361 67%,
            #fff800 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    font-size: 50px;

    -webkit-text-stroke-color: #ffffff;
    -webkit-text-stroke-width: 0.8px;

    padding-top: 10rem;
    margin-left: 38rem;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}



/* contact us */
.middle {
    width: 100%;
}

.middlerap {
    width: 70%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 20px;
}

.contact h3 {
    font-size: 35px;
    color: tomato;
    text-transform: uppercase;
    margin-top: 1rem;
    border-left: 4px solid #e6322e;
    display: inline-block;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 5rem;
}

/* from */

.from1 {
    margin-top: 20px;
    /* padding: 20px; */
    /* width: 80%; */
    /* height: 75vh; */
    /* background-color: aliceblue; */
    /* border-radius: 30px; */
}


input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=number],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}


/* border animation */

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

.rainbow {
    position: relative;
    z-index: 0;
    width: 400px;
    border-radius: 10px;
    overflow: hidden;
    padding: 2rem;

    &::before {
        content: '';
        position: absolute;
        z-index: -2;
        left: -50%;
        top: -50%;
        width: 200%;
        height: 200%;
        background-color: #399953;
        background-repeat: no-repeat;
        background-size: 50% 50%, 50% 50%;
        background-position: 0 0, 100% 0, 100% 100%, 0 100%;
        /* background-image: linear-gradient(#399953, #399953), linear-gradient(#fbb300, #fbb300), linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5); */
        background-image: linear-gradient(#d53e33, #d53e33), linear-gradient(#377af5, #377af5);
        animation: rotate 4s linear infinite;
    }

    &::after {
        content: '';
        position: absolute;
        z-index: -1;
        left: 6px;
        top: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        background: white;
        border-radius: 5px;
        animation: opacityChange 3s infinite alternate;
    }
}

/* @keyframes opacityChange {
    50% {
        opacity: 1;
    }

    100% {
        opacity: .5;
    }
} */



.side {
    margin-top: 10rem;
    margin-left: 10rem;
}

.side h3 {
    font-size: 35px;
    color: tomato;
    text-transform: uppercase;
    margin-top: 1rem;
    border-left: 4px solid #e6322e;
    display: inline-block;
    padding-left: 0.5rem;
}


.info h4 {
    font-size: 18px;
    opacity: 0.7;
    margin-top: 2rem;
}

.info h5 {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    opacity: 0.6;
}

.info p {
    font-size: 15px;
    font-weight: 600;
}





/* footer */

.footer {
    width: 100%;
    height: 68vh;
    background-image: url(footer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 5rem;
}

.footerrap {
    width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 10px;
}

.col_1 {
    width: 80%;
}

.col_1 img {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.col_1 p {
    font-size: 18px;
    color: aliceblue;
}


.col_2 {
    margin-top: 5rem;
    width: 100%;
    margin-right: 10rem;
}

.col_2 h4 {
    font-size: 30px;
    color: aliceblue;
    font-weight: 600;
    padding-bottom: 30px;
}

.col_2 a p {
    text-decoration: none;
    color: aliceblue;
    font-size: 15px;
    transition: 0.3s;
}

.col_2 a p:hover {
    color: #e6322e;
    text-decoration: none;
}

.col_3 {
    margin-top: 5rem;
}

.col_3 h4 {
    font-size: 30px;
    color: aliceblue;
    font-weight: 600;
    padding-bottom: 30px;
}

.col_3 p {
    font-size: 18px;
    color: aliceblue;
}

.col_3 h5 {
    color: aliceblue;
    font-size: 15px;
}

#color {
    color: aliceblue;
    padding-right: 10px;
}

.footer h6 {
    width: 100%;
    padding: 10px;
    color: aliceblue;
    margin-top: 4rem;
    padding-left: 33rem;
    background-color: rgb(72, 72, 72);
}

#up {
    padding: 15px;
    font-size: 30px;
    background-color: #d53e33;
    border-radius: 30px;
    /* scroll-behavior: smooth; */
    transition: 0.3s;
}

#up:hover {
    background-color: rgb(119, 119, 119);
}

.side1 {
    float: right;
    margin-top: -8rem;
    padding-right: 2rem;
}